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.
Support for http://onwathseries.to urls with simple base64 decode #11879
Comments
|
Please give real examples. |
|
I suppose the ideal would be to have the handler work with the onwatchseries.to episode page and parse out and try the list of video urls, but I think just recognizing an individual base64-encoded url manually copied and pasted would be sufficient. Fairly low priority since it's trivial to write a wrapper bash script around youtube-dl, which is what I've done for now. |
|
the site link to copyrighted content that they don't have rights to distribute. |
|
Yep sorry for didn't notice that. @torriem do you have other examples? |
|
I hadn't even considered the issue as youtube-dl already knows how to download all of the actual video links. Kind of thought keeping it abstract and just focusing on the base64 decoding of the url--which could be any url--would be better. For example, this link links to a public-domain video hosted by wikimedia commons: However I can see that youtube-dl walks a fine line here, so it's no big deal. I will close this issue and if someone thinks it's a good idea to decode this particular url, they may. |
|
Closing this request. |
Youtube-dl does not support downloading from http://onwathseries.to currently, since the actual video url (which youtube-dl often can download from) is obfuscated by javascript. However it turns out the obfuscation is very simple and you don't even need to retrieve the http://onwatchseries.to video page to get it. Most urls look like this:
http://onwatchseries.to/cale.html?r=STRING
Where STRING turns out to be the base64 encoding of the actual video url. I may try my hand at a handler. But in the meantime if someone else gets to it, it's very simple.