remove "http://%s%%s" % DOMAIN workaround and shorten
This commit is contained in:
parent
f4b9d08ff7
commit
2993efcf55
6 changed files with 10 additions and 11 deletions
|
|
@ -27,8 +27,7 @@ class EatmangaBackend(GenericComicReaderBackend):
|
|||
DOMAIN = 'www.eatmanga.com'
|
||||
BROWSER_PARAMS = dict(
|
||||
img_src_xpath="//img[@class='eatmanga_bigimage']/@src",
|
||||
page_list_xpath="(//select[@id='pages'])[1]/option/@value",
|
||||
page_to_location="http://%s%%s" % DOMAIN)
|
||||
page_list_xpath="(//select[@id='pages'])[1]/option/@value")
|
||||
ID_REGEXP = r'[^/]+/[^/]+'
|
||||
URL_REGEXP = r'.+eatmanga.com/(?:index.php/)?Manga-Scan/(%s).+' % ID_REGEXP
|
||||
ID_TO_URL = 'http://www.eatmanga.com/index.php/Manga-Scan/%s'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue