Closed vadtec closed 1 year ago
You can just symlink the same folder, e.g. to make personB(your daughter) reuse your(personA) folder :
Windows cmd (Delete/move the desired broad/section folder in personB first. Right-click on cmd and run as administrator):
board:
mklink /D "%USERPROFILE%\Downloads\personB\username\board_name" "%USERPROFILE%\Downloads\personA\username\board_name"
section:
mklink /D "%USERPROFILE%\Downloads\personB\username\board_name\section_name" "%USERPROFILE%\Downloads\personA\username\board_name\section_name"
Powershell:
board:
New-Item -ItemType SymbolicLink -Path "$env:USERPROFILE\Downloads\personB\username\board_name" -Target "$env:USERPROFILE\Downloads\personA\username\board_name"
section:
New-Item -ItemType SymbolicLink -Path "$env:USERPROFILE\Downloads\personB\username\board_name\section_name" -Target "$env:USERPROFILE\Downloads\personA\username\board_name\section_name"
Linux:
board:
ln -s ~/Downloads/pin/personA/username/board_name/section_name ~/Downloads/pin/personB/username/board_name/section_name
section:
ln -s ~/Downloads/pin/personA/username/board_name ~/Downloads/pin/personB/username/board_name
I try to avoid making the script more complex with added unnecessary (or having workarounds) functionality, as it might become harder to maintain in the future. Thanks.
Excluding a particular board of a user would be handy. For example, my daughter and I share a board where we pin common interests. There is no need to download the same board twice. Adding an option to skip a particular board (and all its sections obviously) would eliminate this issue.
Maybe something like -i "board-or-section-name-here" with corresponding --ignore parameter.
So:
python3 pinterest-downloader.py -d ~/images -i ignore-shared-section -rs user-here