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

fix radiozvezda.ru #21157

Open
githubeing opened this issue May 19, 2019 · 0 comments
Open

fix radiozvezda.ru #21157

githubeing opened this issue May 19, 2019 · 0 comments

Comments

@githubeing
Copy link

@githubeing githubeing commented May 19, 2019

Checklist

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

Verbose log

C:\Users\uname\Downloads>youtube-dl -v https://www.radiozvezda.ru/podcasts/program
/byla-istoriya/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.radiozvezda.ru/podcasts/program/b
yla-istoriya/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.05.11
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[generic] byla-istoriya: Requesting header
WARNING: Falling back on generic information extractor.
[generic] byla-istoriya: Downloading webpage
[generic] byla-istoriya: Extracting information
[download] Downloading playlist: ????????
[generic] playlist ????????: Collected 40 video ids (downloading 40 of them)
[download] Downloading video 1 of 40
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://www.radiozvezda.ru/podcasts/program/byla
-istoriya/uploads/podcasts/2600e833c7.mp3'
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4jj6sg
ve\build\youtube_dl\YoutubeDL.py", line 1915, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4jj6sg
ve\build\youtube_dl\YoutubeDL.py", line 1854, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4jj6sg
ve\build\youtube_dl\downloader\common.py", line 364, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4jj6sg
ve\build\youtube_dl\downloader\http.py", line 341, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4jj6sg
ve\build\youtube_dl\downloader\http.py", line 109, in establish_connection
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4jj6sg
ve\build\youtube_dl\YoutubeDL.py", line 2227, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_defau
lt
urllib.error.HTTPError: HTTP Error 404: Not Found


C:\Users\uname\Downloads>youtube-dl -v https://www.radiozvezda.ru/podcasts/program
/byla-istoriya/?page=3
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.radiozvezda.ru/podcasts/program/b
yla-istoriya/?page=3']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.05.11
[debug] Python version 3.4.4 (CPython) - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[generic] ?page=3: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ?page=3: Downloading webpage
[generic] ?page=3: Extracting information
[download] Downloading playlist: ????????
[generic] playlist ????????: Collected 28 video ids (downloading 28 of them)
[download] Downloading video 1 of 28
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://www.radiozvezda.ru/podcasts/program/byla
-istoriya/uploads/podcasts/589fa530c9.mp3'
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4jj6sg
ve\build\youtube_dl\YoutubeDL.py", line 1915, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4jj6sg
ve\build\youtube_dl\YoutubeDL.py", line 1854, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4jj6sg
ve\build\youtube_dl\downloader\common.py", line 364, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4jj6sg
ve\build\youtube_dl\downloader\http.py", line 341, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4jj6sg
ve\build\youtube_dl\downloader\http.py", line 109, in establish_connection
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmp4jj6sg
ve\build\youtube_dl\YoutubeDL.py", line 2227, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_defau
lt
urllib.error.HTTPError: HTTP Error 404: Not Found

Description

https://www.radiozvezda.ru/podcasts/program/byla-istoriya/

should download from

https://www.radiozvezda.ru/uploads/podcasts/2600e833c7.mp3

but it downloads from

https://www.radiozvezda.ru/podcasts/program/byla-istoriya/uploads/podcasts/2600e833c7.mp3

i.e. it uses an uri relative to path while has to use an uri relative to server root.

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.