mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 00:33:58 +03:00
[755] skip stamp images
This commit is contained in:
parent
92a6efcbfe
commit
3931c4be03
@ -15,6 +15,7 @@ def nanagogo_download(url, output_dir='.', merge=True, info_only=False, **kwargs
|
||||
for i in info['data']['posts']['post']['body']:
|
||||
if 'image' in i:
|
||||
image_url = i['image']
|
||||
if image_url[:2] == '//': continue # skip stamp images
|
||||
_, ext, size = url_info(image_url)
|
||||
items.append({'title': title,
|
||||
'url': image_url,
|
||||
|
Loading…
Reference in New Issue
Block a user