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 OpenGraph title #17865

Closed
1 of 9 tasks
cdeex opened this issue Oct 12, 2018 · 3 comments
Closed
1 of 9 tasks

mixcloud: Unable to extract OpenGraph title #17865

cdeex opened this issue Oct 12, 2018 · 3 comments

Comments

@cdeex
Copy link

cdeex commented Oct 12, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.10.05. 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.10.05

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)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


$ youtube-dl https://www.mixcloud.com/funkyfalc/ --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.mixcloud.com/funkyfalc/', u'--verbose']
[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.5 (CPython) - Linux-3.10.0-862.11.6.el7.x86_64-x86_64-with-centos-7.5.1804-Core
[debug] exe versions: ffmpeg 2.8.15, ffprobe 2.8.15
[debug] Proxy map: {}
[mixcloud:user] funkyfalc_uploads: Downloading user profile
ERROR: Unable to extract OpenGraph title; 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 507, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/mixcloud.py", line 291, in _real_extract
username = self._og_search_title(profile)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1089, in _og_search_title
return self._og_search_property('title', html, **kargs)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1077, in _og_search_property
escaped = self._search_regex(og_regexes, html, name, flags=re.DOTALL, **kargs)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 977, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract OpenGraph title; 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.


If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.

@parmjitv
Copy link
Contributor

Hi @cdeex,

Are you still having this same issue? I am able to fetch this URL without any breaking errors, albeit with the same zero-item playlist result already noted in issues #15197 and #16057.

Cheers,

Parmjit V.

$ youtube-dl -v https://www.mixcloud.com/funkyfalc/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.mixcloud.com/funkyfalc/']
[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:user] funkyfalc_uploads: Downloading user profile
[download] Downloading playlist: FALCON1 (uploads)
[mixcloud:user] funkyfalc_uploads: Download list of uploads (page 1)
[mixcloud:user] playlist FALCON1 (uploads): Downloading 0 videos
[download] Finished downloading playlist: FALCON1 (uploads)

@1358
Copy link

1358 commented Mar 1, 2019

first call:

$ youtube-dl https://www.mixcloud.com/andidurrant/ --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.mixcloud.com/andidurrant/', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.03.01                                                                                                                                                                                                                       pts/15 2307
[debug] Python version 2.7.15+ (CPython) - Linux-4.18.0-15-generic-x86_64-with-Ubuntu-18.10-cosmic                                                                                                                                                                   \253\273] exe versions: ffmpeg 4.0.2-2, ffprobe 4.0.2-2
[debug] Proxy map: {}
[mixcloud:user] andidurrant_uploads: Downloading user profile
ERROR: Unable to extract OpenGraph title; 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 794, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 508, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/mixcloud.py", line 297, in _real_extract
    username = self._og_search_title(profile)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1095, in _og_search_title
    return self._og_search_property('title', html, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1083, in _og_search_property
    escaped = self._search_regex(og_regexes, html, name, flags=re.DOTALL, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 983, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)                                                                                                                                                                                                pts/15 2307
RegexNotFoundError: Unable to extract OpenGraph title; 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 ou\253\273           

second call:

$ youtube-dl https://www.mixcloud.com/andidurrant/ --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.mixcloud.com/andidurrant/', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.03.01
[debug] Python version 2.7.15+ (CPython) - Linux-4.18.0-15-generic-x86_64-with-Ubuntu-18.10-cosmic
[debug] exe versions: ffmpeg 4.0.2-2, ffprobe 4.0.2-2
[debug] Proxy map: {}
[mixcloud:user] andidurrant_uploads: Downloading user profile
[download] Downloading playlist: Andi Durrant (uploads)
[mixcloud:user] andidurrant_uploads: Download list of uploads (page 1)
[mixcloud:user] playlist Andi Durrant (uploads): Downloading 0 videos
[download] Finished downloading playlist: Andi Durrant (uploads)

@ElucGeek
Copy link

ElucGeek commented Oct 3, 2019

This is open from 1 year and I think the issue started even before. Many other tickets are open for the same issue or an issue related to this one. Is there anyone working on this ? How hard would it be to solve it ? Why is it so different than another website to scrap the URL from a page ?

meunierd referenced this issue in meunierd/youtube-dl Feb 13, 2020
- improve metadata extraction(closes #11721)
- fix playlist extraction(closes #22378)
- fix user mixes extraction(closes #15197)(closes #17865)
pareronia referenced this issue in pareronia/youtube-dl Jun 22, 2020
- improve metadata extraction(closes #11721)
- fix playlist extraction(closes #22378)
- fix user mixes extraction(closes #15197)(closes #17865)
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

4 participants