Added manga-py source
This commit is contained in:
17
manga-py-stable_1.x/manga_py/providers/hentaihand_com.py
Normal file
17
manga-py-stable_1.x/manga_py/providers/hentaihand_com.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from .hentaifox_com import HentaiFoxCom
|
||||
|
||||
|
||||
class HentaiHandCom(HentaiFoxCom):
|
||||
_idx_re = r'/comic/(\d+)'
|
||||
_url_str = '{}/comic/{}/'
|
||||
_name_selector = '#info h1'
|
||||
_archive_prefix = 'HentaiHand_'
|
||||
|
||||
def get_files(self):
|
||||
parser = self.document_fromstring(self.content)
|
||||
images = self._images_helper(parser, 'a.gallerythumb > img')
|
||||
re = self.re.compile(r'(.+/images/)(\d+)')
|
||||
return ['{}full/{}.jpg'.format(*re.search(i).groups()) for i in images]
|
||||
|
||||
|
||||
main = HentaiHandCom
|
||||
Reference in New Issue
Block a user