From 8fcf69578366e0322705a9320f9d0ba1d7d84dc1 Mon Sep 17 00:00:00 2001 From: Noe Rubinstein Date: Sun, 4 Mar 2012 01:51:35 +0100 Subject: [PATCH] fix mangafox, chiennes --- modules/mangafox/backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/mangafox/backend.py b/modules/mangafox/backend.py index 73f7a8bd..410b6830 100644 --- a/modules/mangafox/backend.py +++ b/modules/mangafox/backend.py @@ -29,6 +29,6 @@ class MangafoxBackend(GenericComicReaderBackend): page_list_xpath="(//select[@onchange='change_page(this)'])[1]/option[text()!='Comments']/@value", page_to_location="%s.html") ID_REGEXP = r'[^/]+/[^/]+(?:/[^/]+)?' - URL_REGEXP = r'.+mangafox.com/manga/(%s).+' % ID_REGEXP + URL_REGEXP = r'.+mangafox.com/manga/(%s).*' % ID_REGEXP ID_TO_URL = 'http://www.mangafox.com/manga/%s' - PAGES = { r'http://.+\.mangafox.\w+/manga/[^/]+/[^/]+/([^/]+/)?.+\.html': DisplayPage } + PAGES = { r'http://.+\.mangafox.\w+/manga/[^/]+/[^/]+/([^/]+/)?(.+\.html)?': DisplayPage }