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

ERROR: Unable to extract preview url; for some mixcloud urls #9156

Closed
vaibhav1312 opened this issue Apr 11, 2016 · 3 comments
Closed

ERROR: Unable to extract preview url; for some mixcloud urls #9156

vaibhav1312 opened this issue Apr 11, 2016 · 3 comments

Comments

@vaibhav1312
Copy link

@vaibhav1312 vaibhav1312 commented Apr 11, 2016

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 that [x])
  • Use Preview tab to see how your issue will actually look like

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

Before submitting an issue make sure you have:

  • [x ] At least skimmed through README and most notably FAQ and BUGS sections
  • [x ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • [x ] 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


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 -v flag to your command line you run youtube-dl with, 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 -g -v "https://www.mixcloud.com/JoeSoHeady/eminem-mix/"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-g', u'-v', u'https://www.mixcloud.com/JoeSoHeady/eminem-mix/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.04.06
[debug] Python version 2.7.6 - Linux-3.13.0-71-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: none
[debug] Proxy map: {}
ERROR: Unable to extract preview url; 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 "/home/vaibhav/public_html/downloadenv/local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 669, in extract_info
    ie_result = ie.extract(url)
  File "/home/vaibhav/public_html/downloadenv/local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 323, in extract
    return self._real_extract(url)
  File "/home/vaibhav/public_html/downloadenv/local/lib/python2.7/site-packages/youtube_dl/extractor/mixcloud.py", line 67, in _real_extract
    r'\s(?:data-preview-url|m-preview)="([^"]+)"', webpage, 'preview url')
  File "/home/vaibhav/public_html/downloadenv/local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 627, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract preview url; 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.
<end of log>

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):


Description of your issue, suggested solution and other information

With the same version of youtube-dl i.e. 2016.04.06 running on Mac OS X, the issue does not occur but, on my server running Ubuntu 14.04, problem occurs.

Also the issue is with few urls of mixcloud, with some of the mixcloud urls youtube-dl works fine.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 11, 2016

Post the output of youtube-dl --dump-pages https://www.mixcloud.com/JoeSoHeady/eminem-mix/.

@vaibhav1312
Copy link
Author

@vaibhav1312 vaibhav1312 commented Apr 11, 2016

Output of command
$ youtube-dl --dump-pages https://www.mixcloud.com/JoeSoHeady/eminem-mix/
is in the attached text file i.e output.txt
output.txt

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 11, 2016

Sorry, this upload is unavailable in your country due to licensing restrictions

@dstftw dstftw closed this Apr 11, 2016
dstftw added a commit that referenced this issue Apr 11, 2016
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
2 participants
You can’t perform that action at this time.