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 probably changes its interface #4425

Closed
LordBlick opened this issue Dec 10, 2014 · 2 comments
Closed

Facebook probably changes its interface #4425

LordBlick opened this issue Dec 10, 2014 · 2 comments

Comments

@LordBlick
Copy link

@LordBlick LordBlick commented Dec 10, 2014

$  youtube-dl --verbose --write-pages 'https://www.facebook.com/video.php?v=563797976994181' 
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '--write-pages', 'https://www.facebook.com/video.php?v=563797976994181']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.10.1
[debug] Python version 2.7.8 - Linux-3.17.4-1-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-pld-3.0-PLD
[debug] exe versions: ffmpeg present, ffprobe present
[debug] Proxy map: {}
[facebook] 563797976994181: Downloading webpage
[facebook] Saving request to 563797976994181_https_-_www.facebook.com_video_video.phpv=563797976994181.dump
Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 9, in <module>
    load_entry_point('youtube-dl==2014.12.10.1', 'console_scripts', 'youtube-dl')()
  File "/usr/share/python2.7/site-packages/youtube_dl/__init__.py", line 355, in main
  File "/usr/share/python2.7/site-packages/youtube_dl/__init__.py", line 345, in _real_main
  File "/usr/share/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1133, in download
  File "/usr/share/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 554, in extract_info
  File "/usr/share/python2.7/site-packages/youtube_dl/extractor/common.py", line 242, in extract
  File "/usr/share/python2.7/site-packages/youtube_dl/extractor/facebook.py", line 152, in _real_extract
KeyError: u'video_duration'

Page dump contains no any error messages.

@phihag phihag closed this in 2fc9f2b Dec 10, 2014
@phihag
Copy link
Contributor

@phihag phihag commented Dec 10, 2014

Thank you for the report. I believe this issue to be fixed in youtube-dl 2014.12.10.3 and newer. See our FAQ if you have trouble updating.

By the way, can you post the output you get when you run ffmpeg -version? It looks like our detection is erroneous here.

@LordBlick
Copy link
Author

@LordBlick LordBlick commented Dec 10, 2014

$  ffmpeg -version 
X server found. dri2 connection failed! 
Trying to open render node...
Success at /dev/dri/renderD128.
ffmpeg version 2.4.4 Copyright (c) 2000-2014 the FFmpeg developers
built on Dec  4 2014 00:59:48 with gcc 4.8.3 (PLD-Linux) 20141010 (release)
configuration: --arch=x86_64 --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --extra-cflags='-D_GNU_SOURCE=1 -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -I/usr/include/decklink' --extra-ldflags='-O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' --cc=x86_64-pld-linux-gcc --disable-debug --disable-optimizations --disable-stripping --enable-avfilter --enable-avresample --enable-decklink --enable-gnutls --enable-gpl --enable-version3 --enable-fontconfig --enable-frei0r --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-libflite --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libiec61883 --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libnut --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libquvi --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libutvideo --enable-libv4l2 --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzmq --enable-libzvbi --enable-openal --enable-opencl --enable-opengl --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-x11grab --enable-runtime-cpudetect
libavutil      54.  7.100 / 54.  7.100
libavcodec     56.  1.100 / 56.  1.100
libavformat    56.  4.101 / 56.  4.101
libavdevice    56.  0.100 / 56.  0.100
libavfilter     5.  1.100 /  5.  1.100
libavresample   2.  1.  0 /  2.  1.  0
libswscale      3.  0.100 /  3.  0.100
libswresample   1.  1.100 /  1.  1.100
libpostproc    53.  0.100 / 53.  0.100

I am surprised at such a rapid response, thank you.

AndreMiras added a commit to AndreMiras/tubedl that referenced this issue Feb 28, 2015
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
2 participants
You can’t perform that action at this time.