Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
YouTube sign algo auto update based on information provided by @patrickslin. #1208
Comments
|
Thank you! Now it's fully automatic |
|
@sulge Why have you closed this issue and deleted your code? I'd like to integrate it into mainline youtube-dl. Can you elaborate? Or has your account been hacked? In that case, i'll just restore the messages. |
|
I thought you're not interested. Of course, you can use this code. |
|
@phihag any chance this can be reviewed and possibly implemented? |
|
@andrewhilson In this form, the code is not that useful (it contains lots of prints, is unrelated to youtube-dl's actual inner workings, is stylistically not nice, doesn't run on Python 3, is not in the proper form of a pull request, doesn't do proper error handling, poses a potential security risk, unnecessarily constructs Python source code and contains unhelpful comments). I'm currently writing up a similar approach. |
|
hey @sulge , how can I find the html5player-XX.js programatically, some video does not even have an html5 version page |
|
@zincli, I came across this post while I was searching for information/solution to the "s=" issue for a different project. Although I have not yet had a chance to fully test the results when compiling the full video url, I was able to find the link to the html5player...js file from within the source code of the video's "watch" link (eg: http://www.youtube.com/watch?v=). There appears to be only one.js file in each video page which follows the pattern of the urls that are used within the "Examples of Use" section above. Like you, I had to guess at it, and as I have not yet tested the results of the fully compiled video url, I'd say give the below code a run to at least get the js file and see if it works with your urls. One awkward thing I noticed while testing this is that so far all my urls are all returning the exact same js file (http://s.ytimg.com/yts/jsbin/html5player-vflHOr_nV.js) each time. I don't believe this is a problem, but it's at least worth mentioning
|
|
Hi guys, |
|
This has been solved with #1481, thanks for your contributions. |
EXAMPLE OF USE