question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PBS Video Not Downloading (version: 2020.12.31)

See original GitHub issue

Checklist

  • I’m reporting a broken site support
  • I’ve verified that I’m running youtube-dl version 2020.12.31
  • I’ve checked that all provided URLs are alive and playable in a browser
  • I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
  • I’ve searched the bugtracker for similar issues including closed ones

Verbose log

C:\YouTubeDL>youtube-dl -v https://www.pbs.org/wgbh/nova/video/the-impossible-flight/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.pbs.org/wgbh/nova/video/the-impossible-flight/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.12.31
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg 3.4, ffprobe 3.4
[debug] Proxy map: {}
[debug] Using fake IP 6.64.187.149 (US) as X-Forwarded-For.
[pbs] Downloading JSON metadata
[pbs] the-impossible-flight: Downloading webpage
[pbs] Downloading widget/partnerplayer page
[pbs] Downloading portalplayer page
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpabf7r3hs\build\youtube_dl\YoutubeDL.py", line 803, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpabf7r3hs\build\youtube_dl\YoutubeDL.py", line 824, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpabf7r3hs\build\youtube_dl\extractor\common.py", line 532, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpabf7r3hs\build\youtube_dl\extractor\pbs.py", line 661, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpabf7r3hs\build\youtube_dl\extractor\common.py", line 1367, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Cannot get PBS video to download on either the Windows or Linux version of 2020.12.31

URL: https://www.pbs.org/wgbh/nova/video/the-impossible-flight/

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
StevenDTXcommented, Jan 22, 2021

Dont use the wgbh link. This works just fine: https://www.pbs.org/video/the-impossible-flight-riui2e/

I just tried this on v2021-01-16 and it didnt work…The endpoint given by @october262 kicked off without issues, though.

Works just fine:

E:\>c:\support\youtube-dl.exe https://www.pbs.org/video/the-impossible-flight-riui2e/ --hls-prefer-native --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.pbs.org/video/the-impossible-flight-riui2e/', '--hls-prefer-native', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.01.16
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg N-100433-g50a9210739, ffprobe N-100433-g50a9210739
[debug] Proxy map: {}
[debug] Using fake IP 6.45.164.255 (US) as X-Forwarded-For.
[pbs] Downloading JSON metadata
[pbs] the-impossible-flight-riui2e: Downloading webpage
[pbs] the-impossible-flight-riui2e: Downloading widget/partnerplayer page
[pbs] the-impossible-flight-riui2e: Downloading portalplayer page
[pbs] the-impossible-flight-riui2e: Downloading 0 video url info
[pbs] the-impossible-flight-riui2e: Downloading m3u8 information
[pbs] the-impossible-flight-riui2e: Downloading 1 video url info
[pbs] the-impossible-flight-riui2e: Checking http-2000k video URL
[pbs] the-impossible-flight-riui2e: http-2000k video URL is invalid, skipping: HTTP Error 403: Forbidden
[pbs] the-impossible-flight-riui2e: Checking http-6500k video URL
[pbs] the-impossible-flight-riui2e: http-6500k video URL is invalid, skipping: HTTP Error 403: Forbidden
[pbs] the-impossible-flight-riui2e: Checking http-4500k video URL
[pbs] the-impossible-flight-riui2e: http-4500k video URL is invalid, skipping: HTTP Error 403: Forbidden
[pbs] the-impossible-flight-riui2e: Checking http-3000k video URL
[pbs] the-impossible-flight-riui2e: Checking http-1100k video URL
[pbs] the-impossible-flight-riui2e: http-1100k video URL is invalid, skipping: HTTP Error 403: Forbidden
[pbs] the-impossible-flight-riui2e: Checking http-730k video URL
[pbs] the-impossible-flight-riui2e: http-730k video URL is invalid, skipping: HTTP Error 403: Forbidden
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://ga.video.cdn.pbs.org/videos/nova/cb6c6210-67f0-49b3-8938-b98f86b92841/2000210212/hd-16x9-mezzanine-1080p/nova4503_r-hls-16x9-1080p-1080p-6500k.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1134
[download] Destination: NOVA - The Impossible Flight-3008829324.mp4
[download]   0.5% of ~5.49GiB at  8.15MiB/s ETA 19:14
ERROR: Interrupted by user
0reactions
Vangelis66commented, Nov 12, 2021

@Mennaruuk asked:

Why is the parameter --hls-prefer-native required?

Please, study your posted logs more carefully 😉 ;

