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

Odysee.com: HTTP Error 308: Permanent Redirect #28768

Closed
RomanSedykh opened this issue Apr 16, 2021 · 0 comments
Closed

Odysee.com: HTTP Error 308: Permanent Redirect #28768

RomanSedykh opened this issue Apr 16, 2021 · 0 comments

Comments

@RomanSedykh
Copy link

Checklist

  • [x ] I'm reporting a broken site support
  • [ x] I've verified that I'm running youtube-dl version 2021.04.07
  • [ x] I've checked that all provided URLs are alive and playable in a browser
  • [ x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • [ x] I've searched the bugtracker for similar issues including closed ones

Verbose log

youtube-dl -v https://odysee.com/@gardeningincanada:b/plants-i-will-never-grow-again.-the:e[debug] System config: []
[debug] User config: ['-f', 'bestvideo[height<=1080]+bestaudio/best', '--merge-output-format', 'mkv', '-o', '/home/roman/Videos/%(uploader)s - %(playlist)s/(%(upload_date)s) %(title)s.%(ext)s']
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://odysee.com/@gardeningincanada:b/plants-i-will-never-grow-again.-the:e']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.04.07
[debug] Python version 3.9.2 (CPython) - Linux-5.12.0-1-MANJARO-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.3.2, ffprobe 4.3.2, rtmpdump 2.4
[debug] Proxy map: {}
[lbry] @gardeningincanada#b/plants-i-will-never-grow-again.-the#e: Downloading stream JSON metadata
[lbry] e51671357333fe22ae88aad320bde2f6f96b1410: Downloading streaming url JSON metadata
[debug] Invoking downloader on 'https://cdn.lbryplayer.xyz/api/v4/streams/free/plants-i-will-never-grow-again.-the/e51671357333fe22ae88aad320bde2f6f96b1410/c4b3f2'
ERROR: unable to download video data: HTTP Error 308: Permanent Redirect
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1967, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1906, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 351, in real_download
    establish_connection()
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 116, in establish_connection
    raise err
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 110, in establish_connection
    ctx.data = self.ydl.urlopen(request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2279, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 308: Permanent Redirect

Description

i have issue downloading some videos in odysee as can be seen in log above. i searched for that error, and found similar issues including this one #20752
at he end remitamine says that "this will be hard to fix because of the short window to access the temporary live archive manifests." so i decided to make issue because those errors doesn't seems to be going away any time soon, and there is plenty time to search for source of this error. one can simply try to download whole user in odysee (https://odysee.com/@gardeningincanada:b as a download link for example) and you will get a lot of those errors for many videos.

dstftw added a commit that referenced this issue Apr 16, 2021
@dstftw dstftw closed this as completed in 30a3a4c Apr 16, 2021
github-actions bot added a commit to hellopony/youtube-dl that referenced this issue Apr 17, 2021
* https://github.com/ytdl-org/youtube-dl:
  [cbsnews] Fix extraction for python <3.6 (closes ytdl-org#23359)
  release 2021.04.17
  [ChangeLog] Actualize [ci skip]
  [utils] PEP 8
  [lbry] Add support for HLS videos (closes ytdl-org#27877, closes ytdl-org#28768)
  [utils] Add support for support for experimental HTTP response status code 308 Permanent Redirect (refs ytdl-org#27877, refs ytdl-org#28768)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants