Analysis of Video Source Addresses
iQiyi
Video page address: https://m.iqiyi.com/v\_19rr2cvmus.html The page will request an interface: https://cache.m.iqiyi.com/, which contains a field m3u, which is the real address of the video. Example: http://netcncallcnc.inter.iqiyi.com/videos/v0/20180720/d9/4f/eddadef77066dc7c960ae952ad83d71a.mp4?key=0035d94084c5cd162a40610306413ea4f&dis\_k=30eb0de0f1341eb0bd743fa691a234f3&dis\_t=1533397020&dis\_dz=CNC-BeiJing&dis\_st=44&src=iqiyi.com&uuid=a0d2dd1-5b65c81c-8c&m=v&qd\_k=9cae95479599021a58e7a683114455a3&sgti=13\_3eprs82wn5ib92y1mp2t6jdg\_1533397019752&qd\_ip=7b7118cf&qd\_p=7b7118cf&dfp=a06680c7961c14486e80f314cd8ffd7f6fa7df798edc359fa022c5d2cfdae1b13c&qd\_src=02020031010000000000&ssl=&ip=123.113.24.207&qd\_vip=0&dis\_src=vrs&qd\_uid=0&qdv=1&qd\_tm=1533397020221 Some parameters can be removed. After removal: http://111.206.23.7/videos/v0/20180720/16/a4/db018716f61beac599012d45774c272d.mp4?key=0276ea66159aaa4db17c1724b53388ca6&dis\_k=2742e7645a8ed2f8dc1aaad964db9072b&dis\_t=1533395921&dis\_dz=CNC-BeiJing&dis\_st=44&qd\_k=52207238abb1ee50c64941d94d60a8be&qd\_ip=7b7118cf&qd\_src=02020031010000000000&qd\_vip=0&qd\_uid=0 Required parameters: key: 0276ea66159aaa4db17c1724b53388ca6 dis_k: 2742e7645a8ed2f8dc1aaad964db9072b dis_t: 1533395921 dis_dz: CNC-BeiJing dis_st: 44 qd_k: 52207238abb1ee50c64941d94d60a8be qd_ip: 7b7118cf qd_src: 02020031010000000000 qd_vip: 0 qd_uid: 0
Youku
Video page address: https://m.youku.com/video/id_XMzc1MDQ5NjcyMA==.html Interface domain: https://ups.youku.com Fields: data->stream->segs Sharded, order not yet clear. Might be difficult to crawl. iframe player (https also works)
<iframe height=498 width=510 src='http://player.youku.com/embed/XMzc1MDQ5NjcyMA==' frameborder=0 'allowfullscreen'></iframe>
The suffix is the page id, looks like it can be done in batch.
bilibili
Video page address: https://www.bilibili.com/video/av28191680 Video address: blob:https://www.bilibili.com/eeb8740a-3671-4405-9ab2-9177204949eb
<iframe src="//player.bilibili.com/player.html?aid=28191680&cid=48730521&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
Actually only need the id after av: https://m.bilibili.com/video/av28191680.html Interface: https://api.bilibili.com/playurl durl->url