Added manga-py source

This commit is contained in:
2019-12-14 22:33:14 -05:00
parent 9a4dd4b09b
commit 45067caea6
420 changed files with 18054 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
from .komikid_com import KomikIdCom
class NozomiNoFansubCom(KomikIdCom):
_content_str = '{}/public/manga/{}'
def get_chapter_index(self) -> str:
re = self.re.compile(r'/manga/[^/]+/.+?(\d+(?:[^\d/]\d+)?)')
split = self.re.compile(r'[^\d+]')
return '-'.join(split.split(re.search(self.chapter).group(1)))
main = NozomiNoFansubCom