fix
This commit is contained in:
parent
ec89cb7a01
commit
e9efeb99c6
@ -30,9 +30,12 @@ class comicEntity:
|
||||
updatedAt = book.get("updatedAt")
|
||||
comicHref = baseUrl+"/books/"+book_id
|
||||
random_int = random.uniform(5,20)
|
||||
print(f"{random_int}秒后开始下载 漫画:{book_name}")
|
||||
time.sleep(random_int)
|
||||
cls.oneComic(comicHref, random.uniform(0,3))
|
||||
comicInfo.setComicName(book_name)
|
||||
dirConfComic = comicInfo.getDirConfComic()
|
||||
if not os.path.exists(dirConfComic):
|
||||
print(f"{random_int}秒后开始下载 漫画:{book_name}")
|
||||
time.sleep(random_int)
|
||||
cls.oneComic(comicHref, random.uniform(0,3))
|
||||
|
||||
print(books)
|
||||
#for comicHref in comicsHref:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user