tiktok-scraper
tiktok-scraper copied to clipboard
History is not reset
Describe the bug I want to be able to run the history remove command and make sure all previous history entries are removed so when I make a new crawl it will redo previously done videos.
If fields below will be empty then issue will be Ignored and Closed
To Reproduce Steps to reproduce the behavior:
- macOs Big Sur v11.6
- NodeJs Version: v16.8.0
- Scraper Version: 1.4.36
- CLI or Module: CLI
- Used method: from-file
- Used options -d --number --hd --filepath --filetype json --noWaterMark --session --store --historypath
- Do you run the scraper through Proxy, VPN, VPS? Proxy and VPN
- If scraping from a profile. Did you checked if profile is Public? Scraper won't work with Private profiles! No profile
- Preferably provide URL to the profile,hashtag,video and etc page "#oranges"
Run the following command 1:
tiktok-scraper from-file "file" 10 \
-d \
--number 10 \
--hd \
--filepath "output" \
--filetype json \
--noWaterMark \
--session "$session" \
--store \
--historypath "history"
--timeout 3000
This scrapes 10 results and saves them.
Then I run command 2:
tiktok-scraper history -r all --historypath history
Then I run command 1 again and I expect to see the results again but I do not.
Screenshots If applicable, add screenshots to help explain your problem.