question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Access Denied for Download/get_Video

See original GitHub issue

Hi !

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:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

0reactions
Goldrestcommented, Nov 5, 2020

Okay ! Thanks for this information !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Access to googlevideo.com denied · Issue #177 - GitHub
Using the server as a proxy as suggested by @BenNottelling fails. The file appears to download successfully but the file sizes show as...
Read more >
[Solved] Access Denied when Download from Google drive
you don't have authorization to view this page.
Read more >
networking - Youtube VIdeo direct download links "Access to ...
When I try to access the direct download links I get an error "Access to SERVERNAME was denied " like this LINK.
Read more >
HELP Please - Video not found or access denied - Moodle.org
I've had difficulties with the player playing mp4 videos. Why not download (free) anyvideoconverter (google it) and convert it to FLV which ...
Read more >
"Access is Denied" message when trying to download software
"Access is Denied" message when trying to download software from Volume Licensing Service Center. Anyone else having this issue?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found