Speed up update without re-scrape all

This commit is contained in:
limkokhole
2022-01-19 09:14:25 +08:00
parent a46ff910aa
commit 7aab1a455e
2 changed files with 211 additions and 50 deletions

View File

@@ -56,8 +56,13 @@ Download all images/videos from Pinterest user/board/section.
Title/Description/Link/Metadata/Created_at will not
write to log.
-f, --force Force re-download even if image already exist.
Normally used with -rs
-rs, --re-scrape Default is only fetch new images since latest Pin ID
image to speed up update process. This option disable
this behavior and re-scrape all, use it when you feel
missing images somewhere.
-es, --exclude-section
Exclude sections if download from username or board.
Exclude sections if download from username or board.
-ps HTTPS_PROXY, --https-proxy HTTPS_PROXY
Set proxy for https.
-p HTTP_PROXY, --http-proxy HTTP_PROXY
@@ -86,8 +91,11 @@ Download all images/videos from Pinterest user/board/section.
### Example Output:
xb@dnxb:~/Downloads/pinterest/pinterest-downloader$ python3 pinterest-downloader.py -d comp https://www.pinterest.com/antonellomiglio/computer/
[i] Job is download single board by username/boardname: antonellomiglio/computer
[...] Getting all images in this board: computer ... [ 173 / ? ] [] Found estimated 195 images
[...] Getting all images in this board: computer ... [ 74 / ? ]
[W] This images list is not sorted correctly, fallback to -rs for this list.
[...] Getting all images in this board: computer ... [ 173 / ? ] [] Found 195 image/videos
Download into folder: comp/antonellomiglio/Computer
[✔] Downloaded: |##################################################| 100.0% Complete
[i] Time Spent: 0:00:06
xb@dnxb:~/Downloads/pinterest/pinterest-downloader$