Closed frencymontana closed 2 years ago
Bot stuck on "Downloading file to server"
Same
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'
Bot stuck on "Downloading file to server"