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

Facebook video as shared post not working #8321

Closed
steebchen opened this issue Jan 25, 2016 · 0 comments
Closed

Facebook video as shared post not working #8321

steebchen opened this issue Jan 25, 2016 · 0 comments

Comments

@steebchen
Copy link
Contributor

@steebchen steebchen commented Jan 25, 2016

When downloading a Facebook video with a schema like /video.php?v=123456789 or /[name]/videos/544765982287235/ youtube-dl is working, but not when such a video has been shared, like this one:
https://www.facebook.com/maxlayn/posts/10153807558977570

youtube-dl "https://www.facebook.com/maxlayn/posts/10153807558977570" --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'https://www.facebook.com/maxlayn/posts/10153807558977570', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.01.23
[debug] Python version 2.7.6 - Linux-3.16.0-38-generic-x86_64-with-LinuxMint-17.2-rafaela
[debug] exe versions: ffmpeg N-75403-g3a8e447, ffprobe N-75403-g3a8e447
[debug] Proxy map: {}
[generic] 10153807558977570: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 10153807558977570: Downloading webpage
[generic] 10153807558977570: Extracting information
[redirect] Following redirect to https://www.facebook.com/maxlayn/posts/10153807558977570?_fb_noscript=1
[generic] 10153807558977570?_fb_noscript=1: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 10153807558977570?_fb_noscript=1: Downloading webpage
[generic] 10153807558977570?_fb_noscript=1: Extracting information
ERROR: Unsupported URL: https://www.facebook.com/maxlayn/posts/10153807558977570?_fb_noscript=1
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1289, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 248, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=etree.TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 237, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: duplicate attribute: line 10, column 7858
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 666, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 313, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1908, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://www.facebook.com/maxlayn/posts/10153807558977570?_fb_noscript=1

@dstftw dstftw closed this in de691a4 Jan 25, 2016
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.