mirror of
https://github.com/LibraHp/GetQzonehistory.git
synced 2024-12-27 06:29:55 +00:00
feat: 修复视频图片没获取到的问题
This commit is contained in:
parent
17c1be4d09
commit
e4baa5bba4
@ -81,6 +81,10 @@ def get_visible_moments_list():
|
||||
if 'pic' in item:
|
||||
for index, picture in enumerate(item['pic']):
|
||||
pictures += picture['url1'] + ","
|
||||
if 'video' in item:
|
||||
for index, picture in enumerate(item['video']):
|
||||
pictures += picture['url1'] + ","
|
||||
|
||||
# 去除最后一个逗号
|
||||
pictures = pictures[:-1] if pictures != "" else pictures
|
||||
comments = []
|
||||
|
Loading…
Reference in New Issue
Block a user