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

weibo unsupported or bug report #16980

Open
7 of 9 tasks
wsky11 opened this issue Jul 15, 2018 · 1 comment
Open
7 of 9 tasks

weibo unsupported or bug report #16980

wsky11 opened this issue Jul 15, 2018 · 1 comment

Comments

@wsky11
Copy link

wsky11 commented Jul 15, 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)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other: not completely sure as I am a new user. Checked out other issues regarding weibo but still confused.

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

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.weibo.com/tv/v/FxSmHFoFw?from=vhot']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.10
[debug] Python version 2.7.10 (CPython) - Darwin-16.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.0.1, ffprobe 4.0.1
[debug] Proxy map: {}
[generic] FxSmHFoFw?from=vhot: Requesting header
[redirect] Following redirect to https://passport.weibo.com/visitor/visitor?entry=miniblog&a=enter&url=https%3A%2F%2Fweibo.com%2Ftv%2Fv%2FFxSmHFoFw%3Ffrom%3Dvhot&domain=.weibo.com&ua=php-sso_sdk_client-0.6.28&_rand=1531680191.3988
[generic] visitor?entry=miniblog&a=enter&url=https://weibo.com/tv/v/FxSmHFoFw?from=vhot&domain=.weibo.com&ua=php-sso_sdk_client-0.6.28&_rand=1531680191: Requesting header
WARNING: Falling back on generic information extractor.
[generic] visitor?entry=miniblog&a=enter&url=https://weibo.com/tv/v/FxSmHFoFw?from=vhot&domain=.weibo.com&ua=php-sso_sdk_client-0.6.28&_rand=1531680191: Downloading webpage
[generic] visitor?entry=miniblog&a=enter&url=https://weibo.com/tv/v/FxSmHFoFw?from=vhot&domain=.weibo.com&ua=php-sso_sdk_client-0.6.28&_rand=1531680191: Extracting information
ERROR: Unsupported URL: https://passport.weibo.com/visitor/visitor?entry=miniblog&a=enter&url=https%3A%2F%2Fweibo.com%2Ftv%2Fv%2FFxSmHFoFw%3Ffrom%3Dvhot&domain=.weibo.com&ua=php-sso_sdk_client-0.6.28&_rand=1531680191.3988
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2298, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2542, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2531, in _XML
    parser.feed(text)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 20, column 38
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/generic.py", line 3258, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://passport.weibo.com/visitor/visitor?entry=miniblog&a=enter&url=https%3A%2F%2Fweibo.com%2Ftv%2Fv%2FFxSmHFoFw%3Ffrom%3Dvhot&domain=.weibo.com&ua=php-sso_sdk_client-0.6.28&_rand=1531680191.3988

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.


@bato3
Copy link
Contributor

bato3 commented Jul 17, 2018

Here is some anti-boot / anti add-block mechanisms. It redirected me to https://passport.weibo.com/visitor/visitor?entry=mini... and I must disable uBlock to pass me to video page.

Try add browser cookies: https://github.com/rg3/youtube-dl#how-do-i-pass-cookies-to-youtube-dl

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

2 participants