TerminalWarlord / TikTok-Downloader-Bot

A Telegram bot to download TikTok videos without any watermark.
https://t.me/JayBeeTikTokBot
MIT License
375 stars 388 forks source link

DOWNLOADING FILE TO SERVER #8

Closed frencymontana closed 2 years ago

frencymontana commented 2 years ago

Bot stuck on "Downloading file to server"

vheske commented 2 years ago

Bot stuck on "Downloading file to server"

Same

TerminalWarlord commented 2 years ago

Bot stuck on "Downloading file to server"

go to RapidAPI and create an account. Use add your credentials on line 71 and you're good to go.

denzardten commented 2 years ago

nothing changed

2022-07-16T17:24:29.876680+00:00 app[worker.1]: Traceback (most recent call last): 2022-07-16T17:24:29.876682+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pyrogram/dispatcher.py", line 210, in handler_worker 2022-07-16T17:24:29.876682+00:00 app[worker.1]: await self.loop.run_in_executor( 2022-07-16T17:24:29.876687+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/concurrent/futures/thread.py", line 57, in run 2022-07-16T17:24:29.876687+00:00 app[worker.1]: result = self.fn(*self.args, **self.kwargs) 2022-07-16T17:24:29.876688+00:00 app[worker.1]: File "main.py", line 82, in tiktok_dl 2022-07-16T17:24:29.876688+00:00 app[worker.1]: size = int(requests.head(r).headers['Content-length']) 2022-07-16T17:24:29.876689+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/requests/structures.py", line 52, in getitem 2022-07-16T17:24:29.876689+00:00 app[worker.1]: return self._store[key.lower()][1] 2022-07-16T17:24:29.876689+00:00 app[worker.1]: KeyError: 'content-length'