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

Open
EveryDirection opened this issue Oct 19, 2013 · 8 comments
Open

Add Support for Hulu #1629

EveryDirection opened this issue Oct 19, 2013 · 8 comments

Comments

@EveryDirection
Copy link

@EveryDirection EveryDirection commented Oct 19, 2013

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 phihag commented Oct 19, 2013

@yasoob
Copy link
Contributor

@yasoob yasoob commented Oct 19, 2013

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

@TRox1972
Copy link
Contributor

@TRox1972 TRox1972 commented May 26, 2016

Geo-restricted to the US.

@yan12125 yan12125 mentioned this issue Jun 5, 2016
2 of 8 tasks complete
@yan12125 yan12125 mentioned this issue Jun 5, 2016
3 of 8 tasks complete
@keybounce
Copy link

@keybounce keybounce commented Jul 17, 2016

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 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

@yan12125 yan12125 commented Oct 26, 2016

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

@remitamine remitamine mentioned this issue Dec 22, 2016
4 of 8 tasks complete
@remitamine remitamine mentioned this issue Nov 15, 2019
5 of 5 tasks complete
@DJPlaya
Copy link

@DJPlaya 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

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.

None yet
8 participants
You can’t perform that action at this time.