"Cannot be displayed" image
Asidert opened this issue · 0 comments
Asidert commented
Logged in successfuly (via tokens), but one of my accounts start accepting this image instead of a pics...
My method for downloading by illust obj:
def download(illust):
print("Downloading "+str(illust.id)+"...")
names=[]
srcs=[]
if "original_image_url" in illust.meta_single_page:
srcs.append(illust.meta_single_page.original_image_url)
else:
for url in illust.meta_pages:
srcs.append(url.image_urls.original)
if checkOnePic(illust):
break
for src in srcs:
name=os.path.basename(src)
names.append(name)
pixiv.download(src,name=name)
return names
Upd. Everything worked...