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

Workaround for force-https videos #8

Open
soarqin opened this issue Oct 7, 2018 · 29 comments
Open

Workaround for force-https videos #8

soarqin opened this issue Oct 7, 2018 · 29 comments

Comments

@soarqin
Copy link
Owner

soarqin commented Oct 7, 2018

I have create a new branch to support https videos by help of chrome DevTools.,
Check 0666e9f
This should fix #3, #4, #5, #6, #7
Anyhow this is somewhat complex to use, so that I will not release binary for it before doing some user-friendly tweaks

@YFTX2015
Copy link

YFTX2015 commented Oct 9, 2018

main.go咋个用,用啥子打开?open terminal是要打开啥子终端?还有在chrome中按下F12进入network后根本嗅探不到爱奇艺的视频文件,都是图片和文本文件,还有后缀是script的。

@YFTX2015
Copy link

我又试过了,用visual studio code能够打开main.go,然后选择terminal,基本能按照你说的步骤一步一步操作。但结果果然还是不行。用google chrome保存的HAR文件根本不能下载。

@suishonohana
Copy link

I don't have issues getting a HAR file from chrome DevTools (do I need to check the option to "preserve log"?) but i don't have the executable of the updated main.go to test.

@YFTX2015
Copy link

where is preserve log? I can't find it. And what volume you get from each HAR file?

@suishonohana
Copy link

When you press F12 to go into DevTools on Google Chrome, and after clicking on the Network tab, there is a option to Preserve Log (I am not sure if this option matters though). The file size of the HAR saved was very small (~1.5MB) because I only briefly played the opening of a drama episode to test.

@YFTX2015
Copy link

Can you download it into 1 media file and play it within 6 mininuts?

@suishonohana
Copy link

The HAR file is not a media file though. And i don't have the updated iQ2.exe to process it.

@YFTX2015
Copy link

The main.go was already updated, but the iQ2.exe is not yet. Can you contact the Owner?

@suishonohana
Copy link

We can only wait patiently for him to release the updated iQ2.exe.

@YFTX2015
Copy link

Oh

@YFTX2015
Copy link

What does this mean 'Anyhow this is somewhat complex to use, so that I will not release binary for it before doing some user-friendly tweaks'?

@suishonohana
Copy link

I think the author was saying the new approach is a bit hard to use, so he was planning on making it easier to use before he releases the executable (i.e. iQ2.exe) for it.

@YFTX2015
Copy link

YFTX2015 commented Oct 26, 2018

Oh. By the way, do you know how to open the main.go except by the visual studio code?

@suishonohana
Copy link

Well, you could view the code here https://github.com/soarqin/iQ2/blob/new_approach/main.go

Visual Studio Code is capable of compiling Go code into binary/executable once it installs the extensions for Go. I wasn't successful in getting "main.go" to compile though, it gave me some errors even after getting the github packages installed. I also don't know enough about the Go programming language to debug main.go. If you want to read up on the Go programming language, you could check out golang.org ~ Good luck :)

@YFTX2015
Copy link

YFTX2015 commented Oct 26, 2018

It is too hard for me, after all , I have never learned programming. However, I found other uploaders could still dump iqiyi videos(vip quality), made them into torrents links and uploaded them to the dmhy mirror. I have no idea what methods they could use to download iqiyi vip videos.

@suishonohana
Copy link

I think there's a long way to do it, once you download the video with the official iqiyi client (not everything is downloadable though...). You could use some utility to convert .qsv files to .flv files. Then use other video encoding applicationto re-encode the .flv files to .mp4 format or so on.

I was hoping I could play with iQ2.exe to try it on some videos that I cannot download with iqiyi client. I guess I can only hope the author will release the updated executable soon :)

@YFTX2015
Copy link

I need third tools to download iqiyi animaition just because most of them is restricted in copyright and cannot be directly downloaded through the official iqiyi client. Moreover, the online watching experience of iqiyi videos is rather awesome. Every time I open the online iqiyi video, the boring iqiyi logo always appears on the screen and offen fluctuates up and down. Once I had mentioned this issue to the iqiyi contact staffs, however, they didn't adopt my advice, it was rather disappointing.

@soarqin
Copy link
Owner Author

soarqin commented Oct 26, 2018

Sorry for late to response.
Precompiled binary is uploaded to release section after adding all v1.1 functions from master branch, enjoy!

@YFTX2015
Copy link

I have already done the test. Fortunately, I can get correct .f4v files. However, I can only get 3 files no matter I slide the anime episode into 3 minutes or 6 minutes. But I know the correct file number is 4 or 8, because I once used maxthon sniffer to split numerous iqiyi videos, all of them is following the rule.

@YFTX2015
Copy link

Generally, I cannot get the first part of each animation from iQ2, but I can get it from you-get, and only the first part.

@soarqin
Copy link
Owner Author

soarqin commented Oct 26, 2018

@YFTX2015 please follow steps noted in README, open DevTools first then enter webpage of the video. If you have opened the webpage before calling up DevTools, you can just leave DevTools on and press Ctrl+F5 to refresh the page(without using cache) so that all video tracks are recorded in Network tab of DevTools

@YFTX2015
Copy link

It actually worked, and I finally did it! Thanks very much!

@suishonohana
Copy link

suishonohana commented Oct 26, 2018

@soarqin First of all, thanks for taking the time to update iQ2~ Your effort is greatly appreciated.
I am actually trying iQ2 for drama episodes (the ones that require VIP membership) on iqiyi. The episode seems to be split into 12 F4V files. However, iQ2 seems to capture part 3 to part 12 of the current episode then part 1 to part 2 of the next episode, even though I stop the video before it loads the next episode. Am I doing something wrong? When you say slide the video every 3/6 minutes, does it have to be done at exactly 3 or 6 minutes?

@suishonohana
Copy link

@soarqin Never mind. I tried it again after pressing Ctrl+F5. Finally got it working. Thanks a lot!!!

@YFTX2015
Copy link

This program seems to be specially designed for downloading iqiyi videos. I have tried to use it to dump videos from letv and chocotv(Taiwan), but failed.

@ghost
Copy link

ghost commented Oct 30, 2018

终于能用了,感谢

@BreakshadowCN
Copy link

@soarqin Thanks for your huge effort. This tool works.
But it makes me using one and a half hour (near 75 minutes,in 2x play speed) to carefully rip all of the fragments of my wanted video (which is a concert that last over 150 minutes), and I input all of these har
to iQ2 by hand, which is veeeeeery exhausting.
Would you like to re-find a way to rip the full video with no human work involved? Thank you very much.

@soarqin
Copy link
Owner Author

soarqin commented Dec 10, 2018

@BreakShadow0504
iQIYI do have a badly obfuscated js function which is used to generate validation key in VIP video streaming url. The algorithm is different from the one in normal videos (which is already resolved and you can find it in project ykdl)
So the only thing I need is that any hacker can make this algorithm resolved.

@YFTX2015
Copy link

It seems to lose effectiveness for the v2.0_beta.

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