Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedded Vimeo 404 #33070

Open
6 tasks done
wedsa5 opened this issue Feb 22, 2025 · 4 comments
Open
6 tasks done

Embedded Vimeo 404 #33070

wedsa5 opened this issue Feb 22, 2025 · 4 comments

Comments

@wedsa5
Copy link

wedsa5 commented Feb 22, 2025

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2021.12.17
  • 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

$ youtube-dl -v https://www.[redacted].com/watch-now---gated-content
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.[redacted].com/watch-now---gated-content']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.13.2 (CPython) - macOS-14.6-arm64-arm-64bit-Mach-O
[debug] exe versions: none
[debug] Proxy map: {}
[generic] watch-now---gated-content: Requesting header
WARNING: Falling back on generic information extractor.
[generic] watch-now---gated-content: Downloading webpage
[generic] watch-now---gated-content: Extracting information
[vimeo] 1047[redacted]: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/Users/redacted/.local/pipx/venvs/youtube-dl/lib/python3.13/site-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage
    return self._downloader.urlopen(url_or_request)
           ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/Users/redacted/.local/pipx/venvs/youtube-dl/lib/python3.13/site-packages/youtube_dl/YoutubeDL.py", line 2288, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 495, in open
    response = meth(req, response)
  File "/opt/homebrew/Cellar/[email protected]/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 604, in http_response
    response = self.parent.error(
        'http', request, response, code, msg, hdrs)
  File "/opt/homebrew/Cellar/[email protected]/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 533, in error
    return self._call_chain(*args)
           ~~~~~~~~~~~~~~~~^^^^^^^
  File "/opt/homebrew/Cellar/[email protected]/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 466, in _call_chain
    result = func(*args)
  File "/opt/homebrew/Cellar/[email protected]/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 613, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description

The URL in question is a page that requires login. It was a 48hr rental for a film. The video player is from vimeo, and when i click to view the frame source, it gives the url:

view-source:https://player.vimeo.com/video/10471[redacted]?app_id=[redacted]&referrer=https%3A%2F%2Fwww.[redacted].com%2F

Which, when loaded, shows the page:
Image
The page does not seem to store any cookies and none were extracted using browser extensions. (I also attempted this with yt-dlp with the --cookies-from-browser brave option to no success).

@dirkf
Copy link
Contributor

dirkf commented Feb 22, 2025

Feel free to read #30839 as asked and try your redacted command with the latest nightly release. The Vimeo extractor has had several fixes since 2021.12.17 but there are also known open issues, that you can search for.

However if yt-dlp didn't work in this case, I expect the same problem applies here.

@dirkf
Copy link
Contributor

dirkf commented Feb 22, 2025

Possibly related, or may have work-arounds: #12346.

Also, you could try pulling out the value of the referrer query parameter from the view-source: URL and passing it as the value of the yt-dl/yt-dlp --referer ... parameter (NB spellings).

@wedsa5
Copy link
Author

wedsa5 commented Feb 22, 2025

Feel free to read #30839 as asked and try your redacted command with the latest nightly release. The Vimeo extractor has had several fixes since 2021.12.17 but there are also known open issues, that you can search for.

However if yt-dlp didn't work in this case, I expect the same problem applies here.

latest nightly failed as well. and yes, yt-dlp fails with its nightly too.

Possibly related, or may have work-arounds: #12346.

Also, you could try pulling out the value of the referrer query parameter from the view-source: URL and passing it as the value of the yt-dl/yt-dlp --referer ... parameter (NB spellings).

I have tried this as well to no success. (i also noticed referrer was spelled wrong lol)

@ccrlamichhane
Copy link

ccrlamichhane commented Mar 1, 2025

Could you provide more info on how i can reproduce this

like what kind of video should i check with in vimeo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants