[hbrowse] fix syntax for Python3.3 and 3.4
This commit is contained in:
@@ -54,10 +54,9 @@ class HbrowseMangaExtractor(MangaExtractor, HbrowseExtractor):
|
||||
if not url:
|
||||
return results
|
||||
title, pos = text.extract(page, '>View ', '<', pos)
|
||||
results.append((url, {
|
||||
"chapter": int(url.rpartition("/")[2][1:]),
|
||||
"title": title, **data
|
||||
}))
|
||||
data["chapter"] = int(url.rpartition("/")[2][1:])
|
||||
data["title"] = title
|
||||
results.append((url, data.copy()))
|
||||
|
||||
|
||||
class HbrowseChapterExtractor(HbrowseExtractor):
|
||||
|
||||
Reference in New Issue
Block a user