tiktok-scraper
tiktok-scraper copied to clipboard
On Windows: Trailing '\' in --filepath leads to scraper fail silently
Describe the bug When using the --filepath option having a trailing '\' in the path makes the scraping fail without an error message. It just tells me it starts scraping but then nothing gets downloaded and there are no progress bars.
To Reproduce Steps to reproduce the behavior:
- Windows 10 version 2004 (using PowerShell as the command console!)
- NodeJs Version: v14.4.0
- Scraper Version: 1.2.5
- CLI
- Used method: user
- Used options: --filepath '<somepath>\' --download --hd --asyncDownload --filetype json --noWaterMark
- No proxy
- public profile
Same here !
anyone know how to resolve this?
There seems to be lots of trailing whitespace issues with arguments, they should be trimmed, same for usernames