[Broken] PornHub Creating Many Temp Files
See original GitHub issueChecklist
- I’m reporting a broken site support issue
- I’ve verified that I’m running yt-dlp version 2021.04.03
- 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 bug reports including closed ones
- I’ve read bugs section in FAQ
Verbose log
[debug] Command-line config: ['--add-metadata', '--embed-thumbnail', '-c', '--yes-playlist', '-i', '-v', 'https://www.pornhub.com/pornstar/indigo-white/videos']
[debug] Loading archive file None
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] yt-dlp version 2021.04.03
[debug] Python version 3.9.2 (CPython 64bit) - Linux-5.11.10-hardened1-1-hardened-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.3.2, ffprobe 4.3.2, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[download] Downloading playlist: pornstar/indigo-white/videos
[PornHubPagedVideoList] pornstar/indigo-white/videos: Downloading page 2
[PornHubPagedVideoList] pornstar/indigo-white/videos: Downloading page 3
[PornHubPagedVideoList] pornstar/indigo-white/videos: Downloading page 4
[PornHubPagedVideoList] pornstar/indigo-white/videos: Downloading page 5
[PornHubPagedVideoList] pornstar/indigo-white/videos: Downloading page 6
[PornHubPagedVideoList] pornstar/indigo-white/videos: Downloading page 8
[PornHubPagedVideoList] pornstar/indigo-white/videos: Downloading page 10
[PornHubPagedVideoList] pornstar/indigo-white/videos: Downloading page 11
[PornHubPagedVideoList] pornstar/indigo-white/videos: Downloading page 12
[download] Downloading video 1 of 525
[PornHub] ph6067a7a08244b: Downloading JSON metadata
[debug] Sort order given by user:
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[PornHub] ph6067a7a08244b: Downloading thumbnail ...
[PornHub] ph6067a7a08244b: Writing thumbnail to: BUNNY TIME! - INDIGO WHITE [ph6067a7a08244b].jpg
[PornHub] ph6067a7a08244b: Writing thumbnail to: BUNNY TIME! - INDIGO WHITE [ph6067a7a08244b].jpg
[debug] Invoking downloader on 'https://ev-h.phncdn.com/hls/videos/202104/02/386059281/1080P_8000K_386059281.mp4/master.m3u8?validfrom=1617832360&validto=1617839560&hdl=-1&hash=B8htWwSzbFqwGMjiIdHnkoA2x6E%3D' Destination: BUNNY TIME! - INDIGO WHITE [ph6067a7a08244b].m3u8
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.66 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
Accept-Language: en-us,en;q=0.5
[PornHub] ph6067a7a08244b: Downloading thumbnail ...
[PornHub] ph6067a7a08244b: Writing thumbnail to: BUNNY TIME! - INDIGO WHITE [ph6067a7a08244b].jpg
[debug] Invoking downloader on 'https://ev-h.phncdn.com/hls/videos/202104/02/386059281/1080P_8000K_386059281.mp4/master.m3u8?validfrom=1617832360&validto=1617839560&hdl=-1&hash=B8htWwSzbFqwGMjiIdHnkoA2x6E%3D'
[download] Destination: BUNNY TIME! - INDIGO WHITE [ph6067a7a08244b].m3u8
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.66 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
' -i 'https://ev-h.phncdn.com/hls/videos/202104/02/386059281/1080P_8000K_386059281.mp4/master.m3u8?validfrom=1617832360&validto=1617839560&hdl=-1&hash=B8htWwSzbFqwGMjiIdHnkoA2x6E%3D' -c copy -f mp4
'file:BUNNY TIME! - INDIGO WHITE [ph6067a7a08244b].m3u8.part'
ffmpeg version n4.3.2 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 10.2.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librav1e --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-shared --enable-version3
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
[tcp @ 0x515af533140] Starting connection attempt to 64.210.137.114 port 443
[tcp @ 0x515af533140] Successfully connected to 64.210.137.114 port 443
[hls @ 0x515af52ed40] Opening 'https://ev-h.phncdn.com/hls/videos/202104/02/386059281/1080P_8000K_386059281.mp4/index-v1-a1.m3u8?validfrom=1617832360&validto=1617839560&hdl=-1&hash=B8htWwSzbFqwGMjiIdHnkoA2x6E%3D' for reading
[tcp @ 0x515afae8dc0] Starting connection attempt to 64.210.137.116 port 443
[tcp @ 0x515afae8dc0] Successfully connected to 64.210.137.116 port 443
[hls @ 0x515af52ed40] Skip ('#EXT-X-ALLOW-CACHE:YES')
[hls @ 0x515af52ed40] Skip ('#EXT-X-VERSION:3')
[hls @ 0x515af52ed40] HLS request for url 'https://ev-h.phncdn.com/hls/videos/202104/02/386059281/1080P_8000K_386059281.mp4/seg-1-v1-a1.ts?validfrom=1617832360&validto=1617839560&hdl=-1&hash=B8htWwSzbFqwGMjiIdHnkoA2x6E%3D', offset 0, playlist 0
[hls @ 0x515af52ed40] Opening 'https://ev-h.phncdn.com/hls/videos/202104/02/386059281/1080P_8000K_386059281.mp4/seg-1-v1-a1.ts?validfrom=1617832360&validto=1617839560&hdl=-1&hash=B8htWwSzbFqwGMjiIdHnkoA2x6E%3D' for reading
[tcp @ 0x515af59e240] Starting connection attempt to 64.210.137.114 port 443
[tcp @ 0x515af59e240] Successfully connected to 64.210.137.114 port 443
[hls @ 0x515af52ed40] HLS request for url 'https://ev-h.phncdn.com/hls/videos/202104/02/386059281/1080P_8000K_386059281.mp4/seg-2-v1-a1.ts?validfrom=1617832360&validto=1617839560&hdl=-1&hash=B8htWwSzbFqwGMjiIdHnkoA2x6E%3D', offset 0, playlist 0
[hls @ 0x515af52ed40] Opening 'https://ev-h.phncdn.com/hls/videos/202104/02/386059281/1080P_8000K_386059281.mp4/seg-2-v1-a1.ts?validfrom=1617832360&validto=1617839560&hdl=-1&hash=B8htWwSzbFqwGMjiIdHnkoA2x6E%3D' for reading
Description
Downloading from PornHub results in a million .temp00.ts files being dumped. I tried using the --yes-playlist flag as well as not using it, same issue. It seems this only occurs when downloading a models/videos page (in attempt to download all their videos), individual downloads seem to download fine and do not open multiple connections either.
I’ve done this many times in the past (download all model videos), with the same command and had no issues on PH. This only started today. I updated yt-dlp to the latest, also tried with youtube-dl. I also tried deleting the cache directory, didn’t fix.
I cut off the log above, however it literally just repeats that for all the many videos. It seems to be opening multiple connections, then downloading to temp files but not merging? Not sure though.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
You only redirected the
stdout
. I neededstderr
tooAnyway, the issue has been fixed upstream. I will merge it before next update Related: https://github.com/ytdl-org/youtube-dl/issues/28698
Closed by: https://github.com/yt-dlp/yt-dlp/commit/f7ad71607d0e733a602a9ae0493292b646d20fd4