Hey guys, An idea just hit me when last night I was watching a movie, that why not try to write a script in Python to automatically download the video we want.
So the iQIYI-Downloader was wrote. I uploaded it onto GitHub so everyone could use it.
There may be some problems since I haven't really debug it. I did several tests and found out that it functions well, so why not share it on GitHub with y'all?
iQIYI-Downloader: https://github.com/CrymanChen/iQIYI-Downloader
This thread can be used to debug, maybe I'll try my best to improve it when you guys give me suggestions. Criticize me hardly![]()
+ Reply to Thread
Results 1 to 30 of 40
-
-
What mainly my script did was to parse the m3u8 content from the network traffic. And I used another open-source (I guess so because it's on GitHub too) tool to generate a command to let the download begin.
P.S. Now it works for NORMAL MOVIES!
I'll try harder to make it work for OTHER KINDS OF MOVIES AND SERIES!Last edited by CrymanChen; 16th Jul 2023 at 15:21.
-
4K (2160p) in some titles require downloading their app to watch it in there.
But I don't know how to intercept those in-app traffic, maybe someone could join me (put a post here to see if any friends to join) -
Guys, Managed to download nearly all m3u8 videos from iQIYI.
Including those from "云影院", the Cloud Cinema.
[Attachment 72565 - Click to enlarge] -
-
I borrowed a VIP6 account from a friend and used your script to successfully download the VIP TV series, which are not encrypted, but the "云影院" has to be purchased for an additional fee, so I didn't try it!
-
I grabbed the m3u8 link with the client, but I can't download it, and the dash link is shorter than the web version, I know very little about the code, do you have any clue?
Code:Hypertext Transfer Protocol [truncated]GET /20230527/c9/59/271e663c6deceed23ffe4dad12a6b618.m3u8?qdv=2&qd_uid=0&qd_vip=0&qd_src=01012001010000000000&qd_tm=1690280168220&qd_p=da41fc70&qd_k=7366c3faf2f0c357cfbdae688b7e1cf8&qd_index=vod&qd_tvid=7447809085423600&qd_sc= Host: meta-cdn.video.iqiyi.com\r\n Accept: */*\r\n Accept-Encoding: gzip, deflate\r\n qyid: zbqabijtp3t5mwf66w7ianoj32ssuq3w\r\n User-Agent: QYPlayer/Windows/6.2306.1070;BT/mcto;NetType/unknown;Hv/;QTP/2.0.89.4\r\n \r\n [Full request URI [truncated]: http://meta-cdn.video.iqiyi.com/20230527/c9/59/271e663c6deceed23ffe4dad12a6b618.m3u8?qdv=2&qd_uid=0&qd_vip=0&qd_src=01012001010000000000&qd_tm=1690280168220&qd_p=da41fc70&qd_k=7366c3faf2f0c357cfbdae688b7e1cf8] [HTTP request 1/1] [Response in frame: 10825] Hypertext Transfer Protocol [truncated]GET /dash?tvid=7447809085423600&np=1&ut=0&ps=0&d=1&pm=0&vid=254817724db8a1366084add2543b4c14&src=01012001010000000000&k_tag=1&k_uid=zbqabijtp3t5mwf66w7ianoj32ssuq3w&tm=1690280167205&bid=1&fr=25&pt=0&s=0&rs=1&slid=0&sver=2&k_ve Host: cache.video.iqiyi.com\r\n Accept: */*\r\n Accept-Encoding: gzip, deflate\r\n qyid: zbqabijtp3t5mwf66w7ianoj32ssuq3w\r\n bop: {"version":"4.0"}\r\n prio: [{"dr":-1,"code":1},{"dr":-1,"code":2}]\r\n User-Agent: QYPlayer/Windows/6.2306.1070;BT/mcto;NetType/unknown;Hv/;QTP/2.0.89.4\r\n \r\n [Full request URI [truncated]: http://cache.video.iqiyi.com/dash?tvid=7447809085423600&np=1&ut=0&ps=0&d=1&pm=0&vid=254817724db8a1366084add2543b4c14&src=01012001010000000000&k_tag=1&k_uid=zbqabijtp3t5mwf66w7ianoj32ssuq3w&tm=1690280167205&bi] [HTTP request 1/1] [Response in frame: 10697]
Code:Hypertext Transfer Protocol [truncated]GET /dash?tvid=3243657877503800&bid=0&vid=367be60b160313d748337e1411024345&src=01012001010000000000&vt=1&ori=cube&rs=1&uid=1442188499&pck=51AxB5xm2hM7E4l602m3rEo2JK8MBK656isCZH8FhE3LXuNkUdTooFHQ72poHpKYJm33Xc6&ut=1&messageId=c Host: cache.video.iqiyi.com\r\n Accept: */*\r\n Accept-Encoding: gzip, deflate, sdch\r\n Accept-Language: zh-cn\r\n Connection: Keep-Alive\r\n Content-Type: application/octet-stream\r\n Range: bytes=0-\r\n User-Agent: Cube_WINPC/16.0.3.7803;NetType/unknown;ccr/0;QTP/2.0.89.4\r\n \r\n [Full request URI [truncated]: http://cache.video.iqiyi.com/dash?tvid=3243657877503800&bid=0&vid=367be60b160313d748337e1411024345&src=01012001010000000000&vt=1&ori=cube&rs=1&uid=1442188499&pck=51AxB5xm2hM7E4l602m3rEo2JK8MBK656isCZH8FhE3LXu] [HTTP request 1/2] [Response in frame: 7254] [Next request in frame: 7266]
Last edited by piaohua; 25th Jul 2023 at 06:12. Reason: Add Content
-
The decryption and automatic download of movies from the Cloud Cinema is still under maintenance so I won't upload it.
Try writing your own code before asking via your mouth. -
Hello! Thank you for sharing your work!
I have some problems with finding a dash address
"Please open the developer tools of the browser and search by keyword. For each video, there should be "only one" "dash address". The search result should be only one, and it should start with "cache.video.iqiyi.com"."
the URL is https://www.iq.com/play/deep-night-episode-1-1vqzwx8ii8s?lang=en_us
Can you explain to me where I should search it?
Thank you. -
-
download m3u8 file (720p) https://www.upload.ee/files/16417987/Deep.Night.Episode.11280x720.m3u8.html
then run N_m3u8DL-RE "Deep.Night.Episode.11280x720.m3u8" -
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
Hi there, I get some issues when trying impersonate the dash request.
I tried Copy as cURL, which also gives me no dash with m3u, whilst I can see in the response of the request on the website.
Is this something to do with this video?
https://www.iqiyi.com/v_19rrjac83w.html?vfm=2008_aldbd&fv=p_02_01 -
There's no need to impersonate. Works directly from https://curlconverter.com/ with basic requests import.
https://www.transfernow.net/dl/20240912FJ0wCG87--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
Hi there,
Just got home and it seems that you can no longer access the series in italy, apart from some terrible tape scans on the CCTV YouTube.
I tried a chinese VPN and it works fine.
Thank you for helping with the first episode, I think I can now do it. -
this works for now if anyone is interested:
Code:import requests import os # you don't actually need any cookies for free content at least, just the names cookies = { 'QP0034': '', 'PD005': '', 'QC006': '', 'QP0037': '', 'QC005': '', 'QC008': '', 'QC010': '', 'QC007': '', 'QP0035': '', 'QP0030': '', 'T00404': '', 'IMS': '', 'QC234': '', 'QC142': '', 'QP0027': '', 'QP0036': '', 'QP007': '', '__dfp': '', 'QC173': '', 'QC189': '', } headers = { 'Referer': 'https://www.iqiyi.com', 'Origin': 'https://www.iqiyi.com', } url = input("Paste url here:") m3u8DataJson = requests.get(url, cookies=cookies, headers=headers).json() for i in m3u8DataJson["data"]["program"]["video"]: if "m3u8" in i: m3u8 = (i["m3u8"]) with open("iqiyi.m3u", "w") as f: f.write(m3u8) os.system(f'n-m3u8dl-re iqiyi.m3u')
-
Video URL?
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
https://www.iqiyi.com/v_195j9pmsbng.html?vfrmrst=0&vfrm=3&vfrmblk=pca_115_number_enlarge
I didn't understand. I have submitted several replies but none of them have been displayed -
I didn't understand. I have submitted several replies but none of them have been displayed
Similar Threads
-
Downloading encrypted M3U8 HLS videos
By MachineLearning in forum Video Streaming DownloadingReplies: 40Last Post: 10th Mar 2024, 06:54 -
Finding m3u8 in Iqiyi/QI PC browser agent.
By andreww in forum Video Streaming DownloadingReplies: 13Last Post: 31st Jan 2023, 15:28 -
Error extracting M3u8 from Iqiyi
By andertjf in forum Video Streaming DownloadingReplies: 9Last Post: 20th Jan 2023, 05:30 -
I need help downloading/merging m3U8 videos with my credentials please
By Min in forum Video Streaming DownloadingReplies: 4Last Post: 16th Apr 2022, 02:57 -
Downloading video streams from Iqiyi
By Sori in forum Video Streaming DownloadingReplies: 18Last Post: 14th May 2021, 12:48