yt-dlp: [xhamster] An extractor error has occurred. (caused by KeyError('videoModel'))

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

Region

USA

Provide a description that is worded well enough to be understood

New at this…had been using youtube-dl until updating. Still receiving an error when attempting to download. I see it’s been brought up in the past and I’ve attempted troubleshooting but it still fails.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

djp@-mbp-2 ~ % yt-dlp -vU https://xhamster.com/videos/sucking-off-my-straight-college-bro-12156495
[debug] Command-line config: ['-vU', 'https://xhamster.com/videos/sucking-off-my-straight-college-bro-12156495']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.10.13 [b634ba742] (pip)
[debug] Python 3.12.0 (CPython arm64 64bit) - macOS-13.5.2-arm64-arm-64bit (OpenSSL 3.1.3 19 Sep 2023)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, sqlite3-3.43.2, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1890 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version: stable@2023.10.13, Current version: stable@2023.10.13
yt-dlp is up to date (stable@2023.10.13)
[XHamster] Extracting URL: https://xhamster.com/videos/sucking-off-my-straight-college-bro-12156495
[XHamster] 12156495: Downloading webpage
ERROR: An extractor error has occurred. (caused by KeyError('videoModel')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/opt/homebrew/Cellar/yt-dlp/2023.10.13/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 715, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/yt-dlp/2023.10.13/libexec/lib/python3.12/site-packages/yt_dlp/extractor/xhamster.py", line 155, in _real_extract
    video = initials['videoModel']
            ~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'videoModel'


//// original error: 



djp@-mbp-2 ~ % yt-dlp 'https://xhamster.com/videos/sucking-off-my-straight-college-bro-12156495' 
[XHamster] Extracting URL: https://xhamster.com/videos/sucking-off-my-straight-college-bro-12156495
[XHamster] 12156495: Downloading webpage
ERROR: An extractor error has occurred. (caused by KeyError('videoModel')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
djp@-mbp-2 ~ %

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 19 (7 by maintainers)

Most upvoted comments

Bucket

It is done on a volunteer basis