XVideos HTTP 404 when downloading m3u8 information

See original GitHub issue

Checklist

  • I’m reporting a bug unrelated to a specific site
  • I’ve verified that I’m running yt-dlp version 2021.11.10.1. (update instructions)
  • 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. DO NOT post duplicates
  • I’ve read the guidelines for opening an issue

Description

Download from XVideo using the latest patch works, but some url doesn’t. Like this one in particular.

Verbose log

[debug] Command-line config: ['-o', './video/%(title)s.%(ext)s', 'http://www.xvideos.com/video65982001/what_s_her_name', '--retries', 'infinite', '--fragment-retries', 'infinite', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, err UTF-8, pref UTF-8
[debug] yt-dlp version 2021.11.10.1
[debug] Lazy loading extractors is disabled
[debug] Python version 3.6.9 (CPython 64bit) - Linux-4.19.128-microsoft-standard-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8
[debug] Optional libraries: Cryptodome, keyring, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [XVideos] Extracting URL: http://www.xvideos.com/video65982001/what_s_her_name
[XVideos] 65982001: Downloading webpage
[XVideos] 65982001: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), 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
[info] 65982001: Downloading 1 format(s): hls-720p
[debug] Invoking downloader on "https://hls-hw.xvideos-cdn.com/videos_new/hls/16/af/cf/16afcfef69dcdd74d15d36d570540b5a/hls-720p-64652.m3u8?e=1638110135&l=0&h=e190584c5702efab90109c8c36a8cf40"
[hlsnative] Downloading m3u8 manifest
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/yt_dlp/YoutubeDL.py", line 2876, in process_info
    success, real_download = self.dl(temp_filename, info_dict)
  File "/usr/local/lib/python3.6/dist-packages/yt_dlp/YoutubeDL.py", line 2597, in dl
    return fd.download(name, new_info, subtitle)
  File "/usr/local/lib/python3.6/dist-packages/yt_dlp/downloader/common.py", line 399, in download
    ret = self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.6/dist-packages/yt_dlp/downloader/hls.py", line 68, in real_download
    urlh = self.ydl.urlopen(self._prepare_url(info_dict, man_url))
  File "/usr/local/lib/python3.6/dist-packages/yt_dlp/YoutubeDL.py", line 3319, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.6/urllib/request.py", line 570, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
pukkandancommented, Dec 6, 2021

@sergeevabc Update your yt-dlp

0reactions
dl21g5commented, Jan 9, 2022

@MinePlayersPE That fixed it. Didn’t know about that command. It was automatically downloading the 1080p stream even though it was unavailable. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I cant download xvideos using youtube-dl : r/youtubedl - Reddit
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make ...
Read more >
[Solved] How to Fix Video DownloadHelper Not Working and ...
Select an output folder for the video and then press the “Download All” button to download videos at one go. Now. Free download...
Read more >
m3u8 and ffmpeg - VideoHelp Forum
I've used M3u8x and ffmpeg and different m3u8 links but it has still ... up with a depressing "HTTP error 404 not found"...
Read more >
Video SEO Best Practices | Google Search Central
Once Google has identified a video on a page, additional information is needed to ... Return a 404 (Not found) HTTP status code...
Read more >
Viewing online file analysis results for 'yct.exe'
Spyware/Information Retrieval ... FileDescription: aTube Catcher to download and convert videos. ... Download All Memory Strings (5.1KiB).
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