tiktok-scraper icon indicating copy to clipboard operation
tiktok-scraper copied to clipboard

On Windows: Trailing '\' in --filepath leads to scraper fail silently

Open Gorrrg opened this issue 4 years ago • 3 comments

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

Gorrrg avatar Jun 18 '20 18:06 Gorrrg

Same here !

ethanke avatar Oct 20 '20 12:10 ethanke

anyone know how to resolve this?

SilkTofu avatar Aug 01 '21 20:08 SilkTofu

There seems to be lots of trailing whitespace issues with arguments, they should be trimmed, same for usernames

tablatronix avatar Sep 12 '21 15:09 tablatronix