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,15 @@
from .gomanga_co import GoMangaCo
class ReadPowerMangaOrg(GoMangaCo):
_name_re = '[^/]/[^/]+/([^/]+)'
_content_str = '{}/series/{}/'
def get_chapter_index(self) -> str:
url = self.chapter
index_re = r'/rea\w+/[^/]+/(?:[^/]+/)?(\d+/\d+(?:/\d+)?)'
group = self.re.search(index_re, url).group(1)
return group.replace('/', '-')
main = ReadPowerMangaOrg