mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.64k stars 950 forks source link

[pinterest] image is being downloaded instead of the video #6188

Open an1220 opened 1 month ago

an1220 commented 1 month ago

Not all of them but some of the pinterest videos are not being downloaded. Although "--list-keywords" gives video url, image is being downloaded instead.

for example:

gallery-dl -v -c "./data/config.json" https://www.pinterest.com/pin/63824519713049795/
[gallery-dl][debug] Version 1.27.4
[gallery-dl][debug] Python 3.12.3 - Windows-10-10.0.19045-SP0
[gallery-dl][debug] requests 2.32.3 - urllib3 2.2.1
[gallery-dl][debug] Configuration Files ['./data/config.json']
[gallery-dl][debug] Starting DownloadJob for 'https://www.pinterest.com/pin/63824519713049795/'
[pinterest][debug] Using PinterestPinExtractor for 'https://www.pinterest.com/pin/63824519713049795/'
[pinterest][debug] Loading cookies from './data/cookies-pin.txt'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): www.pinterest.com:443
[urllib3.connectionpool][debug] https://www.pinterest.com:443 "GET /resource/PinResource/get/?data=%7B%22options%22%3A+%7B%22id%22%3A+%2263824519713049795%22%2C+%22field_set_key%22%3A+%22detailed%22%7D%7D&source_url= HTTP/1.1" 200 5612
[pinterest][debug] Using download archive './data/db-pin.sqlite3'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): i.pinimg.com:443
[urllib3.connectionpool][debug] https://i.pinimg.com:443 "GET /originals/68/c6/02/68c602ae4acbd93583ba139a9658fac5.png HTTP/1.1" 200 950024
.\downloads\Pinterest\63824519713049795.png
jdmaltz commented 1 week ago

I also have this issue. if it is an indivual link you can use yt-dlp to get it but if it is an entire pinterest board I don't know how to get around it.

here is an example URL https://www.pinterest.com/pin/701154235769231213/ it is part of the gallery https://www.pinterest.com/jeansandheels/. If the above link is run in gallery-dl it will download as an image and not a video. yt-dlp will download it as a video

ForxBase commented 1 week ago

I also have this issue. if it is an indivual link you can use yt-dlp to get it but if it is an entire pinterest board I don't know how to get around it.

here is an example URL https://www.pinterest.com/pin/701154235769231213/ it is part of the gallery https://www.pinterest.com/jeansandheels/. If the above link is run in gallery-dl it will download as an image and not a video. yt-dlp will download it as a video

for me even many videos don't download like pinterest.com/pin/973551644440813234/