[debug] youtube-dl version 2021.01.24.1
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
...
ERROR: m3u8 download detected but ffmpeg or avconv could not be found. Please install one.

and

[debug] youtube-dl version 2021.06.06
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
...
ERROR: m3u8 download detected but ffmpeg or avconv could not be found. Please install one.

IOW, your youtube-dl.exe binary can’t locate a ffmpeg.exe binary to use as HLS downloader - [hlsnative] works, because it’s a pure Python-based implementation, already compiled inside your yt-dl binary…

Should you wish to use ffmpeg, place a precompiled Windows binary (suitable for your OS version and architecture) adjacent to youtube-dl.exe or on another PATH of your choosing; in the latter case, the PATH must be given to yt-dl either via a cmdline flag ( --ffmpeg-location PATH) or inside a config file, if such exists…

EDIT: https://github.com/ytdl-org/youtube-dl#on-windows-how-should-i-set-up-ffmpeg-and-youtube-dl-where-should-i-put-the-exe-files

youtube-dl --proxy "127.0.0.1:xxxx" "https://www.pbs.org/video/pandora-papersmassacre-in-el-salvador-v2wjzz" -v --external-downloader-args "-v 8 -stats"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--proxy', '127.0.0.1:xxxx', 'https://www.pbs.org/video/pandora-papersmassacre-in-el-salvador-v2wjzz', '-v', '--external-downloader
-args', '-v 8 -stats']
[debug] Encodings: locale cp1253, fs utf-8, out utf-8, pref cp1253
[debug] youtube-dl version 2021.06.06+18-git-20210701-ga803582+PR#28955v2
[debug] Python version 3.7.12 (CPython) - Windows-Vista-6.0.6003-SP2
[debug] exe versions: ffmpeg 4.4.1, ffprobe 4.4.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {'http': '127.0.0.1:xxxx', 'https': '127.0.0.1:xxxx'}
[debug] Using fake IP 6.125.241.228 (US) as X-Forwarded-For.
[pbs] Downloading JSON metadata
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: Downloading webpage
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: Downloading widget/partnerplayer page
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: Downloading portalplayer page
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: Downloading 0 video url info
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: Downloading m3u8 information
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: Downloading 1 video url info
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: Checking http-2000k video URL
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: http-2000k video URL is invalid, skipping: HTTP Error 403: Forbidden
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: Checking http-6500k video URL
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: http-6500k video URL is invalid, skipping: HTTP Error 403: Forbidden
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: Checking http-4500k video URL
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: http-4500k video URL is invalid, skipping: HTTP Error 403: Forbidden
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: Checking http-3000k video URL
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: Checking http-1100k video URL
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: http-1100k video URL is invalid, skipping: HTTP Error 403: Forbidden
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: Checking http-730k video URL
[pbs] pandora-papersmassacre-in-el-salvador-v2wjzz: http-730k video URL is invalid, skipping: HTTP Error 403: Forbidden
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://ga.video.cdn.pbs.org/videos/frontline/fbc5696b-ac83-4af4-8f76-d2e9e247f71d/2000264985/hd-16x9-mezzanine-1080p/00004011-hls-16x9-1080p-1080p-6500k.m3u8'
[download] Destination: FRONTLINE - Pandora Papers_Massacre in El Salvador-3061353278.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -v 8 -stats -headers "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,like Gecko) Chrome/70.0.3538.69 Safari/537.36
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-us,en;q=0.5
Cookie: pbsol.station=WPTD
X-Forwarded-For: 6.125.241.228
" -i "https://ga.video.cdn.pbs.org/videos/frontline/fbc5696b-ac83-4af4-8f76-d2e9e247f71d/2000264985/hd-16x9-mezzanine-1080p/00004011-hls-16x9-1080p-1080p-6500k.m3u8" -c copy -f mp4 "file:FRONTLINE - Pandora Papers_Massacre in El Salvador-3061353278.mp4.part"
ffmpeg version 4.4.1 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.2.0 (GCC)
  configuration: --pkg-config=pkg-config --pkg-config-flags=--static --extra-version=ffmpeg-windows-build-helpers --enable-version3 --disable-debug --disable-w32threads --arch=x86 --target-os=mingw32 --cross-prefix=/home/anton/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32- --enable-libcaca --enable-gray --enable-libtesseract --enable-fontconfig --enable-gmp --enable-gnutls --enable-libass --enable-libbluray --enable-libbs2b --enable-libflite --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libvorbis --enable-libwebp --enable-libzimg --enable-libzvbi --enable-libmysofa --enable-libopenjpeg --enable-libopenh264 --enable-liblensfun --enable-libvmaf --enable-libsrt --enable-libxml2 --enable-opengl --enable-libdav1d --enable-cuda-llvm --enable-libaom --enable-libvpx --enable-nvenc --enable-nvdec --extra-libs=-lharfbuzz --extra-libs=-lm --extra-libs=-lpthread --extra-cflags=-DLIBTWOLAME_STATIC --extra-cflags=-DMODPLUG_STATIC --extra-cflags=-DCACA_STATIC --enable-amf --enable-libmfx --enable-gpl --enable-frei0r --enable-librubberband --enable-libvidstab --enable-libx264 --enable-libx265 --enable-avisynth --enable-libaribb24 --enable-libxvid --enable-libdavs2 --enable-libxavs --extra-cflags='-mtune=generic' --extra-cflags=-O3 --enable-static --disable-shared --prefix=/home/anton/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
