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

Mixcloud failing for below mentioned artist while working for many others tested #32757

Open
1 task
miroslav82 opened this issue Mar 29, 2024 · 1 comment · May be fixed by #32557
Open
1 task

Mixcloud failing for below mentioned artist while working for many others tested #32757

miroslav82 opened this issue Mar 29, 2024 · 1 comment · May be fixed by #32557
Labels
broken-IE problem with existing site extraction

Comments

@miroslav82
Copy link

Checklist

  • [ x] I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2021.12.17
  • [ 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 bug reports including closed ones
  • [ x] I've read bugs section in FAQ

Verbose log

C:\soft>youtube-dl.exe https://www.mixcloud.com/adambeyer/dcr708-drumcode-radio-live-adam-beyer-live-mix-from-ants-at-zamna-tulum/ --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.mixcloud.com/adambeyer/dcr708-drumcode-radio-live-adam-beyer-live-mix-from-ants-at-zamna-tulum/', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2024.03.24 [71211e7db] (single file build)
[debug] ** This version was built from the latest master code at https://github.com/ytdl-org/youtube-dl.
[debug] ** For support, visit the main site.
[debug] Python 3.4.4 (CPython AMD64 32bit) - Windows-7-6.1.7601-SP1 - OpenSSL 1.0.2d 9 Jul 2015
[debug] exe versions: none
[debug] Proxy map: {}
[mixcloud] adambeyer_dcr708-drumcode-radio-live-adam-beyer-live-mix-from-ants-at-zamna-tulum: Downloading JSON metadata
ERROR: adambeyer_dcr708-drumcode-radio-live-adam-beyer-live-mix-from-ants-at-zamna-tulum: Failed to parse JSON  (caused by ValueError('Expecting value: line 1 column 1 (char 0)',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\common.py", line 951, in _parse_json
  File "C:\hostedtoolcache\windows\Python\3.4.4\x86\lib\json\__init__.py", line 318, in loads
  File "C:\hostedtoolcache\windows\Python\3.4.4\x86\lib\json\decoder.py", line 343, in decode
  File "C:\hostedtoolcache\windows\Python\3.4.4\x86\lib\json\decoder.py", line 361, in raw_decode
ValueError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\common.py", line 951, in _parse_json
  File "C:\hostedtoolcache\windows\Python\3.4.4\x86\lib\json\__init__.py", line 318, in loads
  File "C:\hostedtoolcache\windows\Python\3.4.4\x86\lib\json\decoder.py", line 343, in decode
  File "C:\hostedtoolcache\windows\Python\3.4.4\x86\lib\json\decoder.py", line 361, in raw_decode
ValueError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\YoutubeDL.py", line 863, in wrapper
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\YoutubeDL.py", line 959, in __extract_info
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\common.py", line 571, in extract
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\mixcloud.py", line 129, in _real_extract
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\mixcloud.py", line 32, in _call_api
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\common.py", line 944, in _download_json
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\common.py", line 928, in _download_json_handle
  File "D:\a\ytdl-nightly\ytdl-nightly\youtube_dl\extractor\common.py", line 955, in _parse_json
youtube_dl.utils.ExtractorError: adambeyer_dcr708-drumcode-radio-live-adam-beyer-live-mix-from-ants-at-zamna-tulum: Failed to parse JSON  (caused by ValueError(
'Expecting value: line 1 column 1 (char 0)',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl
 -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

I am getting error with Adam Beyer on MixCloud, with any track I try playing. Please find verbose output attached, I am using latest version and tested with nightly release also to verify issue exists.

@dirkf dirkf changed the title Mixcloud failing for bellow mentioned artist while working for many others tested Mixcloud failing for below mentioned artist while working for many others tested Mar 30, 2024
@dirkf
Copy link
Contributor

dirkf commented Mar 30, 2024

There is a new API host, and it seems that some new (?) tracks are only available through the new host.

PR #32557 should fix this and will be merged soon.

@dirkf dirkf linked a pull request Mar 30, 2024 that will close this issue
11 tasks
@dirkf dirkf added the broken-IE problem with existing site extraction label Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken-IE problem with existing site extraction
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants