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.

[Broken] PornHub Creating Many Temp Files

See original GitHub issue

Checklist

  • 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:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pukkandancommented, Apr 8, 2021

I tried sending the logs to a text file, and it doesn’t seem to want to output the log past this?:

You only redirected the stdout. I needed stderr too

Anyway, the issue has been fixed upstream. I will merge it before next update Related: https://github.com/ytdl-org/youtube-dl/issues/28698

Read more comments on GitHub >

github_iconTop Results From Across the Web

Terms Of Service | Pornhub.com
If the information you provide for the creation of your account is not true and correct, you face the immediate termination of your...
Read more >
Pornhub files downloading as m3u8 rather than mp4 #28698
PornHub videos are not downloading correctly. Rather than saving as an .mp4 file, they are saving as an .m3u8. When downloading, a significant ......
Read more >
I accidentally opened an ad on Pornhub. Am I in danger of ...
Pornhub says that this is to create ads that relate to the type of videos you watch, but this statement has been challenged...
Read more >
Model Program Update | Modelhub.com
The disappointing news today comes just two days after Pornhub instituted the most far-reaching changes to safety in any user-generated ...
Read more >
Pornhub just removed most of its videos : r/technology - Reddit
PSA: Many old files on MediaFire will be deleted in less than a month. Backup what you can, and remember that cloud storage...
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