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.
1080p support for Hotstar #12096
1080p support for Hotstar #12096
Comments
Please give an example video and how to do such a modification |
|
Modifying the format_url as follows after getting it from
youtube-dl then lists 1080p with the available video formats. Sample hotstar link : http://www.hotstar.com/movies/singham/1000065774 |
|
Interesting. How did you find this hack? |
|
Today I had to download few videos from hotstar and found this in a forum. This has been around for over an year. But everyone suggested manually modifying the link and using ffmpeg to capture the stream. I tried modifying youtube-dl and it worked. So I thought I would share it here. |
|
It's OK to add dirty heuristics, just need to check URLs with _is_valid_url |
|
Please see this PR #12098 |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.02.11. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Hotstar shows upto 720p videos on their website and youtube-dl supports all of them. However, modifying the m3u8 file url gives 1080p videos. Does adding support to download a higher quality video than the ones provided in the original website violates any of the terms of youtube-dl?