You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am by no means an expert at this but I am trying to download certain bookmarked videos and am getting the below:
Error processing video https://www.tiktokv.com/share/video/7446468536303619371/: URL format not supported. Below is an example of a supported url. https://www.tiktok.com/@therock/video/6829267836783971589
0%| | 0/1962 [02:00<?, ?it/s]
Traceback (most recent call last):
File "/home/user/tiktok-save/./save.py", line 75, in get_videos
video = api.video(url=videoInfo["Link"])
File "/home/user/.local/lib/python3.10/site-packages/TikTokApi/api/video.py", line 65, in init
self.id = extract_video_id_from_url(
File "/home/user/.local/lib/python3.10/site-packages/TikTokApi/helpers.py", line 14, in extract_video_id_from_url
raise TypeError(
TypeError: URL format not supported. Below is an example of a supported url. https://www.tiktok.com/@therock/video/6829267836783971589
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/tiktok-save/./save.py", line 153, in
asyncio.run(get_videos())
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/user/tiktok-save/./save.py", line 105, in get_videos
failures[tiktok_id] = {
UnboundLocalError: local variable 'tiktok_id' referenced before assignment
This seems to happen regardless of what variables I put in. Any help would be greatly appreciated.
Thank you.
The text was updated successfully, but these errors were encountered:
Hi, I am by no means an expert at this but I am trying to download certain bookmarked videos and am getting the below:
Error processing video https://www.tiktokv.com/share/video/7446468536303619371/: URL format not supported. Below is an example of a supported url.
https://www.tiktok.com/@therock/video/6829267836783971589
0%| | 0/1962 [02:00<?, ?it/s]
Traceback (most recent call last):
File "/home/user/tiktok-save/./save.py", line 75, in get_videos
video = api.video(url=videoInfo["Link"])
File "/home/user/.local/lib/python3.10/site-packages/TikTokApi/api/video.py", line 65, in init
self.id = extract_video_id_from_url(
File "/home/user/.local/lib/python3.10/site-packages/TikTokApi/helpers.py", line 14, in extract_video_id_from_url
raise TypeError(
TypeError: URL format not supported. Below is an example of a supported url.
https://www.tiktok.com/@therock/video/6829267836783971589
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/tiktok-save/./save.py", line 153, in
asyncio.run(get_videos())
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/user/tiktok-save/./save.py", line 105, in get_videos
failures[tiktok_id] = {
UnboundLocalError: local variable 'tiktok_id' referenced before assignment
This seems to happen regardless of what variables I put in. Any help would be greatly appreciated.
Thank you.
The text was updated successfully, but these errors were encountered: