This commit is contained in:
caiwx86 2022-12-09 12:32:40 +08:00
parent 82bbef1f9b
commit 50b424615b

12
main.py
View File

@ -1,10 +1,16 @@
from utils.entity.RouMan import comicEntity
def comics():
for x in range(0,20):
comicEntity.downladsComcis("https://rm01.xyz/books?&page="+str(x))
if __name__ == '__main__':
# os.environ["http_proxy"] = "http://127.0.0.1:7890"
# os.environ["https_proxy"] = "http://127.0.0.1:7890"
# url = "https://rm01.xyz/books/3700b70b-c5a9-4328-9ae3-cffda6a77339/15"
# comicEntity.comicChapter(url,scramble=True)
# comicEntity.oneComic("https://rm01.xyz/books/c94f80c1-a673-4c74-bb5e-ad5ac7dd766b")
for x in range(0,20):
comicEntity.downladsComcis("https://rm01.xyz/books?&page="+str(x))
try:
comics()
except:
comics()