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.
Add support for HBOGo & HBO Now #9786
Comments
|
All provided links give an HTTP 403 Forbidden error in Firefox. Maybe geo-restricted? |
|
I'm using Firefox. It could be because you aren't logged in. Perhaps only someone with an HBOGo subscription or HBO Now subscription can test and set up each one. |
|
Could you point out where to log in? |
|
It's not only providing correct credentials, this is also geo-restricted. Or did they add exceptions recently? Otherwise, still not working here. |
|
I'm prompted to enter credentials with an US proxy. |
|
I think I'll just finally learn Python and submit a merge myself, since I have an HBOGo account and live in the US. No guarantee on how long I'll be. Someone else who has a subscription to HBO Now will have to handle HBO Now. |
|
So, now that I'm getting started, I've got 2 questions:
In case it sheds some light, if I login with DISH Network, it redirects me to a login page where I enter a username and password into a DISH website, and then when it redirects me back to HBOGO, this is what the redirection URL looks like: And to save you some time, here's what it looks like after converting all the HTML character codes with \x and echo -e:
|
|
@Jimi-James I'm pretty sure that HBO use DRM for most of their digital content; decrypting it will probably be very difficult. |
|
|
For the DRM, I figured I'd just copy how the CW extractor downloads the video. The CW uses a similar kind of DRM, so its extractor seems to brute-force it by just capturing the entire stream as raw data. |
|
the m3u8 manifest used by HBO are DRM protected(if i remember correctly they are protected with Adobe Flash Access) while the ones from CW are not. |
|
Oh. Is HBOGO support for youtube-dl even doable, then? |
|
if you want to confirm you can see that the
|
it's possible, but difficult(figure how to decrypt DRM pretected segements or finding a workaround to get unprotected video like in the case of DAISUKI). |
|
I'm probably going to need help, then, because I have no experience decrypting DRM and I don't know what an m3u8 manifest is. Is that something I'll be learning after I read more example code from the other extractors? |
|
This is not easy, so good luck and all the best! |
|
Is there any progress on this issue? I would also like to be able to download videos from HBO Now. @Jimi-James @yan12125 I may be able to provide an HBO Now account to be used if that is necessary. |
|
I ended up not having the time to work on it at all. I might not be the best person with my complete lack of experience in dealing with encryption and encoding and decoding with internet videos. To survive for now, I've been using a Chromecast to watch HBOGo. |
|
@Jimi-James Okay, unfortunately that solution doesn't work for me as I use youtube-dl to download videos entirely before I watch them since my internet is too slow to watch videos as they load. I'm not really the right person to fix this issue either, though, because I barely know Python well enough to add a site. I thought I'd tag you anyway though because no one had bumped this thread in over half a year and I wasn't sure if maybe their site changed in such a way that would make this easier to do than before |
|
@danfiscus Ooh, I feel you there. My internet right now is BARELY fast enough to stream (2Mb), so I massively prefer youtube-dl or other download methods when I can, which these days is with everything EXCEPT HBOGo. So I do have an incentive to try this out eventually. I at least know Python well enough to set up the skeleton of the extractor, which I've done in my fork. |
|
@Jimi-James Is HBOGo set up the same way as HBO Now? Or are they different? I've only ever used HBO Now, so I'm not sure if it's easier to download from or if it's the same platform. |
|
@danfiscus They're different enough that I couldn't use the same code on both, but the real issue is that neither can be tested without a paid account in an allowed country. That's why nobody else has made extractors for them yet. So if you used your Now account for testing, that solves that. Conversely, I've only ever used HBOGo. I don't know how identical or non-identical their frontends and backends are, but they're made by different people. |
|
@Jimi-James anyone can get a free trial account that works for a month, that's what I'm using right now |
|
@danfiscus Oh, cool, so I could use that. I wouldn't be able to maintain it once my trial went out, though, so it would only be a temporary solution. |
|
Any progress? I managed to download the file, but only the video part - no audio - and it's encrypted so it doesn't play, it just shows a gray screen even though the time keeps passing. |
|
At this point, I'm officially not working on this. I brought tons of eagerness but no experience, and I have too many things going on to do anything with this in the near future. I hope someone else can! |
|
An HBO Now test URL from #13908: https://play.hbonow.com/episode/urn:hbo:episode:GVU4NYgvPQlFvjSoJAbmL |
|
@yan12125 Shall i provide more urls? |
|
That should be enough |
|
Question: If HBO Now isn't supported/work, why is it on the supported list @ https://rg3.github.io/youtube-dl/supportedsites.html |
|
There is no HBO Now on this list. |
I'm sure you're probably already working on this, but I noticed there was no issue open about it to monitor its progress, so I'm doing that.
I have:
What is the purpose of your issue?
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
-Single video: http://play.hbogo.com/episode/urn:hbo:episode:GVx-Z-wOMe8N-wwEAAAAQ?reentered=true (not sure if that ?reentered=true part matters)
-Playlist: http://play.hbogo.com/season/urn:hbo:season:GVtcU-Qbol7qlofAIAAAH
-I don't use HBO Now and so can't provide sample links for it.
Description of your issue, suggested solution and other information
Note: Both of these sites require logging in with user credentials. HBOGo logs in across multiple websites, for example, I use my parent's DISH Network subscription, so I have to login to the DISH Network site and then it redirects to HBOGo with POST data.