Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 1.45 KB

README.md

File metadata and controls

22 lines (13 loc) · 1.45 KB

tiktokget hasn't been working for some time now, as tiktok has updated their web page to block selenium with captchas and other such nonsense. Thus, I'm reverting to a basic shellscript, with simpler functionality.

tiktokget

A tiktok downloader bash script for Linux (and probably all other POSIX-compatible systems). Downloads tiktok videos using yt-dlp

Prerequisites

You'll need:

I have replaced my python script with a simpler bash script. This script can be invoked as follows:

  1. place tiktok videos you want to download in a plain text file, with 1 url per line
  2. invoke tiktokget: ./tiktokget thefile, where thefile is the hypothetical name of the text file you created.
  3. alternatively, supply tiktokget directly with a url: ./tiktokget tiktokurl

bear in mind, since this is a bash script, you have to be mindful of spaces. Don't put spaces in the filename, or at least quote the filename if you do that.

For getting the url of a tiktok video, I would recommend installing kdeconnect on your phone and your computer, and linking them. Then you can click "share", and click "copy link", and then paste in your computer, easy peasy.