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] Unable to extract play info #16990

Closed
akapitany opened this issue Jul 16, 2018 · 3 comments
Closed

[Mixcloud] Unable to extract play info #16990

akapitany opened this issue Jul 16, 2018 · 3 comments

Comments

@akapitany
Copy link

@akapitany akapitany commented Jul 16, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.07.10. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.07.10

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)

Command line output

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.mixcloud.com/napiutravalo/2018-j%C3%BAlius-20-p%C3%A9ntek-%C3%A9vk%C3%B6zi-15-h%C3%A9t/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.10
[debug] Python version 3.6.5 (CPython) - Linux-4.16.9-1-ARCH-x86_64-with-arch
[debug] exe versions: none
[debug] Proxy map: {}
[mixcloud] napiutravalo-2018-július-20-péntek-évközi-15-hét: Downloading webpage
ERROR: Unable to extract play info; 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.
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/mixcloud.py", line 87, in _real_extract
    webpage, 'play info'), 'play info')
  File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 981, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 972, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract play info; 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.


Description of your issue, suggested solution and other information

Week before everything was working correctly, it seems the Mixcloud website-structure is changed, regex patterns needs to be realigned.

Note

Playlist downloading is not working too, its maybe also related to website structure, I reported it here: #15197


Thank you very much to developing this great program!

@gfabiano
Copy link
Contributor

@gfabiano gfabiano commented Jul 28, 2018

issue resolved @dstftw

@michaelwalkerfl
Copy link

@michaelwalkerfl michaelwalkerfl commented Aug 11, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.08.04. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • [ x] I've verified and I assure that I'm running youtube-dl 2018.08.04

Before submitting an issue make sure you have:

  • [x ] At least skimmed through the README, most notably the FAQ and BUGS sections
  • [ x] Searched the bugtracker for similar issues including closed ones
  • [ x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • [x ] Bug report (encountered problems with youtube-dl)

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

➜  youtube-dl -v -f mp3 --audio-quality 0 "https://www.mixcloud.com/alessandro-gatta/alex-gatta-live-at-saporetti-sunset-sabaudia-10-08-2018/"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-f', u'mp3', u'--audio-quality', u'0', u'https://www.mixcloud.com/alessandro-gatta/alex-gatta-live-at-saporetti-sunset-sabaudia-10-08-2018/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.08.04
[debug] Python version 2.7.15 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.0.2, ffprobe 4.0.2
[debug] Proxy map: {}
[mixcloud] alessandro-gatta-alex-gatta-live-at-saporetti-sunset-sabaudia-10-08-2018: Downloading webpage
ERROR: Unable to extract play info; 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 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/mixcloud.py", line 87, in _real_extract
    webpage, 'play info'), 'play info')
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 981, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 972, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract play info; 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.
...
<end of log>

Description of your issue, suggested solution and other information

I'm encountering the same issue. For good measure, I also tried uninstalling the version installed via brew install youtube-dl and used the curl install from the README to pull the latest version as this issue is reported as fixed. After such, I'm encountering the exact same error.

@parmjitv
Copy link
Contributor

@parmjitv parmjitv commented Oct 13, 2018

Hi @akapitany,

Apparently this issue is now resolved - I am able to fetch these URLs without any breaking errors.

Cheers,

Parmjit V.

$ youtube-dl -vF 'https://www.mixcloud.com/napiutravalo/2018-j%C3%BAlius-20-p%C3%A9ntek-%C3%A9vk%C3%B6zi-15-h%C3%A9t/'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-vF', u'https://www.mixcloud.com/napiutravalo/2018-j%C3%BAlius-20-p%C3%A9ntek-%C3%A9vk%C3%B6zi-15-h%C3%A9t/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.10.05
[debug] Python version 2.7.9 (CPython) - Linux-3.16.0-4-686-pae-i686-with-debian-8.7
[debug] exe versions: ffmpeg 3.2.4-1, ffprobe 3.2.4-1
[debug] Proxy map: {}
[mixcloud] napiutravalo-2018-július-20-péntek-évközi-15-hét: Downloading webpage
[mixcloud] napiutravalo-2018-július-20-péntek-évközi-15-hét: Downloading JS
[mixcloud] napiutravalo-2018-július-20-péntek-évközi-15-hét: Downloading m3u8 information
[mixcloud] napiutravalo-2018-július-20-péntek-évközi-15-hét: Downloading MPD manifest
[info] Available formats for napiutravalo-2018-július-20-péntek-évközi-15-hét:
format code  extension  resolution note
dash-a1-x3   m4a        audio only DASH audio   65k , m4a_dash container, mp4a.40.2 (22050Hz)
hls          mp4        unknown    
http         m4a        unknown    (best)
$ youtube-dl -vF 'https://www.mixcloud.com/alessandro-gatta/alex-gatta-live-at-saporetti-sunset-sabaudia-10-08-2018/'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-vF', u'https://www.mixcloud.com/alessandro-gatta/alex-gatta-live-at-saporetti-sunset-sabaudia-10-08-2018/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.10.05
[debug] Python version 2.7.9 (CPython) - Linux-3.16.0-4-686-pae-i686-with-debian-8.7
[debug] exe versions: ffmpeg 3.2.4-1, ffprobe 3.2.4-1
[debug] Proxy map: {}
[mixcloud] alessandro-gatta-alex-gatta-live-at-saporetti-sunset-sabaudia-10-08-2018: Downloading webpage
[mixcloud] alessandro-gatta-alex-gatta-live-at-saporetti-sunset-sabaudia-10-08-2018: Downloading JS
[mixcloud] alessandro-gatta-alex-gatta-live-at-saporetti-sunset-sabaudia-10-08-2018: Downloading m3u8 information
[mixcloud] alessandro-gatta-alex-gatta-live-at-saporetti-sunset-sabaudia-10-08-2018: Downloading MPD manifest
[info] Available formats for alessandro-gatta-alex-gatta-live-at-saporetti-sunset-sabaudia-10-08-2018:
format code  extension  resolution note
dash-a1-x3   m4a        audio only DASH audio   69k , m4a_dash container, mp4a.40.2 (22050Hz)
hls          mp4        unknown    
http         m4a        unknown    (best)
@remitamine remitamine closed this Oct 15, 2018
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
5 participants
You can’t perform that action at this time.