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

youtube-dl consideres some Facebook URLs as generic #3596

Closed
geezee opened this issue Aug 27, 2014 · 3 comments
Closed

youtube-dl consideres some Facebook URLs as generic #3596

geezee opened this issue Aug 27, 2014 · 3 comments

Comments

@geezee
Copy link

@geezee geezee commented Aug 27, 2014

I'm running on 2014.08.27.1. If the Facebook URL is https://www.facebook.com/video.php?v=10204634152394104 then running youtube-dl has this output

WARNING: Falling back on generic information extractor.
[generic] video: Requesting header
[generic] video: Downloading webpage
[generic] video: Extracting information
ERROR: Unsupported URL

If I change the URL to https://www.facebook.com/photo.php?v=10204634152394104, notice the change from video.php to photo.php then it works and detects that the source is facebook.

Just wondering, is the extractor deciding the source based on the domain name or a pattern in the URL?

@Shudouken
Copy link

@Shudouken Shudouken commented Aug 27, 2014

I've noticed this issue today as well.
Censored out the real link

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.facebook.com/video.php?v=xxxxxxxxxx']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.08.25.3
[debug] Python version 3.4.1 - Linux-3.16.1-1-ARCH-x86_64-with-arch
[debug] Proxy map: {}
[generic] video: Requesting header
WARNING: Falling back on generic information extractor.
[generic] video: Downloading webpage
[generic] video: Extracting information
ERROR: Unsupported URL: https://www.facebook.com/video.php?v=xxxxxxxxxx; 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.
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/youtube_dl/YoutubeDL.py", line 521, in extract_info
ie_result = ie.extract(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 176, in extract
return self._real_extract(url)
  File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/generic.py", line 853, in _real_extract
raise ExtractorError('Unsupported URL: %s' % url)
youtube_dl.utils.ExtractorError: Unsupported URL: https://www.facebook.com/video.php?v=xxxxxxxxxx; 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.
@Shudouken
Copy link

@Shudouken Shudouken commented Aug 27, 2014

Also noticed that it doesn't work when you change video to photo but leave

&fref=nf

attached (some videos have that attached if they are shared)

@phihag
Copy link
Contributor

@phihag phihag commented Aug 27, 2014

Thank you for the report. I believe this issue to be fixed in youtube-dl 2014.08.28. Type youtube-dl -U to update.

@Shudouken It looks like you used a package manager to install youtube-dl. Use that to update.

@phihag phihag closed this Aug 27, 2014
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.