limkokhole / pinterest-downloader

Download all images/videos from Pinterest user/board/section.
MIT License
282 stars 47 forks source link

KeyError: 'video_list' and KeyError: 'resource_response' #5

Closed sonicdoo closed 2 years ago

sonicdoo commented 3 years ago

I got two errors when trying to download from a user who got alot boards with alot images and videos:

https://www.pinterest.de/logophore

running on win10 with python 3.9.40

first error comes on first found board:

[...] Getting all images in this board: (1) magic lantern show 2013 ... [ 3191 / ? ] [➕] Found estimated 3203 images Traceback (most recent call last): File "C:\Users\jubdo\Downloads\pinterest-download\pinterest-downloader-master\pinterest-downloader.py", line 660, in download_img v_d = image['videos']['video_list'] KeyError: 'video_list' Abort.

and

second:

[...] Getting all images in this board: A Dead Shark Isn't Art ... [ 0 / ? ]Traceback (most recent call last): File "C:\Users\jubdo\Downloads\pinterest-download\pinterest-downloader-master\pinterest-downloader.py", line 1149, in main fetch_imgs( board, slash_path[-1], board_name, None, args.board_timestamp, args.log_timestamp File "C:\Users\jubdo\Downloads\pinterest-download\pinterest-downloader-master\pinterest-downloader.py", line 943, in fetch_imgs images.extend(data['resource_response']['data']) KeyError: 'resource_response' Abort.

When downloading the boards directly it works...

any ideas why?

Regards

limkokhole commented 2 years ago

Sorry for long wait, new layout fixed.