Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Facebook URL (with Ampersand?) #3477
Comments
|
The problem was that the Facebook extractor didn't recognize the url. It will work in the next release, thanks for the report. In the last output you posted it worked because you have removed the |
|
As always..AMAZING!! Thanks again. |
...seems to choke on some Facebook URLs.
Example URL: https://www.facebook.com/cindyweather?fref=ts#!/photo.php?v=10152183998945793&set=o.117696861636147&type=2&theater
First I thought it was ampersand related:
Escaping the ampersand did not work:
[Edit]the gibhub webpage is replacing my & amp; by ampersand in my example here...ha ha ha[/edit]
C:>youtube-dl -v "https://www.facebook.com/cindyweather?fref=ts#!/ph
oto.php?v=10152183998945793&set=o.117696861636147&type=2&theater"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://www.facebook.com/cindyweather?fref=ts
!/photo.php?v=10152183998945793&set=o.117696861636147&type=2&theate
r']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.08.05
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] photo.php?v=10152183998945793&set=o: Requesting header
WARNING: Falling back on generic information extractor.
[generic] photo.php?v=10152183998945793&set=o: Downloading webpage
[generic] photo.php?v=10152183998945793&set=o: Extracting information
ERROR: Unsupported URL: https://www.facebook.com/cindyweather?fref=ts#!/photo.ph
p?v=10152183998945793&set=o.117696861636147&type=2&theater; please r
eport this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the
--verbose flag and include its complete output. Make sure you are using the late
st version; type youtube-dl -U to update.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 457, in _real_extract
File "youtube_dl\utils.pyo", line 1420, in parse_xml
File "xml\etree\ElementTree.pyo", line 1300, in XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: undefined entity: line 38, column 5024
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 516, in extract_info
File "youtube_dl\extractor\common.pyo", line 170, in extract
File "youtube_dl\extractor\generic.pyo", line 752, in _real_extract
ExtractorError: Unsupported URL: https://www.facebook.com/cindyweather?fref=ts#!
/photo.php?v=10152183998945793&set=o.117696861636147&type=2&theater;
please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl
with the --verbose flag and include its complete output. Make sure you are using
the latest version; type youtube-dl -U to update.
Putting URL in quotes did not work:
C:>youtube-dl -v "https://www.facebook.com/cindyweather?fref=ts#!/ph
oto.php?v=10152183998945793&set=o.117696861636147&type=2&theater"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://www.facebook.com/cindyweather?fref=ts
!/photo.php?v=10152183998945793&set=o.117696861636147&type=2&theater']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.08.05
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[generic] photo.php?v=10152183998945793&set=o: Requesting header
WARNING: Falling back on generic information extractor.
[generic] photo.php?v=10152183998945793&set=o: Downloading webpage
[generic] photo.php?v=10152183998945793&set=o: Extracting information
ERROR: Unsupported URL: https://www.facebook.com/cindyweather?fref=ts#!/photo.ph
p?v=10152183998945793&set=o.117696861636147&type=2&theater; please report this i
ssue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose fl
ag and include its complete output. Make sure you are using the latest version;
type youtube-dl -U to update.
Traceback (most recent call last):
File "youtube_dl\extractor\generic.pyo", line 457, in _real_extract
File "youtube_dl\utils.pyo", line 1420, in parse_xml
File "xml\etree\ElementTree.pyo", line 1300, in XML
File "xml\etree\ElementTree.pyo", line 1642, in feed
File "xml\etree\ElementTree.pyo", line 1506, in _raiseerror
ParseError: undefined entity: line 38, column 5024
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 516, in extract_info
File "youtube_dl\extractor\common.pyo", line 170, in extract
File "youtube_dl\extractor\generic.pyo", line 752, in _real_extract
ExtractorError: Unsupported URL: https://www.facebook.com/cindyweather?fref=ts#!
/photo.php?v=10152183998945793&set=o.117696861636147&type=2&theater; please repo
rt this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --v
erbose flag and include its complete output. Make sure you are using the latest
version; type youtube-dl -U to update.
Removing the last part of the URL (&type=2&theater) DOES download the video but it throws a "The syntax of the command is incorrect" at the end....(and possibly related: I could not get this to work with the -o output filename option)
C:>youtube-dl -v https://www.facebook.com/photo.php?v=10152183998945
793&set=o.117696861636147
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://www.facebook.com/photo.php?v=10152183
998945793']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2014.08.05
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[facebook] 10152183998945793: Downloading webpage
[debug] Invoking downloader on u'https://fbcdn-video-a.akamaihd.net/hvideo-ak-xp
f1/v/t43.1792-2/10536074_10152184002010793_1325312948_n.mp4?oh=54b8207ed3c39ea66
f87ac4a8ccc381f&oe=53E65994&gda=1407606761_bb26442f3d733b4957123097bcf66a98'
[download] Destination: _-10152183998945793.mp4
[download] 100% of 15.05MiB in 00:07
The syntax of the command is incorrect.
Thanks as always
RIngo