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

[HBO] HBO extractor broken after site redesign #14629

Closed
SeanPM5 opened this issue Oct 30, 2017 · 1 comment
Closed

[HBO] HBO extractor broken after site redesign #14629

SeanPM5 opened this issue Oct 30, 2017 · 1 comment

Comments

@SeanPM5
Copy link

@SeanPM5 SeanPM5 commented Oct 30, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.10.29
  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)

Description of your issue, suggested solution and other information

HBO has completely redesigned their website and updated URL's etc, which had the unfortunate side effect of breaking the existing youtube-dl hbo extractor. From what I can gather they have switched from using video ID's to video paths instead. The same information as before is still accessible, just at different URL's.

Here is the video page: https://www.hbo.com/video/curb-your-enthusiasm/seasons/season-09/episodes/5-thank-you-for-your-service/videos/s9-ep-5-preview

And here is the XML file (found via View Page Source): https://www.hbo.com/services/hbo/video.xml/vpath=/content/hbodata/en/series/curb-your-enthusiasm/seasons/season-09/episodes/5-thank-you-for-your-service/videos/s9-ep-5-preview.xml

Another example:
Video Page: https://www.hbo.com/video/game-of-thrones/seasons/season-07/episodes/6-beyond-the-wall/videos/s7-ep-6-beyond-the-wall-preview

XML file: https://www.hbo.com/services/hbo/video.xml/vpath=/content/hbodata/en/series/game-of-thrones/seasons/season-07/episodes/6-beyond-the-wall/videos/s7-ep-6-beyond-the-wall-preview.xml

(Note: many of their videos now open in "popup" / lightbox type windows now, but to get these video page URL's you can simply click on "Copy Link" or "Email" in the top right of their video player.)


Essentially to get the XML file you replace the "https://www.hbo.com/video/" portion of the URL with "https://www.hbo.com/services/hbo/video.xml/vpath=/content/hbodata/en/series/" , keep the rest of the URL the same, and then add ".xml" to the end of that.

There might be a better way to do this.

And since this is somewhat related, thought it was worth mentioning #13709 which was a request for adding subtitles support (subtitles are in these same XML files).

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.

2 participants
You can’t perform that action at this time.