autopep8 with 120 chars line length on my modules
This commit is contained in:
parent
6a7bc0924d
commit
5d923bc73b
39 changed files with 434 additions and 426 deletions
|
|
@ -34,12 +34,13 @@ class AttilasubBrowser(BaseBrowser):
|
|||
PAGES = {
|
||||
'http://search.freefind.com/find.html.*': SearchPage,
|
||||
'http://davidbillemont3.free.fr/.*.htm': SubtitlesPage,
|
||||
}
|
||||
}
|
||||
|
||||
def iter_subtitles(self, language, pattern):
|
||||
self.location('http://search.freefind.com/find.html?id=81131980&_charset_=&bcd=%%F7&scs=1&pageid=r&query=%s&mode=Find%%20pages%%20matching%%20ALL%%20words' % pattern.encode('utf-8'))
|
||||
self.location('http://search.freefind.com/find.html?id=81131980&_charset_=&bcd=%%F7&scs=1&pageid=r&query=%s&mode=Find%%20pages%%20matching%%20ALL%%20words' %
|
||||
pattern.encode('utf-8'))
|
||||
assert self.is_on_page(SearchPage)
|
||||
return self.page.iter_subtitles(language,pattern)
|
||||
return self.page.iter_subtitles(language, pattern)
|
||||
|
||||
def get_subtitle(self, id):
|
||||
url_end = id.split('|')[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue