Open ValentinDORMANN opened 5 months ago
Same problem, a fix for that would be nice.
Where are you getting your cookies file from?
Where are you getting your cookies file from?
I use EditThisCookies extension on chrome.
Login to your pinterest page where you have your boards.
Open debugger console (Press F12)
You should have the following tabs: Elements, Console, Sources, Network, ... EditThisCookies.
On EditThisCookie tab you have Name=_pinterest_sess; Copy value
Paste your token into a file called cookies.txt in the same directory where the pinterest-downloader is.
Call the script and add the -co cookies.txt arguments to download your secret galleries.
This file contains
_pinterest_sess="put_your_token_here"; expires=""; Path="/"; HttpOnly; SameSite=None; Secure; Domain=".pinterest.com";
My pinterest board has the following structure:
All my boards are secret board so i must add
--cookies cookies.txt
argument. When I executepinterest-downloader.py <user_name>
I can recursively download pins children of user_name (pin_0.1), pins of boards (pin_1.1, pin_2.1) but I cannot download pins from sections (pin_11.1, pin_12.1, pin_21.1). Executingpinterest-downloader.py <user_name>/<board_1>
orpinterest-downloader.py <user_name>/<board_1>/<section_11>
seems not function with errorI use python 3.12.4 on Windows 10 x64.