frame=    1 fps=0.0 q=-1.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=
frame=   41 fps=0.0 q=-1.0 size=       0kB time=00:00:01.30 bitrate=   0.3kbits/
frame=   44 fps= 37 q=-1.0 size=       0kB time=00:00:01.40 bitrate=   0.3kbits/
frame=   49 fps= 27 q=-1.0 size=       0kB time=00:00:01.56 bitrate=   0.2kbits/
frame=   53 fps= 19 q=-1.0 size=     256kB time=00:00:01.70 bitrate=1232.6kbits/
frame=   56 fps= 16 q=-1.0 size=     256kB time=00:00:01.80 bitrate=1164.1kbits/
frame=   57 fps= 14 q=-1.0 size=     256kB time=00:00:01.83 bitrate=1143.0kbits/
frame=   59 fps= 13 q=-1.0 size=     256kB time=00:00:01.90 bitrate=1102.9kbits/
frame=   62 fps= 12 q=-1.0 size=     256kB time=00:00:02.00 bitrate=1047.7kbits/
frame=   65 fps= 11 q=-1.0 size=     512kB time=00:00:02.10 bitrate=1995.5kbits/
frame=   68 fps= 10 q=-1.0 size=     512kB time=00:00:02.20 bitrate=1904.8kbits/
frame=   70 fps=9.5 q=-1.0 size=     768kB time=00:00:02.26 bitrate=2773.1kbits/
frame=   70 fps=8.8 q=-1.0 size=     768kB time=00:00:02.26 bitrate=2773.1kbits/
frame=   73 fps=8.6 q=-1.0 size=     768kB time=00:00:02.36 bitrate=2655.9kbits/
frame=   75 fps=8.2 q=-1.0 size=     768kB time=00:00:02.43 bitrate=2583.1kbits/
frame=   75 fps=7.9 q=-1.0 Lsize=    1991kB time=00:00:02.43 bitrate=6697.6kbits
/s speed=0.257x

ERROR: Interrupted by user

Be also aware that the lack of ffmpeg on your yt-dl setup means many post-processing functions (e.g. repackaging streams to other container, muxing separately downloaded V+A elementary streams) won’t be possible, either…

@89z wrote:

Mine does:

While I do appreciate your coding efforts and feel you genuinely wish to help people fetch things for which yt-dl, in its current state, has handicaps with (rather than simply promote your “own” solution[s]), please don’t turn this into a pis*ing contest 😉 ; BTW, I’d really appreciate it if you’d be king enough to also release win32 editions of your “tools” (as currently am in a 32-bit WinOS…).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Downloadable Content on the PBS KIDS Video App FAQ
The PBS KIDS Video app now supports downloadable videos for offline viewing. To begin downloading videos, a network connection is required.
Read more >
Problem with PBS Video? (verbose output included) - Reddit
I'm using version 2020.12.31. This is also happening on the Linux version. Any ideas?
Read more >
2 kid 1 sandbox original
Download link: Watch 2 kids 1 sandbox original video The same standard ... 2 kids 1 May 29, 2017 · The enhanced version...
Read more >
Edpuzzle answer key - Impugno
While EdPuzzle does not have Poll or Discussion, there is an easy workaround for Check All and ... Simply download the YT video...
Read more >
PBS - YouTube
The latest previews and trailers for PBS series, documentaries and films. Discover more with the PBS Video App: https://to.pbs.org/2QbtzhR.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found