Access Denied for Download/get_Video
See original GitHub issueHi !
I have some issues to download videos from the API with others than api.trending()'s Tiktok Object. After some research i found out that the Tiktok Object from api.trending and others (like api.ByHashtag()) section are different.
First
from Trending contains 23 keys from others contains 24 keys
it seems that “Challenges” doesn’t exist anymore.
Second
the format of the downloadAddr is different and the one from others had access denied when i call api.get_Video_By_DownloadURL or get_Video_By_Tiktok.
when i print the data (who suppose to be the number of byte of the video) i got :
_b'<HTML><HEAD>\n<TITLE>Access Denied</TITLE>\n</HEAD><BODY>\n<H1>Access Denied</H1>\n \nYou don\'t have permission to access_
After some research (on others API/Tiktok scraper) it seems that i need to set correct header but i dont know how to do that.
Maybe i’m doing things wrong ?
Thank you for your help !
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
https://github.com/davidteather/TikTok-Api/issues/311#issuecomment-721164493
Okay ! Thanks for this information !