mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-22 07:08:18 +00:00
修复 pixiv 图片缺少的问题。
This commit is contained in:
parent
4ec5cd7f7f
commit
cc36f04c15
2
vip.py
2
vip.py
@ -42,7 +42,7 @@ async def pixiv(context):
|
|||||||
pixiv_albums = pixiv_list[1].split('|||')
|
pixiv_albums = pixiv_list[1].split('|||')
|
||||||
pixiv_album = []
|
pixiv_album = []
|
||||||
await context.edit("下载图片中 . . .")
|
await context.edit("下载图片中 . . .")
|
||||||
for i in range(0, len(pixiv_albums) - 1):
|
for i in range(0, len(pixiv_albums)):
|
||||||
r = get(pixiv_albums[i])
|
r = get(pixiv_albums[i])
|
||||||
with open("pixiv." + str(i) + ".jpg", "wb") as code:
|
with open("pixiv." + str(i) + ".jpg", "wb") as code:
|
||||||
code.write(r.content)
|
code.write(r.content)
|
||||||
|
Loading…
Reference in New Issue
Block a user