Easy spacing fixes, trailing stuff
Remove useless trailing \ Remove trailing spaces Add missing empty lines autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 . Diff quickly checked.
This commit is contained in:
parent
c21d1f7925
commit
7094931c92
231 changed files with 474 additions and 67 deletions
|
|
@ -65,6 +65,7 @@ class EHentaiBackend(BaseBackend, ICapGallery, ICapCollection):
|
|||
|
||||
ID_REGEXP = r'/?\d+/[\dabcdef]+/?'
|
||||
URL_REGEXP = r'.+/g/(%s)' % ID_REGEXP
|
||||
|
||||
def get_gallery(self, _id):
|
||||
match = re.match(r'^%s$' % self.URL_REGEXP, _id)
|
||||
if match:
|
||||
|
|
|
|||
|
|
@ -21,10 +21,12 @@ from weboob.capabilities.gallery import BaseGallery, BaseImage
|
|||
|
||||
__all_ = ['EHentaiGallery', 'EHentaiImage']
|
||||
|
||||
|
||||
class EHentaiGallery(BaseGallery):
|
||||
def __init__(self, *args, **kwargs):
|
||||
BaseGallery.__init__(self, *args, **kwargs)
|
||||
|
||||
|
||||
class EHentaiImage(BaseImage):
|
||||
def __init__(self, *args, **kwargs):
|
||||
BaseImage.__init__(self, *args, **kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue