From 6b9580ce597ec5ee2a0a460b59a8d1574cb4c8b6 Mon Sep 17 00:00:00 2001 From: limkokhole Date: Fri, 21 Jan 2022 03:19:27 +0800 Subject: [PATCH] Note: video+thumbnails 2 same id files --- pinterest-downloader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pinterest-downloader.py b/pinterest-downloader.py index f96f724..5597fec 100755 --- a/pinterest-downloader.py +++ b/pinterest-downloader.py @@ -1150,6 +1150,8 @@ Please ensure your username/boardname/[section] or link has media item.\n') ) if not arg_rescrape and sorted_api and (latest_pin != '0'): img_prev = 0 on_hold_break = False + # Video + thumbnails has 2 same id files with diff extension + #, but API only return single item, so no nid handle equal flow for img_round_i, img in enumerate(imgs_round): #print('Check: ' + repr(img['id'])) if (('videos' in img) and img['videos']) or 'images' in img: