remove unused import
This commit is contained in:
parent
519d7bd38c
commit
40f474881e
1 changed files with 2 additions and 7 deletions
|
|
@ -19,11 +19,6 @@
|
|||
|
||||
from __future__ import with_statement
|
||||
|
||||
try:
|
||||
import simplejson as json
|
||||
except ImportError:
|
||||
import json
|
||||
|
||||
import re
|
||||
|
||||
from weboob.capabilities.gallery import ICapGallery, BaseGallery, BaseImage
|
||||
|
|
@ -76,7 +71,7 @@ class MangafoxBackend(BaseBackend, ICapGallery):
|
|||
match = re.match(r'(?:(?:.+mangafox.com/manga)?/)?([^/]+/[^/]+(?:/[^/]+)?)', _id)
|
||||
if match is None:
|
||||
return None
|
||||
|
||||
|
||||
_id = match.group(1)
|
||||
|
||||
gallery = BaseGallery(_id, url=('http://www.mangafox.com/manga/%s' % _id))
|
||||
|
|
@ -84,7 +79,7 @@ class MangafoxBackend(BaseBackend, ICapGallery):
|
|||
return gallery
|
||||
|
||||
def fill_gallery(self, gallery, fields):
|
||||
gallery.title = gallery.id
|
||||
gallery.title = gallery.id
|
||||
|
||||
def fill_image(self, image, fields):
|
||||
with self.browser:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue