Added manga-py source
This commit is contained in:
15
manga-py-stable_1.x/manga_py/providers/raw_senmanga_com.py
Normal file
15
manga-py-stable_1.x/manga_py/providers/raw_senmanga_com.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from .senmanga_com import SenMangaCom
|
||||
|
||||
|
||||
class RawSenmangaCom(SenMangaCom):
|
||||
|
||||
def get_archive_name(self) -> str:
|
||||
return self.get_chapter_index()
|
||||
|
||||
def get_chapter_index(self):
|
||||
ch = self.chapter
|
||||
re = r'\.com/[^/]+/([^/]+)'
|
||||
return self.re.search(re, ch)
|
||||
|
||||
|
||||
main = RawSenmangaCom
|
||||
Reference in New Issue
Block a user