class TiktokArchiver(Archiver):
name = "tiktok"
def download(self, url, check_if_exists=False):
if 'tiktok.com' not in url:
return False
status = 'success'
try:
# really slow for some videos here 25minutes plus or stalls
info = tiktok_downloader.info_post(url)
key = self.get_key(f'{info.id}.mp4')
Bug that I can't reliably reproduce but sometimes stalls the whole archiver for many hours until restarting the archiver.
Given this URL: https://www.tiktok.com/@jusscomfyyy/video/7090483393586089222
The tiktok downloader stalls.
https://github.com/krypton-byte/tiktok-downloader
The test app https://tkdown.herokuapp.com/ correctly throws an invalid url.