PyComicPackRouMan/main.py
2023-04-01 13:23:34 +08:00

20 lines
659 B
Python

import os,skip
from utils.comic.PathStr import pathStr
from entity.BaoZi import comicEntity as baoziEntity
from entity.RouMan import comicEntity as roumanEntity
def rouman():
pathStr.setComicMainAndPath(pathStr.comic_rm)
skip.roumanskip()
for x in range(0,52):
roumanEntity.downladsComcis("https://rm01.xyz/books?&page="+str(x))
def baozi():
pathStr.setComicMainAndPath(pathStr.comic_bz)
baoziEntity.oneComic("https://baozimh.org/manga/biaoren-xinmanhua/")
if __name__ == '__main__':
rouman()
# baozi()
# os.environ["http_proxy"] = "http://127.0.0.1:7890"
# os.environ["https_proxy"] = "http://127.0.0.1:7890"