fix
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ class imageUtils:
|
||||
@classmethod
|
||||
def splitimage(cls,src,rownum,colnum,dstpath):
|
||||
img=Image.open(src)
|
||||
w,h=img.size
|
||||
w,h=img.size
|
||||
if rownum<= h and colnum<=w:
|
||||
s=os.path.split(src)
|
||||
if dstpath=='':
|
||||
|
||||
@@ -25,7 +25,7 @@ class comicEntity:
|
||||
book_id = book.get("id")
|
||||
book_name = book.get("name")
|
||||
comicHref = baseUrl+"/books/"+book_id
|
||||
random_int = random.uniform(8,30)
|
||||
random_int = random.uniform(5,20)
|
||||
wait = print(f"{random_int}秒后开始下载 漫画:{book_name}")
|
||||
time.sleep(random_int)
|
||||
cls.oneComic(comicHref, random.uniform(0,3))
|
||||
|
||||
Reference in New Issue
Block a user