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

Add Support for Hulu #1629

Closed
EveryDirection opened this issue Oct 19, 2013 · 9 comments
Closed

Add Support for Hulu #1629

EveryDirection opened this issue Oct 19, 2013 · 9 comments
Labels
DRM geo-restricted site-support-request Add extractor(s) for a new domain

Comments

@EveryDirection
Copy link

Site support request: Please add support for Hulu. It is one of the most popular video streaming sites on the Internet. Thank you.

@phihag
Copy link
Contributor

phihag commented Oct 19, 2013

Example URL: http://www.hulu.com/watch/546659

@yasoob
Copy link
Contributor

yasoob commented Oct 19, 2013

It appears as if Hulu uses encryption. For research check this link

@TRox1972
Copy link
Contributor

Geo-restricted to the US.

@yan12125
Copy link
Collaborator

yan12125 commented Jun 5, 2016

@keybounce
Copy link

Wow, I also ran into hulu not working:

keybounceMBP:Keybounce michael$ youtube-dl -v 'http://www.hulu.com/grid/steven-universe?video_type=episode'
[debug] System config: []
[debug] User config: [u'-o', u'%(title)s.%(ext)s', u'-f', u'\nbest[ext=mp4][height>431][height<=720]/\nbestvideo[ext=mp4][height=480]+bestaudio[ext=m4a]/\nbest[ext=mp4][height>340][height<=431]/\nbestvideo[ext=mp4][height>360][height<=576]+bestaudio/\nbest[height>340][height<=576]/\nbestvideo[height>360][height<=576]+bestaudio/\nbestvideo[height=360]+bestaudio/\nbest[ext=mp4][height>=280][height<=360]/\nbest[height<=576]/\nworst', u'--write-sub', u'--embed-subs', u'--recode-video', u'mp4', u'--mark-watched']
[debug] Command-line args: [u'-v', u'http://www.hulu.com/grid/steven-universe?video_type=episode']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.07.16
[debug] Python version 2.7.5 - Darwin-13.4.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.1.1, ffprobe 3.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[generic] steven-universe?video_type=episode: Requesting header
WARNING: Falling back on generic information extractor.
[generic] steven-universe?video_type=episode: Downloading webpage
[generic] steven-universe?video_type=episode: Extracting information
ERROR: Unsupported URL: http://www.hulu.com/grid/steven-universe?video_type=episode
Traceback (most recent call last):
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1565, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/Users/michael/bin/youtube-dl/youtube_dl/compat.py", line 2525, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/Users/michael/bin/youtube-dl/youtube_dl/compat.py", line 2514, in _XML
    parser.feed(text)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 57, column 151
Traceback (most recent call last):
  File "/Users/michael/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 682, in extract_info
    ie_result = ie.extract(url)
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/common.py", line 347, in extract
    return self._real_extract(url)
  File "/Users/michael/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2282, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.hulu.com/grid/steven-universe?video_type=episode

@jaylweb
Copy link

jaylweb commented Oct 26, 2016

I managed to download a mpd file for a hulu movie. I renamed the mpd to a txt so I could upload it here. Is it not possible to download using the mpd file?
60786733.mpd.txt

This is the link I downloaded the mdp from.
https://manifest.hulustream.com/dash/60786733.mpd?user_id=13960235&language=en&region=US&version=1&device=73&cdn=dv&auth=1477536255_95111130c9a3ecca980e99255fb1dc94

This is the link to the video.
http://www.hulu.com/watch/993185

@yan12125 yan12125 added the DRM label Oct 26, 2016
@yan12125
Copy link
Collaborator

It uses DRM. AFAIK there's no Python package to decrypt them yet, but only C++ modules (#1753 (comment)).

@DJPlaya
Copy link

DJPlaya commented Jan 30, 2020

Geo-restricted to the US.

They even send Positioning Requests to the Browser.
Some VPNs are blocked, but had Success with Proton and the Opera VPN

@NSExceptional
Copy link

No one wants to work on Netflix or Hulu apparently 😐

@dirkf dirkf closed this as completed Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DRM geo-restricted site-support-request Add extractor(s) for a new domain
Projects
None yet
Development

No branches or pull requests

10 participants