Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[iQIYI] Fix VIP support #9839
[iQIYI] Fix VIP support #9839
Comments
Use the HTML5 API. Only low-resolution formats available Related: #9839 Thanks @zhangn1985 for the overall algorithm (soimort/you-get#1224)
|
Partially fixed in 5b6ad86. Now youtube-dl can download the low-resolution version. |
|
谢谢了~不过我主要还是需要VIP,1080p和4K的解析,能破解低清很不错了,大神们继续加油。Thanks. |
|
VIP-only videos are on the plan. I'll try to download all resolutions for ordinary videos first. By the way, please use English as much as possible so that others can understand the situation. |
|
@yan12125 I find that it can support more formats,but no 4K.And VIP videos are still not woking.
|
|
Could you try |
|
Still not working.
|
Maybe something has changed at Iqiyi. Have you tried to login via the web interface and enter the CAPTCHA code? |
|
I have logged in iqiyi's website, and I can watch this video online. But the result is same. |
|
Need a pair of valid username/password for further testing. If you trust me, you can drop me a mail with the username and the password. IMPORTANT: If I remember it correctly Iqiyi doesn't like logging from multiple geographic locations. I'm in Taiwan and I'm not sure whether your account may be locked or not if I log in here. |
|
@yan12125 I have sent my account to your email. Please check. |
|
@m0ment Could you try this branch? https://github.com/yan12125/youtube-dl/tree/iqiyi-vcode It will ask you the verification code. The code can be found in a image file captcha.gif |
|
@yan12125 I have tried, I can get the verification code, but it's still a mistake.
|
|
@m0ment Do you have a VIP-only video that is available outside Mainland China? I can't find a working proxy for VIP-only videos. |
|
@yan12125 I'm sorry, I can't find. |
|
Never mind. Let's wait until someone finds a way for people outside Mainland China to watch VIP-only videos. |
|
Hello. You can get a proxy here. Use OpenVPN to connect. https://vnet.one/?rc=2879 |
|
@yan12125 I have tested in mainland, login properly, but the url return is still non-vip addr and 6 min video is downloaded. In fact, when I switch web browser (chrome to firefox) with the same PC, later login would disable the former one. I am just wondering why mobile port is used for iqiyi for current version, what happed to the PC port? |
I can't reverse iqiyi's code from complicated SWF files. If you know how feel free to open an pull request. |
|
@yan12125 |
|
Looks good. But we can't use it directly without explicit permissions due to licensing restrictions. zhangn1985/ykdl is licensed under MIT and the original code https://github.com/tuling56/Python/blob/master/Projects/down_video/iqiyi_video_download.py has no license declarations. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.06.19.1. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
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
-vflag 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 ```):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
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 required an account credentials please provide them or explain how one can obtain them.
youtube-dl -v -F http://www.iqiyi.com/v_19rrkyywoo.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-F', 'http://www.iqiyi.com/v_19rrkyywoo.html']
[debug] Encodings: locale cp936, fs mbcs, out cp936, pref cp936
[debug] youtube-dl version 2016.06.19.1
[debug] Python version 3.5.1 - Windows-10-10.0.10586-SP0
[debug] exe versions: ffmpeg 3.0
[debug] Proxy map: {}
[iqiyi] temp_id: download video page
[iqiyi] 7f13d67408c4d737588e84d3c8b0985b: Downloading JSON metadata
[iqiyi] 7f13d67408c4d737588e84d3c8b0985b: Download path key of segment 1 for format h3
[iqiyi] 7f13d67408c4d737588e84d3c8b0985b: Download video info of segment 1 for format h3
[iqiyi] 7f13d67408c4d737588e84d3c8b0985b: Download path key of segment 1 for format h6
[iqiyi] 7f13d67408c4d737588e84d3c8b0985b: Download video info of segment 1 for format h6
[iqiyi] 7f13d67408c4d737588e84d3c8b0985b: Download path key of segment 1 for format h5
[iqiyi] 7f13d67408c4d737588e84d3c8b0985b: Download video info of segment 1 for format h5
[info] Available formats for 7f13d67408c4d737588e84d3c8b0985b:
format code extension resolution note
h6 f4v unknown 4.29MiB
h5 f4v unknown 6.63MiB
h3 f4v unknown 16.39MiB (best)
This URL is a 40-minute video,This result is wrong.Please fix this,thanks.