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

[reddit] Video on self post marked as unsupported #22003

Open
megascrapper opened this issue Aug 4, 2019 · 0 comments
Open

[reddit] Video on self post marked as unsupported #22003

megascrapper opened this issue Aug 4, 2019 · 0 comments

Comments

@megascrapper
Copy link

@megascrapper megascrapper commented Aug 4, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.08.02
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--ignore-config', u'https://reddit.com/link/cjy6vb/video/yklvrsmxbid31/player?utm_source=reddit&utm_medium=usertext&utm_name=iOSBeta&utm_content=t3_cjy6vb']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.08.02
[debug] Python version 2.7.16 (CPython) - Darwin-18.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.4, ffprobe 4.1.4, rtmpdump 2.4
[debug] Proxy map: {}
[generic] player?utm_source=reddit&utm_medium=usertext&utm_name=iOSBeta&utm_content=t3_cjy6vb: Requesting header
[redirect] Following redirect to https://www.reddit.com/link/cjy6vb/video/yklvrsmxbid31/player?utm_source=reddit&utm_medium=usertext&utm_name=iOSBeta&utm_content=t3_cjy6vb
[generic] player?utm_source=reddit&utm_medium=usertext&utm_name=iOSBeta&utm_content=t3_cjy6vb: Requesting header
WARNING: Falling back on generic information extractor.
[generic] player?utm_source=reddit&utm_medium=usertext&utm_name=iOSBeta&utm_content=t3_cjy6vb: Downloading webpage
[generic] player?utm_source=reddit&utm_medium=usertext&utm_name=iOSBeta&utm_content=t3_cjy6vb: Extracting information
ERROR: Unsupported URL: https://www.reddit.com/link/cjy6vb/video/yklvrsmxbid31/player?utm_source=reddit&utm_medium=usertext&utm_name=iOSBeta&utm_content=t3_cjy6vb
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2357, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2551, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2540, in _XML
    parser.feed(text)
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1659, in feed
    self._raiseerror(v)
  File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1523, in _raiseerror
    raise err
ParseError: syntax error: line 1, column 0
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3333, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://www.reddit.com/link/cjy6vb/video/yklvrsmxbid31/player?utm_source=reddit&utm_medium=usertext&utm_name=iOSBeta&utm_content=t3_cjy6vb

Note: the video is part of a self post. Putting the post URL onto youtube-dl yields the following log:

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--ignore-config', u'https://reddit.com/r/iOSBeta/comments/cjy6vb/feature_you_can_now_set_content_aware_wallpapers/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.08.02
[debug] Python version 2.7.16 (CPython) - Darwin-18.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.4, ffprobe 4.1.4, rtmpdump 2.4
[debug] Proxy map: {}
[RedditR] cjy6vb: Downloading JSON metadata
ERROR: No media found
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/reddit.py", line 109, in _real_extract
    raise ExtractorError('No media found', expected=True)
ExtractorError: No media found

Description

I was trying to download a reddit video posted on a self post. However it seems that youtube-dl was unable to detect the video file.

The post in question: https://reddit.com/r/iOSBeta/comments/cjy6vb/feature_you_can_now_set_content_aware_wallpapers/

Direct link to video: https://reddit.com/link/cjy6vb/video/yklvrsmxbid31/player?utm_source=reddit&utm_medium=usertext&utm_name=iOSBeta&utm_content=t3_cjy6vb

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