question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[disneynow.go.com] Add Support - move from watchdisney to new site

See original GitHub issue
  • I’ve verified and I assure that I’m running youtube-dl 2018.04.25
  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

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)
  • Feature request (request for a new functionality)
  • Question
  • Other

C:\Users\Desktop\youtube-dl>youtube-dl.exe -F http://disneynow.go.com/shows/bizaardvark/season-02/episode-21-her-me-and-hermie/vdka4378311 -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', 'http://disneynow.go.com/shows/bizaardvark/season-02/episode-21-her-me-and-hermie/vdka4378311', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2018.04.25
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: ffmpeg N-86911-gb664d1f, ffprobe N-86911-gb664d1f, rtmpdump 2.4
[debug] Proxy map: {}
[generic] vdka4378311: Requesting header
WARNING: Falling back on generic information extractor.
[generic] vdka4378311: Downloading webpage
[generic] vdka4378311: Extracting information
ERROR: Unsupported URL: http://disneynow.go.com/shows/bizaardvark/season-02/episode-21-her-me-and-hermie/vdka4378311
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpad1hmn8r\build\youtube_dl\YoutubeDL.py", line 789, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpad1hmn8r\build\youtube_dl\extractor\common.py", line 440, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpad1hmn8r\build\youtube_dl\extractor\generic.py", line 3182, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: http://disneynow.go.com/shows/bizaardvark/season-02/episode-21-her-me-and-hermie/vdka4378311
...
<end of log>


Description of issue

watchdisneychannel.go.com, watchdisneyxd.go.com and watchdisneyjunior.go.com are now all part of disneynow.go.com. Is it possible to add support, so that it works with the new site?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:20

github_iconTop GitHub Comments

3reactions
SkiTheSlicercommented, Apr 28, 2018

@tv21 your fix probably only works for shows that use the ‘watchdisneychannel’ API endpoint, but not for Junior or XD.

‘disneynow’ doesn’t appear to be its own separate API endpoint, but rather still proxies somehow to the ‘watchdisneychannel’, ‘watchdisneyjunior’, and ‘watchdisneyxd’ API endpoints.

If I edit go.py to just iterate through the list of endpoints until one is successful, that seems to work, but I’m not going to submit a pull request for that because it’s just guesswork and not clean code. For anyone who wants to take this a step further, I added an (incorrect) _SITE_INFO entry for ‘disneynow’ and replaced video_data = self._extract_videos(brand, video_id)[0] with:

if sub_domain == 'disneynow':
    for sub_domain in ['watchdisneychannel', 'watchdisneyjunior', 'watchdisneyxd']:
        site_info = self._SITE_INFO[sub_domain]
        brand = site_info['brand']
        try:
            video_data = self._extract_videos(brand, video_id)[0]
        except IndexError:
            continue
        else:
            break
else:
    video_data = self._extract_videos(brand, video_id)[0]

Edit: I hope that didn’t sound condescending @tv21 . Good job getting it that far. Trying it out is the best way to learn.

0reactions
shirt-devcommented, Aug 17, 2018

@SkiTheSlicer, mind if I open a pull request with your patch? I have the file all ready.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DisneyNOW Help - Errors and Issues
Find answers to frequently asked questions (FAQs) and technical problems about DisneyNOW.
Read more >
DisneyNOW Activate
Activate DisneyNOW on your device to watch full episodes of Disney Channel, Disney XD and Disney Junior shows on-demand and live.
Read more >
DisneyNOW: Disney Channel, Disney Junior & Disney XD TV ...
Watch full episodes of your favorite Disney Channel, Disney Junior and Disney XD shows! Plus, watch movies, video clips and play games! Watch...
Read more >
Download DisneyNOW App | Watch Disney Channel, Disney ...
Download the DisneyNOW app to watch Disney Channel, Disney Junior & Disney XD episodes, DCOMs and more!
Read more >
DisneyNOW TV Providers | Settings
Adams Cable Service. Albany Mutual Telephone. All West Communications. Allen's Communications. Alliance Communications. ALLO Communications.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found