-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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 - RegexNotFoundError: Unable to extract single video id #26935
Comments
try the video like this > youtube-dl --force-generic-extractor https://m.facebook.com/bakhtiar.kamal1/posts/10214187189745894 |
Thanks, youtube-dl --force-generic-extractor works, but I assume this is not how it's supposed to work out of the box. Some regex code refactoring is needed. |
@october262 The generic extractor cannot not choose the best video format for the download. |
do you see 3 dots ... in the upper right corner of the video ?? |
@october262 It's not really my video :-), but one of my friends. |
try youtube-dl --force-generic-extractor -f best URL |
The only format available with the generic extractor is this one : $ youtube-dl -F --force-generic-extractor https://www.facebook.com/100052997931710/posts/158984389211491
[generic] 158984389211491: Requesting header
[generic] 158984389211491: Downloading webpage
[generic] 158984389211491: Extracting information
[info] Available formats for 158984389211491:
format code extension resolution note
0 mp4 720x1280 |
But the resolution given is wrong because the |
according to this - https://stackoverflow.com/questions/31631535/youtube-dl-dash-video-and-audio-in-highest-quality-without-human-intervention the bestvideo+bestaudio/best will get you the 720p version try opening this link - https://www.facebook.com/100052997931710/videos/158983125878284/ |
@october Here's what I get with the 2020.11.17 version : $ youtube-dl -F https://www.facebook.com/100052997931710/posts/158984389211491
[facebook] 158984389211491: Downloading webpage
ERROR: Unable to extract single video id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
$ youtube-dl -F https://www.facebook.com/justicededieu.ministere.1/videos/158983125878284/
[facebook] 158983125878284: Downloading webpage
[facebook] 158983125878284: Downloading webpage
[facebook] 158983125878284: Downloading webpage
[info] Available formats for 158983125878284:
format code extension resolution note
387176535985756a m4a audio only DASH audio 65k , m4a_dash container, mp4a.40.5 (44100Hz)
847799622629973v mp4 144x256 DASH video 94k , mp4_dash container, avc1.42C01E, 30fps, video only
3367989963254467v mp4 240x426 DASH video 227k , mp4_dash container, avc1.42C01E, 30fps, video only
2818763831694719v mp4 360x640 DASH video 476k , mp4_dash container, avc1.4D401E, 30fps, video only
1042837749561825v mp4 720x1280 DASH video 2148k , mp4_dash container, avc1.4D401F, 30fps, video only
dash_sd_src mp4 unknown
dash_sd_src_no_ratelimit mp4 unknown
dash_hd_src mp4 unknown (best) My guest is that it does not support the FB channel ID (I'm not sure how it's called) but only the FB name. |
Similar issue: https://m.facebook.com/Alliance.Police.Department/posts/4048563708499330?comment_id=4048581808497520
|
Also ran into this issue:
Using |
Here's another test URL if needed: Works only with force generic. Hope some day FB extractor is fixed and will work without a hustle as before. |
Same issue here. Using -f option with generic extractor doesn't work correctly either. Cheers! |
Also having this issue. Any idea when this can be fixed or improved? |
support for most of the videos posted here has been restored(except for the example posted by @RingoTheDog). |
@remitamine Yes, it works now, thanks 😄 : $ sudo -H $(which pip3.6) uninstall youtube-dl
Found existing installation: youtube-dl 2020.12.9
Uninstalling youtube-dl-2020.12.9:
Would remove:
/usr/local/bin/youtube-dl
/usr/local/etc/bash_completion.d/youtube-dl.bash-completion
/usr/local/etc/fish/completions/youtube-dl.fish
/usr/local/lib/python3.6/dist-packages/youtube_dl-2020.12.9.dist-info/*
/usr/local/lib/python3.6/dist-packages/youtube_dl/*
/usr/local/share/doc/youtube_dl/README.txt
/usr/local/share/man/man1/youtube-dl.1
Proceed (y/n)? y
Successfully uninstalled youtube-dl-2020.12.9
$ sudo -H $(which pip3.6) install -U git+https://github.com/ytdl-org/youtube-dl
Collecting git+https://github.com/ytdl-org/youtube-dl
Cloning https://github.com/ytdl-org/youtube-dl to /tmp/pip-req-build-ecezg2xp
Building wheels for collected packages: youtube-dl
Building wheel for youtube-dl (setup.py) ... done
Created wheel for youtube-dl: filename=youtube_dl-2020.12.9-py2.py3-none-any.whl size=1776444 sha256=5bac9c4a5017692c41eb738e4b58f3f7b00d0fe67039ed973a1a3dd75d2a2bc9
Stored in directory: /tmp/pip-ephem-wheel-cache-wlp15dx8/wheels/ff/37/dd/aa769c199856673937d095ecfacadc6f056b3c1bfe02aa3998
Successfully built youtube-dl
Installing collected packages: youtube-dl
Successfully installed youtube-dl-2020.12.9
$ youtube-dl -F https://www.facebook.com/100052997931710/posts/158984389211491
[facebook] 158984389211491: Downloading webpage
[info] Available formats for 158984389211491:
format code extension resolution note
387176535985756a m4a audio only DASH audio 65k , m4a_dash container, mp4a.40.5 (44100Hz)
847799622629973v mp4 144x256 DASH video 94k , mp4_dash container, avc1.42C01E, 30fps, video only
3367989963254467v mp4 240x426 DASH video 227k , mp4_dash container, avc1.42C01E, 30fps, video only
2818763831694719v mp4 360x640 DASH video 476k , mp4_dash container, avc1.4D401E, 30fps, video only
1042837749561825v mp4 720x1280 DASH video 2148k , mp4_dash container, avc1.4D401F, 30fps, video only
dash_sd_src mp4 unknown
dash_sd_src_no_ratelimit mp4 unknown
dash_hd_src mp4 unknown (best) |
Checklist
Verbose log
Description
'https://m.facebook.com/bakhtiar.kamal1/posts/10214187189745894
The text was updated successfully, but these errors were encountered: