The real address resolution of the strongest video website in history
At present, Internet video websites, from the dozen large video websites on the earth that I analyzed, 90% of the website video encryption effects are not good. Maybe the protection of the backdoor interface of the video download address is meaningless to some websites. This time, I mainly write about the backdoor interface address resolution methods of the following websites, including Youtube, Youku, Tudou, iQiyi, pps, Kuliu, Tencent Video, Sina, Sohu, First Video, CNTV, LeTV, and gametrailer. . . . . I will continue to update this article.
There are about five ways to obtain the backdoor address: 1. Analyze IE cache files 2. Analyze through third-party tools 3. Decompile the page player 4. Capture packets 5. Google
The methods to be analyzed below cannot parse VIP videos, cannot parse paid videos, and cannot parse videos that require a password to watch.
For large video websites, the address is generally not obtained in one step, and each file and algorithm needs to be analyzed.
If you are an ordinary player who wants to download videos that video websites like, it is recommended that you directly use Shuoshu or the client that comes with the website. You don’t need to read the following content.
Without further ado, let's get to the point. . .
1 Youtube address resolution
If you want to test the analysis of YT, you need to go over the wall. . . .
Youtube is really powerful, the parsing method is relatively simple, and the video is high-definition, ad-free, and watermark-free. . . , the future of the earth depends on it. . .
backdoor interface
http://www.youtube.com/get_video_info?video_id=$vid
$vid can be directly obtained in the playback address http://www.youtube.com/watch?v=dQ3Mt9yiz6k
Vid is dQ3Mt9yiz6k Add to the above link to get the backdoor file
http://www.youtube.com/get_video_info?video_id=dQ3Mt9yiz6k
The obtained file needs to be parsed. The video of YT is divided into
FLV, 320 x 240,400 x 240, 480 x 360, 640 x 360, 854x 480
3GP, 176 x 144, 176 x 144, 320 x 240, 640 x 360,
MP4 1280 x 720, 1920 x 1080 4096 x 3072,854 x 240,640 x 360, 1920 x 520,1280 x 720,
WebM 640 x 360, 854 x 480, 1280 x 720, 640 x 360, 854 x 480, 1920 x 540, 1280x 720,
These four formats have multiple resolutions for each format. It can be said that no domestic video website can achieve this level and achieve this level of definition.
The following link can be obtained in the file downloaded from the backdoor address
This is the download address, and the file also contains many other information about the video, such as title duration, etc.
The download of YT must be over the wall. . .
2 Youku backdoor address resolution
A previous Youku real address resolution method,
http://my.oschina.net/u/727843/blog/390872
3 potato backdoor address resolution
Since the merger of Youku and Tudou, the status of Tudou has also declined. Originally, Tudou had great potential in the UGC model. . Now video sites are scrambling to make copyrighted videos. . Baidu has also conquered PPS, and this video market is becoming more and more popular. . . . They are all rich people. . .
Tudou backdoor can be analyzed through IE cache, but it may not be applicable to all videos, and the highest-definition version cannot be obtained. This may be related to the messy address of Tudou before the merger. Now Tudou is much better, and the address is neat and formatted. It is also standardized, but there are many videos directly using Youku's backdoor download address. Of course, this video can also be played through Youku's domain name.
Find iid from the page: After getting it, add the link below
http://v2.tudou.com/v?it=’ + iid+ &st=1,2,3,4,5,10,99
Such as http://v2.tudou.com/v?it=163364330&st=1,2,3,4,5,10,99
The higher the number, the sharper the version. . .
4 iQIYI address resolution
The initial analysis of iQiyi is the same as playing guerrilla. . . It has a method that must be refreshed several times to get the download address, and it is not necessarily high-definition, and then decisively gave up. . Then I found a method on a code of Google,
backdoor address
http://cache.video.qiyi.com/v/ +videoed
Find video_id" on the video playback page: join the link above
Such as http://cache.video.qiyi.com/v/ba41c5ba91114b58abfa58e9e2131ebe
There is a file field, which is not the download address, but if you change the suffix of this address to mp4, a download address will appear, and you can download the video after swiping several times.
Such as http://data.video.qiyi.com/videos/amusement/20121122/0c413e2f1233029f3173a8cc5d23a8fc.mp4
This is the method I said at the beginning, it can be used, but it is not advisable. . .
The actual algorithm needs to calculate the key
iQIYI is quite abnormal and requires two-step analysis
The second step of parsing needs to use this link http://data.video.qiyi.com/t.hml?tn=1
tn=1 can be changed to any number, resulting in {"t":"1367910982","i":"220.181.109.33"}
We need to use this t value. In fact, t changes according to time. You can refresh it and you will find that it changes every second.
The address of the second backdoor interface is obtained by combining
The file value field above +?vn=…
The value of V is obtained by algorithm according to t
V= (t ^ -1775748160) +Math.pow(2, 32);
The second backdoor combination succeeds, e.g.
When you click on the link above, it may have expired. . . . I have not tested the specific failure time.
The last download link can be obtained from this page
5 PPS
Before pps officially enters the new father, let me break down the current video backdoor interface of pps
http://ipd.pps.tv/play_35Q7LQ.html
Take out the page playback address, get the vid behind play_, ie 35Q7LQ, and add it to the backdoor address
http://dp.ppstream.com/get_play_url_cdn.php?sid=35Q7LQ&flash_type=1
can be seen at this address
http://vurl.ppstv.com/ugc/7/8a/7ff8fbe2e7b4ae5091a00952f4eabbb76e815c24/7ff8fbe2e7b4ae5091a00952f4eabbb76e815c24.pfv Change the suffix to .pfv to .mp4 to download the video
This method can download all videos, including movies and TV shows
6 Cool Six
Video playback address http://v.ku6.com/show/wDRxSSruvEc6_oTH.html
Take wDRxSSruvEc6_oTH and add the backdoor address
http://v.ku6.com/fetchVideo4Player/wDRxSSruvEc6_oTH…html
The format of the backdoor interface is:
http://v.ku6.com/fetchVideo4Player/+ at +… html
The backdoor address page is in json format, with an f field which is the video address, using unicode encoding
7 Tencent Video
Through the following method, you can watch all Tencent videos without any advertisements
http://v.qq.com/cover/o/obr3rfx7xdatznl.html?vid=b0113x7xx0m
The address of the video play page is vid b0113x7xx0m
Add backdoor interface
http://vv.video.qq.com/geturl?vid=b0113x7xx0m&otype=xml&platform=1&ran=0%2E9652906153351068
You can see the video download link on the page
Tencent video is not sliced, no matter how long the video is, it is a single file
Please indicate the reprint http://blog.csdn.net/feige2008/article/details/8895632 , if you have any questions, you can leave a message. . .
Update to this today. . .
OK, Go on
// 2013-6-4 updated by sky
8 Sina Video
Find the vid in the video playback address page
http://video.sina.com.cn/m/jhrh_61941187.html vid: '
http://ent.sina.com.cn/f/nmxz/video/#92210121 #92210121
http://video.sina.com.cn/p/news/w/v/2012-12-11/011661941375.html vid: ”
http://ent.sina.com.cn/bn/entreport/#v_92178162 #v_92178162
Because there are many kinds of play pages, the way to find vid may be different, vid is an 8-digit number
For vids with multiple resolution versions there will be multiple vids such as the first link
vid: '92145658 | 92145656',
If you want to find the high-definition version directly, you can also directly look at hd_vid: '92145656', this field information
Add backdoor interface
http://v.iask.com/v_play.php?vid=88870103
This is an xml page. If it is multi-slice, you can find the download address of multiple fragments.
9 Sohu Video
Also find the vid on the video playback address page
Because there are multiple playback pages, vid may not be easy to find
Add the backdoor address below
http://my.tv.sohu.com/videinfo.jhtml?m=viewtv&vid=
If the above doesn't work
http://hot.vrs.sohu.com/vrs_flash.action?vid=
For example http://my.tv.sohu.com/videinfo.jhtml?m=viewtv&vid=52986508
After opening the above url, it is in json format, but the download address cannot be found yet.
http://allot/?prot=prot&file=clipsURL[i]&new=su[i]
Find the fields allot, prot, clipsURL, su above in json
Because the video has multiple slices, it is written in the form [i]
E.g
Ha ha. . . bt, it's so long, his sister's. .
After opening, it is sauce purple
http://101.226.200.16/sohu/6/|324|114.80.133.7|ywAYHUJiiFObDbpaJEIE9iCgYQ5iVim1PKiuhA..|1|0
We need to use the fields marked in red above
The combination of download addresses is
http://101.226.200.16/sohu/6/+su posted iti++key=ywAYHUJiiFObDbpaJEIE9iCgYQ5iVim1PKiuhA ..
The main download address above also uses the su[i] on the previous json page and adds the characters ?key=
Finally combined into a download address, such as:
In general, Sohu's download address is still very well disguised, unlike Kuliu and Tencent, things in the middle of his sister's road. . .
10 first video
Cracked Eggs website. . .
Change every day, update every day. . . .
First, find videoXmlUrl on the video playback page. If it does not exist, then look for vid based on the video url. His vid is 6 numbers
Such as http://news.v1.cn/world/2013-6-4/605305v-1.shtml
His vid is 605305
This link can be found directly on the page vieoXmlUrl get
http://pic.v1.cn/cloudone/xml/video/201306/04/605305.xml
It is an xml page, you can see