This is the official English translation of a post. The original post in bahasa Indonesia can be found here: Tutorial cara mengunduh video dan sub iQiyi via browser.
Note: You can always translate any article using Google Translate tool on the upper right corner (or lower part for mobile view) of this blog.
Note: You can always translate any article using Google Translate tool on the upper right corner (or lower part for mobile view) of this blog.
Welcome 2021! So, for the first post of the year, it will be a tutorial post. This time, Isamu no Heya will share how to download video files along with their subtitles from iQiyi directly through your own browser. And of course, without having to install any apps, programs, plug-ins or add-ons.
A glimpse about iQiyi
Since some of you may not be familiar enough with iQiyi, so before we continue, let me tell you what iQiyi is briefly. iQiyi (爱奇艺), pronounced as àiqíyì in pinyin, is a site that provides service that let us to watch videos online, or also known as online streaming service. It was launched on 22 April 2010 by Chinese technology company Baidu. iQiyi also received support from various companies later, like Xiaomi.
iQiyi provides various kinds of content, ranging from dramas, television series (including Korean dramas), cinema movies, animation (including anime), even to original Netflix series which can be officially distributed by them. Animes that can be watched include new series such as Attack on Titan (Shingeki no Kyojin), Cells at Work (Hataraku Saibou), Jujutsu Kaisen, and many more. Most of these contents can be enjoyed for free.
Reasons for downloading iQiyi videos
For some, watching videos online (streaming) may already be more than enough. But when it's needed to skip a scene, go back to a particular episode to retrace the events, or even re-watch the whole series, it would be more convenient if a copy of the video is available on our device. Spend no more quota just for buffering because they can be accessed anytime without the Internet. In other words, we may have downloaded them.
Good iQiyi downloader websites
There are many websites out there that can download videos from YouTube. Sites like safeform.net and keepv.id even claim to be able to download videos from hundreds of streaming sites. So, there must be working downloader sites for iQiyi, right? Actually, yes, there are. To mention a few, videotosave and 9xbuddy. But sometimes, they cannot download videos from certain anime and drama series.
There are two possible causes. First, iQiyi actually has two versions: a local version at iqiyi.com, and an international version at iq.com. So there's a possibility that those downloader sites only support that one version which you don't use. Second, videos on iQiyi are equipped with region locks. List of shows that can be watched in Southeast Asia will be different from the ones in the United States. So it could be that the downloader sites are in a different region from yours, so they can't access the videos.
To find out if a series can be accessed in any region, we can open the video album by clicking on the title of the series under the video player, then in the address bar, add "view-source:" in front of the existing URL. For example, for Cells at Work! S2, the URL that needs to be entered is view-source:https://www.iq.com/album/rou2ra211h.
Each of the 2-letter codes after "regionsAllowed" at the bottom of the page is a country code based on ISO 3166-1 Alpha-2. So for the previous example, the series can only be accessed in Thailand (th), Philippines (ph), Malaysia (my), Laos (la), Indonesia (id), Cambodia (kh), Brunei (bn), Vietnam (vn) , Singapore (sg), Myanmar (mm), Hong Kong (hk), and Macau (mo).
Types and format of iQiyi videos and subtitles
Due to the reasons mentioned above, you cannot rely on downloader sites and apps. So, the most likely way is to download it yourself, directly from the browser. However, Mozilla Firefox is highly recommended because it is much easier to use when downloading these files than other browsers, like Google Chrome. Besides that, Firefox also allows us to download videos from iQiyi both on a computer and on a mobile phone.
And for the format, iQiyi provides various of them to make sure that their videos can be played in as many devices as they can. The videos can be in MP4, TS (Transport Stream), or QSV (Quick Sync Video) format. For subtitles, it can be a SRT (SubRip Text), XML TTML (Timed Text Markup Language), or WebVTT (Web Video Text Tracks) format.
Steps to download iQiyi videos from browser
Okay, here's the core of this post, how to download or save videos from iQiyi to your computer or mobile device. The resulting videos are in MP4 format and generally have a resolution of 360p.
Mozilla Firefox (main method)
- Open the page of the video you want to download
-
Press Ctrl+Shift+M
(Or from Menu > Web Developer > Responsive Design View)
-
Click the gear on the upper right, and make sure that "Show user agent" is checked
(If not checked, click on that menu)
-
In the text box beside "UA", type this text, then press Enter:
Mozilla/5.0 (Linux; U; Android 2.3; en-us) AppleWebKit/999+ (KHTML, like Gecko) Safari/999.9
- Press F5 to reload
- Click on the video to play it
-
Right click it, then select "Save Video As..."
Firefox for Android; Mozilla Firefox (alternative method)
First, change user agent for iQiyi visit. Do it once, for the first time only.- Open about:config page
- Click the plus sign on the upper left corner
- On Name, type:
general.useragent.override.iq.com - On the right, change from "Boolean" to "String"
- On the bottom, type:
Mozilla/5.0 (Linux; U; Android 2.3; en-us) AppleWebKit/999+ (KHTML, like Gecko) Safari/999.9 - Click the "Create" button
How to save video
in Firefox for Android
Next, every time you want to download iQiyi video, do this:
- Open the page of the video you want to download
- Tap on the video to play it
- Tap and hold it (or right click on PC), then select "Save Video"
Google Chrome
- Open the page of the video you want to download
- From Chrome Menu, click More tools > Developer Tools
- From Developer Tools menu, click More tools > Network conditions
- On User agent section, make sure that "Select automatically" (or "Use browser default" on newer version) is unchecked
(If checked, click on the checkbox) - On the drop-down menu, select "Custom..."
-
On the textbox below, type in this text:
Mozilla/5.0 (Linux; U; Android 2.3; en-us) AppleWebKit/999+ (KHTML, like Gecko) Safari/999.9 - Press F5 to reload
- Click on the video to play it
- Right click it, then select "Save video as..."
BONUS: Download iQiyi video through apps
If the above methods are not convenient enough, we can also use their official apps, iQiyi Video. Okay, here's how to download or save the videos from iQiyi to your mobile phone device. The resulting videos are in QSV format and have a resolution according to your preferences in the apps.
View of the folder where
QSV video from iQiyi was stored
- Open the video you want to download
- Under the description, tap the Download button
- On the drop down, choose your preferred video resolution
- Tap on the episode numbers which you want to download
- Process will running in the background
- After it completes, browse to "Internal storage/Android/data/com.iqiyi.i18n/files/app/download/video" using file manager
- Find a file with .qsv extension which located inside of each of the folders there
This video can be played directly, no need to convert them. I have tried it on a 32-bit computer with an AMD processor. Just drag and drop this QSV file into Media Player Classic dengan K-Lite Codec Pack and the video will play, although you can't speed up the playback or go back and skip a couple of seconds. When using a 64-bit computer with an Intel processor, this issue is not found. Just open it with MPV Player, and the video will play perfectly right after.
Steps to download iQiyi subtitles from browser
Of course, it's not complete if you already have the movie, but you don't have the subtitle yet. But before we begin, let's learn the following language ID (LID) used in iQiyi.
iQiyi LID | ISO 639-1 Code | Original name | Translated name |
---|---|---|---|
1 | zh-Hans | 简体字 | Simplified Chinese |
2 | zh-Hant | 繁體字 | Traditional Chinese |
3 | en | English | English |
4 | ko | 한국어 | Korean |
18 | th | ไทย | Thai |
21 | ms | Bahasa Melayu | Malay |
23 | vi | Tiếng Việt | Vietnamese |
24 | id | Bahasa Indonesia | Indonesian |
26 | es | Español | Spanish |
28 | ar | العربية | Arabic |
Without further ado, here's how to download or save subtitles from iQiyi to your computer. The resulting subtitles are in SRT, TTML, or VTT format according to which link/bookmark was used.
Mozilla Firefox
Indonesian | : | id.srt | id.ttml | id.vtt |
English | : | en.srt | en.ttml | en.vtt |
Simplified Chinese | : | zh-Hans.srt | zh-Hans.ttml | zh-Hans.vtt |
To make the process easier, please add bookmarks above by dragging them to the bookmarks bar. Or, right-click on the links above and select "Bookmark This Link".
For other languages, choose any language first, then right-click on the bookmark you just created then select "Properties". There, change the number after "lid==" according to the LID of the language that you want by following the table above.
Next, every time you want to download iQiyi subtitle, do this:
- Open the page of the video you want to download its subtitle
-
Press Ctrl+Shift+E
(Or from Menu > Web Developer > Network)
- Press F5 to reload
- On URL Filter, type: dash
- Double click on the row which just appeared
- On the opened new tab, use the bookmark which has been created before
- Subtitle file will be automatically downloaded
-
Use this format for the file name so it can be automatically detected by video players:
[movie name].[ISO 639-1 language code].[subtitle format extension]
For example, for Indonesian SRT of a video named "01.mp4", save the file as "01.id.srt"
iQiyi has change the response of their JSON file, so you may encounter a message that said "SyntaxError: JSON.parse: unexpected keyword at line 1 column 1 of the JSON data" and these following instruction might not worked. Please use and change the provided bookmarks if necessary.
If you want to download subtitle in language which not mentioned on the table above, or maybe if you want to download them manually without using the bookmark, do this:
- Follow step 1-5 from how to download subtitle above until tab "dash" is open
- On JSON filter, type: dstl
- Write down the displayed value (usually http://meta.video.iqiyi.com)
- ON JSON filter, type: lid=
-
Visit the combined URL from value of dstl with one displayed value of xml, srt, or webvtt to download the subtitle
For example, to download the subtitle in the first language (index 0) in SRT format, like what's being selected in the screenshot below, you must visit this URL http://meta.video.iqiyi.com/20210224/b8/8e/55ac6b21b4ba7d50b5920c9acc05f94e.srt?qd_uid=0...
The value of xml, srt, or webvtt ends with LID for corresponding languge, so it can be used as a filter to check if subtilte in the chosen language are available or not. For example, filter "lid=3" to check for English subtitle. If you find another LID from a language that is not listed in the table above, don't forget to leave a comment.
Google Chrome
Indonesian | : | id.srt | id.ttml | id.vtt |
English | : | en.srt | en.ttml | en.vtt |
Simplified Chinese | : | zh-Hans.srt | zh-Hans.ttml | zh-Hans.vtt |
To make the process easier, please add bookmarks above by dragging them to the bookmarks bar. Or, copy the link address and paste them after manually added the bookmark through the Bookmark Manager (Ctrl+Shift+O).
For other languages, choose any language first, then right-click on the bookmark you just created then select "Properties". There, change the number after "lid==" according to LID of the language that you want by following the table above.
Next, every time you want to download iQiyi subtitle, do this:
- Open the page of the video you want to download its subtitle
- From Chrome Menu, click More tools > Developer Tools
- Open the Network tab
- Press F5 to reload
- On Filter, type: dash
- Double click on the row which just appeared
- On the opened new tab, change https:// to http:// in the address bar URL
- Use the bookmark which has been created before
- When confirmation shown, click "Allow"
- Subtitle file will be automatically downloaded
-
Use this format for the file name so it can be automatically detected by video players:
[movie name].[ISO 639-1 language code].[subtitle format extension]
For example, for Indonesian SRT of a video named "01.mp4", save the file as "01.id.srt"
Unfortunately, using Google Chrome, it was not an easy task to download subtitles in language which not listed on the table above, or if you want to download them manually withouth using the bookmark. So, please just use Mozilla Firefox which is better in handling JSON files.
Google Chrome doesn't support JSON display as tree structure view. It will just display the text as it is. Since they also doesn't have filtering feature, we can only rely on find feature for searching the link to download the subtitles. Moreover, we must remove any backslash ("\") first before we can use it as an URL.
BONUS: Download iQiyi subtitles through other sites
If the above methods are not convenient enough, we can also use the help from subtitle downloader websites such as downsub.com. Just copy and paste the URL of the iQiyi video page you want to download the subtitle, then click the "Download" button. Then a list of languages and formast will be shown along with buttons to download each of them.
Important notes
Link to iQiyi dash JSON (starts with cache-video.iq.com) and to the video file (start with data.video.iqiyi.com) linked with personal information such as browser data and your location. It means that you cannot share with the others your direct link to download these files. When someone else opens the link and iQiyi finds out that the sent data is different from theirs, access will be denied. Only subtitle files (starts with meta.video.iqiyi.com) don't have this kind of protection.
So, avoid re-uploading videos that have been downloaded, because who knows what data they contain that can identify you. It is wiser to share the URL of the page where the video was originally shown (starts with www.iq.com) and, of course, the tutorial you are currently reading. With this approach, we also support the original uploader where the views count will keep being recorded, and the ads will continue to serve.
Closing
We reach the end of the post. But, you can also check other tutorial posts here. For the most popular tutorial, how to download LINE stickers, read here. Hopefully this post is useful for you. Don't forget to share so it can help more people. Finally, thank you for reading, and see you in the next post!
wow, you're such a kind person! thank you for sharing this trick, it helps me a lot 😊
ReplyDeleteHi, you're welcome. Nice to know that it helps you a lot. I hope you could share this post, so it can reach more people.
DeleteSorry, I want to ask. the video download keeps failing. even though the first one has worked, part 2 I want to download, why doesn't it fail? even though I have followed the steps. is this "Mozilla/5.0 (Linux; U; Android 2.3; en-us) AppleWebKit/999+ (KHTML, like Gecko) Safari/999.9" unusable? please explain sir.
ReplyDeleteIf your first video can be successfully downloaded using this method, but the second one is not working, maybe something's wrong with that video. Maybe you can try with another video.
DeleteHi , thanks for the tutorial but the video keeps loading forever , have u got a solution for it ?
ReplyDeleteHi, I just try it again on Firefox, and it's still works fine.
DeleteDo you have stable Internet connection? Or, do you use ads blocker which prevent iQiyi to play the ads video?
Hi my brother , i have only idm extension with the firefox browser freshly installed and i think my connection is stable ... I'm thinking about something i did wrong with the developer console but im not really sure ...
DeleteThanks for the reply tho !
Edit : i just tried out with any other downloads except the download from iq.com and it finally worked ! U were very right about the stable connection .
ReplyDeleteThanks a lot for the help and the tutorial @William Surya Permana !
Have a nice day brother !
You're welcome. I'm glad to hear that the tutorial works for you. I hope you can share this so it can help more people. And, have a nice day too.
DeleteHi, I've tried this tutorial by using chrome and it works but is there any way I can change the video solution? I can only download it with 480p
ReplyDeleteUsing this method, you can only download SD resolution. HD resolution can be downloaded using other method. But they are streamed from iQiyi by chunks, like there are separate files for each 5 minutes duration. So, there are no easy way to download and stich them back into single video.
DeleteIs this still the case? I'd like to download 1080p videos I paid for
DeleteHi tim, I'm not too sure about that, since it's been a long time since this article was published, and iQiyi may also change something on their side. But, maybe you can try.
DeleteThanks for this detailed and helpful guide! Eternally grateful to you :)
ReplyDeleteYou're welcome. Nice to know that this guide is helpful to you.
DeleteUntuk video qsv dan subtitle, tutorialnya sudah dicoba dan work. Masalahnya file .qsv di hasil download kenapa kok tidak bisa diputar di media player classic seperti di tutorial. Ini saya coba di 3 file .qsv sekitar 1 GB lebih. Mohon infonya.. karena sudah dicoba di vlc,mpc terbaru, dan beberapa aplikasi convert seperti format factory, wondershare uni converter juga tidak bisa terbaca. Terima kasih sebelumnya.
ReplyDeleteUntuk QSV berdurasi panjang sepertinya memang tidak didukung oleh Media Player Classic, mungkin ada teknologi yang menyulitkan video player dan converter untuk membacanya.
DeletePeriksa juga apakah hardwaremu sudah mendukungnya, selengkapnya di sini https://www.intel.com/content/www/us/en/support/articles/000029338/graphics.html
Google chrome method worked!!! TYSM!!! :D
ReplyDeleteHello! Thank you so much for sharing these methods, I found out there's a problem though, at least with my pc (Windows 10). Whenever I download a subtitle which is not in english, what I get is a weird amount of random letters, for example:
ReplyDelete1
00:00:00,000 --> 00:00:10,000
YzEH83qKjfB8276gCxK9XMWf5LYJ0DvQ4qMWLJ2h5mdQMVZy678mCRZPvxHgF1aya4mhCglZy1WCIBTXI0EGIA==
2
00:00:21,560 --> 00:00:23,400
EL82tmzjmneo9eAEM+gUu7Z+PwHcMEBnXZW7wfWHw2jKKyYW5sDUKOGGfDk9j8Ku
I don't really know how to solve this, I also tried downsubs but it's the same, is there any way to fix this mess?
Hello, can you share the link to the video and the language you download? I will try it again from here, because the last time I downloaded Chinese subtitles, it worked fine.
DeleteFor example, if you download the subtile of https://www.iq.com/play/demon-slayer-kimetsu-no-yaiba-entertainment-district-arc-id-ver-episode-1-i00of15sp0 here: http://meta.video.iqiyi.com/20211112/3d/14/4be980ebba25dd4f8ed931d635ccc086.srt, the content should be:
Delete1
00:00:49,070 --> 00:00:52,890
"第一集 炎柱 炼狱杏寿郎"
2
00:01:14,260 --> 00:01:15,260
好吃
only 360p?
ReplyDeleteIf you're using the steps mentioned above, yes. IQiyi sends the higher resolution in chunks, which means you have to download a lot of files just for one video. Not to mention that you have to stitch them back, so it can be in sync with the subtitle. Due to the complexity, I not posted the how-to on my post.
Deletechrome
ReplyDelete5-On the drop-down menu, select "Custom..."
i don't find custom
Hmm, it's wierd. On my side, the drop down has a lot of options, like Android, Blackberry, Chrome, Firefox, etc. And of course, Custom.
Deletehttps://ibb.co/Fgnpk1x
DeleteIt's because you are opening the wrong menu. The custom option was on "Network conditions" menu, not on "Network" tab. Make sure you follow the step on point 3 and 4 first.
DeleteAnyway, this guide is made for iQiyi. If you are trying to download from QQ, WeTV, or other streaming sites, I don't think this will work for you.
Deletehttps://postimg.cc/K3vPq0g6 here is iqiyi
Deletewhere is custom? I'm in network option and I don't find select automatically/browser default
From Developer Tools menu, click More tools > Network conditions
I need screen please
On User agent section, make sure that "Select automatically" (or "Use browser default" on newer version) is unchecked
(If checked, click on the checkbox)
On the drop-down menu, select "Custom..."
Here's the screenshot of Network conditions menu on my side: https://blogger.googleusercontent.com/img/a/AVvXsEhgBhjQ-L-YbM9dprvn1VA-JYrwvaPU5SNgbH7RcBLLrIS41yF-824sbcQUaABumLAEb1I1-wX6M0N5LDudpALV_hCHg681IDS3mUqxg4j9nkfrldPlZEKbCZpPR2zHmwSvFEoLe0_ul61oQunHpYnH8ZTl_IL0-6-wZk-3w1OnXKKYYfMDnft0TjI0sA
DeleteIf you need more help, you can also follow this guide to change user agent here: https://www.alphr.com/change-user-agent-string-google-chrome. They provide nice screenshot for each step.
https://ibb.co/NLCHZsL
Deleteok and now?
Just follow the instructions on the post.
Delete- Press F5 to reload
- Click on the video to play it
- Right click it, then select "Save video as..."
I pressed F5, Obviosly and I can't do that.
Deletehttps://ibb.co/z4bTbyP
please send me video tutorial
Are you sure that the page has been reloaded successfully after pressing F5? Are you sure the video has been playing before right clicking it?
DeleteAnyway, I'm afraid that I can't help you more, because making a video tutorial is too much effort for me. Maybe you can ask those who succesfully download the video (somerandomd00d, lemonz, rosedew) to make a video for you. Who knows, one of them might be kind enough to help.
You can also try to download it from Firefox, instead of Chrome. Maybe it will work for you.
Hi! I am sorry to bother you but I saw you said that there is a way to download the videos in high quality and I was wondering if you could tell me the way to do it? I don't care if it is in 5 parts! I have a VIP subscription and I want to make gifs of the shows I watch but I can't do that with low quality videos. Thank you much either way, this tutorial was super helpful.
ReplyDeleteHi. Yes, there's a way. But FYI, HD videos served by iQiyi in TS format, not MP4. Make sure you have the appropriate player.
DeleteAnd to do that, you just need to follow the instruction for downloading subtitle above (note that you don't need to change your user agent this time) until "dash" is opened. There, open data > program > video > 1 > m3u8. You will find a lot a of link starts with http://data.video.iqiyi.com/videos and ends with \n. Then, you just need to download each of them.
Okay, bear with me please haha. First, thank you so much for answering me! Okay so, the links you mention are in the program > video > 0 for me, instead of '1' (is that right or did I do something wrong?) The problem I have is that I can't seem to download them, it says {"code":"D2001"}. The way to download them is copying the link and put it in another tab right? I am a little lost.
DeleteThank you again!
Hmm, if you found the links in 0 instead of 1, I think it should be okay, maybe iQiyi just changed the order.
DeleteYes, that's correct. Just copy, and paste & visit the link on another tab. Anyway, don't copy the \n. And if you're using Chrome, you must remove any backslash ("\") first before visiting the link.
The final link should look like this: http://data.video.iqiyi.com/videos/vts/20211112/53/2e/2c89f88f160d9323c69ab9c2382392eb.ts?start=0&end=125960&contentlength=125960&sd=0&qdv=1&qd_uid=0&qd_tvid=1701895117716200&qd_vip=0&qd_src=01010031010018000000&qd_tm=1648807493376&qd_ip=8cd50dd0&qd_p=8cd50dd0&qd_k=c6190c161151c652071c010db495887a&ve=&sgti=47_963f6278ea437d603f159a8414a7a0ab_1648807476089&dfp=&qyid=963f6278ea437d603f159a8414a7a0ab&qd_vipres=0&qd_sc=eed85f0c60ca202e668328f4cfea3e6c
hello I will try method firefox but doesn't work. I follow step to step you can see below. I send you screenshot
ReplyDeletehttps://ibb.co/TRdHXJF
I could get video with method chrome but I only get video 480p and I can't select other option.
DeleteFrom your Firefox screenshot, it seems that the user agent is not applied yet. Make sure you hit Enter after pasting the UA, then reload/refresh the page. It should rendered the mobile version of iqiyi. Then, play the video again before right clicking them.
DeleteSo, you finally can get the video using Chrome? Congratulations!
DeleteYeah, just like what I said on the post, last time I can only download 360p. It's good to hear that you can get 480p.
Hello, thanks for the tutorial you provided. Anyway I try your way to download video but end up I only got playback error as screenshot - https://ibb.co/VChP0yr
ReplyDeleteAny idea?
Hello, it's strange. I've never encountered such an error. Have you try reloading the page or checking other video?
DeleteHi, thank you so much for your hacks.
ReplyDeleteI'm using Google Chrome and when I reached the last step to 'Save As' the video, the option is coming up as unavailable? Could you please help?
Screenshoot -- https://ibb.co/ZJ3skRz
Hi, I just tried it again, and you're correct the option is no longer available. It seems that iQiyi has updated their website. You can see that their logo has change also. In this case, even after we change the user agent, they don't load the mobile version any more. So, sorry, I can't help you at the moment.
DeleteThank you so much anyways
DeleteHello
ReplyDeleteCan I ask how to use mpv to play a qsv file I have the player installed on my computer but I couldn't figure out how can I use it to play Intel quick sync video
You could just drag and drop the video file onto the mpvm just like opening any other files.
DeleteThis comment has been removed by the author.
DeleteHmm, should be not. If MPV can't play the video, maybe something's changed on the encoding side from IQIYI, and we will need different player.
DeleteHi, your tutorial was extremely helpful. I'd like to know if you know how i could do this in Youku website, in more interested about the subtitles than the video. If you know, please tell me. I'll be thankful.
ReplyDeleteHi, thanks for visiting Isamu no Heya. Unfortunately, I don't know how to get the subtitles from Youku. Maybe you can try ask downsub.com team to support it.
DeleteHi I used to use your tutorial very useful early past year. but It seem like doesn't work for iqiyi anymore do you have any other way to download iqiyi subtitle ?
ReplyDeleteHi jumpto55, it's been a while since this article was published, so iQiyi might has change something on their side. Unfortunately, I don't have any alternative solutions right now.
DeleteAllavsoft also works great to download iqiyi videos and music files. It supports 1000+ video and music websites.
ReplyDelete