yt-dlp: (Pornhub) ERROR: unable to download video data: HTTP Error 472

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

  • I’m reporting a broken site
  • I’ve verified that I’m running yt-dlp version 2022.08.08 (update instructions) or later (specify commit)
  • I’ve checked that all provided URLs are playable in a browser with the same IP and same login details
  • 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. DO NOT post duplicates
  • I’ve read the guidelines for opening an issue
  • I’ve read about sharing account credentials and I’m willing to share it if required

Region

Canada

Provide a description that is worded well enough to be understood

Error 472 , videos are not downloading.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', 'https://www.pornhub.com/view_video.php?viewkey=ph5e7ddf5bcbbca']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out UTF-8, error UTF-8, screen UTF-8
[debug] yt-dlp version 2022.08.08 [3157158] (zip)
[debug] Python 3.7.9 (CPython 64bit) - Linux-4.19-ovh-xxxx-std-ipv6-64-x86_64-with-centos-7.9.2009-Core (glibc 2.17)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8
[debug] Optional libraries: none
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.08.08, Current version: 2022.08.08
yt-dlp is up to date (2022.08.08)
[debug] [PornHub] Extracting URL: https://www.pornhub.com/view_video.php?viewkey=ph5e7ddf5bcbbca
[PornHub] ph5e7ddf5bcbbca: Downloading pc webpage
[PornHub] ph5e7ddf5bcbbca: Downloading JSON metadata
[debug] Sort order given by extractor: height, width, fps, format_id
[debug] Formats sorted by: hasvid, ie_pref, height, width, fps, id, lang, quality, res, hdr:12(7), channels, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source
[debug] Default format spec: bestvideo*+bestaudio/best
[info] ph5e7ddf5bcbbca: Downloading 1 format(s): 720p
[debug] Invoking http downloader on "https://ev.phncdn.com/videos/201603/21/71659671/191019_1446_720P_4000K_71659671.mp4?validfrom=1632770612&validto=1632777812&rate=500k&burst=1000k&ipa=162.211.96.225&hash=5CYLDGi46uYZ402kGCvHZno8Q2s%3D"
ERROR: unable to download video data: HTTP Error 472:
Traceback (most recent call last):
  File "yt-dlp/yt_dlp/YoutubeDL.py", line 3169, in process_info
    success, real_download = self.dl(temp_filename, info_dict)
  File "yt-dlp/yt_dlp/YoutubeDL.py", line 2893, in dl
    return fd.download(name, new_info, subtitle)
  File "yt-dlp/yt_dlp/downloader/common.py", line 442, in download
    ret = self.real_download(filename, info_dict)
  File "yt-dlp/yt_dlp/downloader/http.py", line 371, in real_download
    establish_connection()
  File "yt-dlp/yt_dlp/downloader/http.py", line 129, in establish_connection
    ctx.data = self.ydl.urlopen(request)
  File "yt-dlp/yt_dlp/YoutubeDL.py", line 3647, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/lib/python3.7/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/local/lib/python3.7/urllib/request.py", line 641, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/lib/python3.7/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/local/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.7/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 472:

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 3
  • Comments: 24 (8 by maintainers)

Commits related to this issue

Most upvoted comments

I fixed the bug by recompiling with a new python version You can download here

For windows 64bit [LINK REMOVED - pls don’t share binaries here]