Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

403 forbidden response when extracting info on a remote server #5299

Closed
kobiburnley opened this issue Mar 27, 2015 · 1 comment
Closed

403 forbidden response when extracting info on a remote server #5299

kobiburnley opened this issue Mar 27, 2015 · 1 comment

Comments

@kobiburnley
Copy link

@kobiburnley kobiburnley commented Mar 27, 2015

I have a python server on heroku, and I put youtube-dl there to allow Android client achieve media url of videos. But in contrast of when extracting a url locally on my pc, when doing it on the server it returns a url that is not valid for the end user (It says 403 status forbidden).

I guess it has to do with that maybe the url is generated such as it allowed only from the machine that asked for it, but is there any way through this?

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Mar 27, 2015

For some sites (like youtube) the url may only work on the same computer and/or with specific http headers. You can try using the http_headers field from the json output (-j option`).

@jaimeMF jaimeMF closed this Mar 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.