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 apple.com #4637

Open
PressStartandSelect opened this issue Jan 5, 2015 · 2 comments
Open

Add support for apple.com #4637

PressStartandSelect opened this issue Jan 5, 2015 · 2 comments

Comments

@PressStartandSelect
Copy link

@PressStartandSelect PressStartandSelect commented Jan 5, 2015

Hello,

Could you please add support for videos on apple.com?

Here are some examples:
http://www.apple.com/apple-events/2014-oct-event/
http://www.apple.com/ipad-air-2/change/

The video on the second link is slightly different, it only shows up after the "Watch the film" button is clicked. (Most of the non-event videos are like this.)

$ youtube-dl --verbose http://www.apple.com/apple-events/2014-oct-event/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.apple.com/apple-events/2014-oct-event/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.01.04
[debug] Python version 2.7.6 - Darwin-14.0.0-x86_64-i386-64bit
[debug] exe versions: rtmpdump 2.4
[debug] Proxy map: {}
[generic] 2014-oct-event: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 2014-oct-event: Downloading webpage
[generic] 2014-oct-event: Extracting information
ERROR: Unsupported URL: http://www.apple.com/apple-events/2014-oct-event/
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 669, in _real_extract
    doc = parse_xml(webpage)
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1451, in parse_xml
    tree = xml.etree.ElementTree.XML(s.encode('utf-8'), **kwargs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1300, 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 7, column 1232
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 592, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 245, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1074, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://www.apple.com/apple-events/2014-oct-event/

$ 
@aaronvegh
Copy link

@aaronvegh aaronvegh commented Aug 7, 2015

I'd also add the trailers site to this list, if it's not under consideration already! here's an example: http://trailers.apple.com/trailers/independent/goodnightmommy/

@yan12125 yan12125 mentioned this issue Sep 10, 2016
4 of 8 tasks complete
@ghost
Copy link

@ghost ghost commented Oct 20, 2019

Anyone are willing to add support for apple special events?
https://www.apple.com/apple-events/

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
3 participants
You can’t perform that action at this time.