pikami / tiktok-dl

A simple tiktok video downloader written in go
MIT License
194 stars 48 forks source link

Using -batch-file Doesn't work. #27

Open liner601 opened 4 years ago

liner601 commented 4 years ago

Title.

Replicate;

  1. cd Directory
  2. tiktok-dl [-archive]... -batch-file users.txt

Output: Preloading... Retrieving items... Error : "ERR: Couldn't find this account" Failed while scraping item: users.txt

pikami commented 4 years ago

You are passing parameters wrong. Here's the right way to run your case tiktok-dl -archive -batch-file users.txt

liner601 commented 4 years ago

You are passing parameters wrong. Here's the right way to run your case tiktok-dl -archive -batch-file users.txt

Issue persists, Directory> tiktok-dl -archive -batch-file users.txt Preloading... Retrieving items... Error : "ERR: Couldn't find this account" Failed while scraping item: users.txt

Edit: My theory is that it thinks users.txt is a user and attempts to download it as such, heres some proof to support this.

directory>tiktok-dl -archive -batch-file 34i5y4i35643uy Preloading... Retrieving items... Error : "ERR: Couldn't find this account" Failed while scraping item: 34i5y4i35643uy

AlphaSlayer1964 commented 4 years ago

Is your users.txt file in the same directory as tiktok-dl? Try giving it the entire path name. C:\folder\users.txt Also how do you have your users listed in the text file? mine looks like: @name1 @name2 @name3 etc

liner601 commented 4 years ago

Is your users.txt file in the same directory as tiktok-dl? Try giving it the entire path name. C:\folder\users.txt Also how do you have your users listed in the text file? mine looks like: @name1 @name2 @name3 etc

Putting @'s before the usernames seems to have fixed it but I cant be sure, it doesn't go past the preloading stage anymore.

Edit: It seems putting @'s did not work, I have tried giving it the entire file path and having it in the same folder as tiktok-dl, those are also how the usernames are listed.

AlphaSlayer1964 commented 4 years ago

Does downloading a single account without the batch file work?

liner601 commented 4 years ago

Does downloading a single account without the batch file work?

Yep.

AlphaSlayer1964 commented 4 years ago

Strange. I am currently unable to download anything right now myself with batch file or just a username. Hopefully the dev will have a response.