We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daa36ec commit 128de8cCopy full SHA for 128de8c
1 file changed
atwiki/core.py
@@ -82,8 +82,8 @@ def get_source(self, page_id, generation=0):
82
raise IndexError('page {0}: generation {1} out of range'.format(page_id, generation))
83
return pre.text.replace('\r', '')
84
85
- def search(self, keyword, is_and=True):
86
- soup = self._request(self._uri.search(keyword, is_and))
+ def search(self, keyword, is_and=True, wiki_syntax=False, complete=True):
+ soup = self._request(self._uri.search(keyword, is_and, wiki_syntax, complete))
87
lis = soup.find('div', id='wikibody').findAll('li')[:-1] # drop last item (link to http://atwiki.jp/wiki/keyword)
88
for li in lis:
89
a = li.find('a')
0 commit comments