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

Point me to the part of code where youtube-dl gets the video url, adds header and then create and send the request to the server. #5425

Closed
kai18 opened this issue Apr 14, 2015 · 1 comment

Comments

@kai18
Copy link

@kai18 kai18 commented Apr 14, 2015

I have tried extracting the video url from the webpage and use that in wget and curl out of curiosity, and as expected i get a 403. I would like to know how the entire request is created, for educational purpose. I have tried going through the source code of the youtube-dl extractor file for youtube but maybe i am not skilled enough to understand it. If someone could please point me in the right direction, that would be great.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Apr 14, 2015

I'm closing the issue since it's not a problem with youtube-dl.

You may want to look into these lines, for some urls you need to process the signature and that's a harder task (look into the _decrypt_signaturemethod).

@jaimeMF jaimeMF closed this Apr 14, 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.