Russell-Newton / TikTokPy

Extract data from TikTok without needing any login information or API keys.
https://pypi.org/project/tiktokapipy/
MIT License
197 stars 25 forks source link

Get Video URL #12

Closed brodycritchlow closed 1 year ago

brodycritchlow commented 1 year ago

Is there a way to get the video url from the Video object

Russell-Newton commented 1 year ago

See the function video_link in models.video:

from tiktokapipy.models.video import video_link

link = video_link(some_video_obj.id)

This will retrieve a working link to the video.