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

Need help, I suddenly can't visit any video http://v.youku.com from Yesterday,please solve it . #14880

Closed
dream4today18888 opened this issue Nov 30, 2017 · 7 comments
Labels

Comments

@dream4today18888
Copy link

@dream4today18888 dream4today18888 commented Nov 30, 2017

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 2017.11.26. 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 2017.11.26
    version as follow:
    youtube-dl --version
    2017.11.26

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

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


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:

question as follows:
/usr/local/bin/youtube-dl -i --skip-download "http://v.youku.com/v_show/id_XMTQ4OTI5NTQ4NA==.html" --list-formats --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-i', '--skip-download', 'http://v.youku.com/v_show/id_XMTQ4OTI5NTQ4NA==.html', '--list-formats', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.11.26
[debug] Python version 3.6.0 - Linux-3.10.0-327.22.2.el7.x86_64-x86_64-with-centos-7.2.1511-Core
[debug] exe versions: none
[debug] Proxy map: {}
[youku] XMTQ4OTI5NTQ4NA: Retrieving cna info
[youku] XMTQ4OTI5NTQ4NA: Downloading JSON metadata
ERROR: Youku server reported error -6004: 客户端无权播放,201; 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 784, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 437, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youku.py", line 189, in _real_extract
raise ExtractorError(msg)
youtube_dl.utils.ExtractorError: Youku server reported error -6004: 客户端无权播放,201; 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.

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] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2017.11.26
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<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):

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.

@dream4today18888
Copy link
Author

@dream4today18888 dream4today18888 commented Nov 30, 2017

other people have the same question.how to solve it!!!!!!

@hxhowl
Copy link
Contributor

@hxhowl hxhowl commented Nov 30, 2017

I have solution by change 'ccode' with 0501 in new version code youku.py line 157. I have pull request the change file.

@dream4today18888
Copy link
Author

@dream4today18888 dream4today18888 commented Nov 30, 2017

when you give me the correct version???

@siddht5
Copy link

@siddht5 siddht5 commented Nov 30, 2017

@dream4today18888 @zcanfly means to say he has already pull requested for the change by changing https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/youku.py#L157 from ccode': '0502' to ccode': '0501'. which will only be merged by the collaborators/author of youtube-dl project.

If you want it asap then you may need to manually change the code in your system by changing the line number 157 from youtube_dl/extractor/youku.py.

But you have to wait till the code arrives

@westspy
Copy link

@westspy westspy commented Nov 30, 2017

ccode=0501, can't download the full file. The video length is 10 minutes only.

@dream4today18888
Copy link
Author

@dream4today18888 dream4today18888 commented Nov 30, 2017

please quick release the newest version to solve this bug.

@remitamine remitamine mentioned this issue Dec 1, 2017
0 of 8 tasks complete
@CoXier
Copy link
Contributor

@CoXier CoXier commented Dec 2, 2017

Same question. +1

@dstftw dstftw closed this Dec 2, 2017
@dstftw dstftw added the duplicate label Dec 2, 2017
@ytdl-org ytdl-org deleted a comment from CoXier Dec 2, 2017
@ytdl-org ytdl-org locked and limited conversation to collaborators Dec 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.