m3u8下载器免安装绿色版
简单易用的M3U8下载器免安装绿色版,现在我们在很多视频网站都是被分割成很多小片段来防止被人盗用,N_m3u8DL-CLI 支持把这些小片段进行记录合成出完整的视频并且转换为MP4等格式,N_m3u8DL-CLI支持下载m3u8链接或文件为mp4或ts格式,并提供丰富的命令行选项,m3u8下载器功能多样,支持多线程下载,支持腾讯、爱奇艺、优酷的杜比视界m3u8下载,支持直播流录制(BETA),支持下载限速、断点续传,支持选择下载m3u8中的指定时间段/分片内容,支持下载外挂字幕轨道、音频轨道,支持自动合并 (二进制合并或使用ffmpeg合并),开源的命令行m3u8/HLS下载器,支持普通AES-128-CBC解密,多线程,自定义请求头等,支持简体中文,繁体中文和英文。
软件功能
支持下载m3u8链接或文件为mp4或ts格式,并提供丰富的命令行选项。
不支持优酷视频解密支持AES-128-CBC加密自动解密支持多线程下载支持下载限速支持断点续传支持Master List支持直播流录制(BETA)支持自定义HTTP Headers支持自动合并 (二进制合并或使用ffmpeg合并)支持选择下载m3u8中的指定时间段/分片内容支持下载路径为网络驱动器的情况支持下载外挂字幕轨道、音频轨道支持仅合并为音频自动使用系统代理(可禁止)提供SimpleG简易的GUI生成常用参数
https://github.com/nilaoda/N_m3u8DL-CLI
https://github.com/nilaoda/N_m3u8DL-CLI/releases
下载地址
https://aftss.lanzoux.com/iGTdaiojamd密码:hr65
使用Javascript获取m3u8
本页将提供一些JS代码,在您的浏览器运行这些代码有助于更快的获取到m3u8链接用以下载。为了方便使用,最好将下面的JS代码存为书签。
注意:
所有代码仅供学习,请勿用于任何违法途径所有代码通过360极速浏览器测试成功本页Javascript代码有的已经年久失修,均不保证正常使用欢迎到本页底部进行赞赏腾讯视频
可直接将这个超链接拖入你的书签栏:腾讯视频
javascript:vara=prompt(PLAYER._DownloadMonitor.context.dataset.title,PLAYER._DownloadMonitor.context.dataset.ckc?PLAYER._DownloadMonitor.context.dataset.currentVideoUrl:PLAYER._DownloadMonitor.context.dataset.currentVideoUrl.replace(/:.*qq.com/g,“://defaultts.tc.qq.com/defaultts.tc.qq.com”));腾讯视频(DRM内容)
可直接将这个超链接拖入你的书签栏:腾讯视频(DRM内容)
javascript:varm3u8Content=PLAYER._DownloadMonitor.context.dataset.playList[0].m3u8;varblob=newBlob([m3u8Content],{type:“text/plain”});varurl=URL.createObjectURL(blob);vartitle=PLAYER._DownloadMonitor.context.dataset.title+“[v+a].m3u8”;varaLink=document.createElement(“a”);aLink.href=url;aLink.download=title;aLink.style.display=“none”;varevent;if(window.MouseEvent){event=newMouseEvent(“click”)}else{event=document.createEvent(“MouseEvents”);event.initMouseEvent(“click”,true,false,window,0,0,0,0,0,false,false,false,false,0,null)}aLink.dispatchEvent(event);爱奇艺视频
可直接将这个超链接拖入你的书签栏:爱奇艺视频
javascript:try{varinfo=playerObject._player._core._movieinfo.originalData.data.program.video;info.forEach(function(item,index){if(item._selected){varm3u8Content=“”;if(item.m3u8==undefined){try{if(typeof(eval(cmd5x))==“function”){}}catch(e){varreq1=newXMLHttpRequest();req1.open(“GET”,“https://static.iqiyi.com/js/common/f6a3054843de4645b34d205a9f377d25.js”,false);req1.onload=function(){varscript=document.createElement(“script”);script.text=req1.responseText;document.getElementsByTagName(“head”)[0].appendChild(script)};req1.send(null)}varfs=item.fs;varcontent=“EXTM3U\n”;fs.forEach(function(fs_i,fs_index){varurl=fs_i.l;varprefix=“https://data.video.iqiyi.com/videos”;varapi=prefix+url;try{vart=playerObject._player._core._movieinfo.originalData.data.boss.data.t;api=prefix+url+“&cross-domain=1&t=”+t+“&QY00001=”+/qd_uid=(\d+)/g.exec(url)[1]+“&ib=4&ptime=0&ibt=”+cmd5x(t+/\/(\w{10,})/g.exec(url)[1])}catch(err){}varreq=newXMLHttpRequest();req.overrideMimeType(“application/json”);req.open(“GET”,api,false);req.onload=function(){varjsonResponse=JSON.parse(req.responseText);content+=“EXTINF:0\n”+jsonResponse[“l”]+“\n”};req.send(null)});content+=“EXT-X-ENDLIST”;m3u8Content=content}else{m3u8Content=item.m3u8}varblob=newBlob([m3u8Content],{type:“text/plain”});varurl=URL.createObjectURL(blob);vartitle=(document.title.indexOf(“-“)!=–1?document.title.substring(0,document.title.indexOf(“-“)):document.title.replace(/\s/,“”))+“_”+item.scrsz+“_”+(item.code==2?“H264”:“H265”)+“_”+document.getElementsByClassName(“iqp-time-dur”)[0].innerText.replace(/:/,“.”)+“_”+(item.vsize/1024/1024).toFixed(2)+“MB.m3u8”;varaLink=document.createElement(“a”);aLink.href=url;aLink.download=title;aLink.style.display=“none”;varevent;if(window.MouseEvent){event=newMouseEvent(“click”)}else{event=document.createEvent(“MouseEvents”);event.initMouseEvent(“click”,true,false,window,0,0,0,0,0,false,false,false,false,0,null)}aLink.dispatchEvent(event)}})}catch(err){varinfo1=playerObject._player.package.engine.adproxy.engine.movieinfo.vidl;info1.forEach(function(item1,index1){if(item1.responseData!=undefined){varinfo=item1.responseData.data.program.video;info.forEach(function(item,index){if(item._selected){varm3u8Content=“”;if(item.m3u8==undefined){try{if(typeof(eval(cmd5x))==“function”){}}catch(e){varreq1=newXMLHttpRequest();req1.open(“GET”,“https://static.iqiyi.com/js/common/f6a3054843de4645b34d205a9f377d25.js”,false);req1.onload=function(){varscript=document.createElement(“script”);script.text=req1.responseText;document.getElementsByTagName(“head”)[0].appendChild(script)};req1.send(null)}varfs=item.fs;varcontent=“EXTM3U\n”;fs.forEach(function(fs_i,fs_index){varurl=fs_i.l;varprefix=“https://data.video.iqiyi.com/videos”;varapi=prefix+url;try{vart=playerObject._player.package.engine.adproxy.engine.movieinfo.current.boss.data.t;api=prefix+url+“&cross-domain=1&t=”+t+“&QY00001=”+/qd_uid=(\d+)/g.exec(url)[1]+“&ib=4&ptime=0&ibt=”+cmd5x(t+/\/(\w{10,})/g.exec(url)[1])}catch(err){console.error(err)}varreq=newXMLHttpRequest();req.overrideMimeType(“application/json”);req.open(“GET”,api,false);req.onload=function(){varjsonResponse=JSON.parse(req.responseText);content+=“EXTINF:0\n”+jsonResponse[“l”]+“\n”};req.send(null)});content+=“EXT-X-ENDLIST”;m3u8Content=content}else{m3u8Content=item.m3u8}varblob=newBlob([m3u8Content],{type:“text/plain”});varurl=URL.createObjectURL(blob);vartitle=(document.title.indexOf(“-“)!=–1?document.title.substring(0,document.title.indexOf(“-“)):document.title.replace(/\s/,“”))+“_”+item.scrsz+“_”+(item.code==2?“H264”:“H265”)+“_”+document.getElementsByClassName(“iqp-time-dur”)[0].innerText.replace(/:/,“.”)+“_”+(item.vsize/1024/1024).toFixed(2)+“MB.m3u8”;/*nilaoda*/varaLink=document.createElement(“a”);aLink.href=url;aLink.download=title;aLink.style.display=“none”;varevent;if(window.MouseEvent){event=newMouseEvent(“click”)}else{event=document.createEvent(“MouseEvents”);event.initMouseEvent(“click”,true,false,window,0,0,0,0,0,false,false,false,false,0,null)}aLink.dispatchEvent(event)}})}})}爱奇艺 杜比音轨
可直接将这个超链接拖入你的书签栏:爱奇艺杜比音轨
javascript:eval(function(p,a,c,k,e,r){e=function(c){return(c<a?:e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!.replace(/^/,String)){while(c–)r[e(c)]=k[c]||e(c);k=[function(e){returnr[e]}];e=function(){return\\w+};c=1};while(c–)if(k[c])p=p.replace(newRegExp(\\b+e(c)+\\b,g),k[c]);returnp}(3 B=A 1k();B.1j(“1h”,”R://2I.M.C/1c/1Q/2b.1c”,9);B.1b=7(){3 a=6.Q(“19”);a.1m=B.Z;6.V(“U”)[0].S(a)};B.18(z);7 G(a){3 b=6.2S.14(“; “);1K(3 i=0;i爱奇艺 交互式选择音轨
可直接将这个超链接拖入你的书签栏:爱奇艺音轨下载
javascript:eval(function(p,a,c,k,e,r){e=function(c){return(c<a?:e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!.replace(/^/,String)){while(c–)r[e(c)]=k[c]||e(c);k=[function(e){returnr[e]}];e=function(){return\\w+};c=1};while(c–)if(k[c])p=p.replace(newRegExp(\\b+e(c)+\\b,g),k[c]);returnp}(3 O=C 1e();O.1f(” 1g”,”r:=”” 2e.s.h=”” 1h=”” 2f=”” 2g.1h”,d);o.1i=”6(){3″ j(a){3=”” “);2i(3=”” ;z.z(6(a,b){p+=” `\\r\\n[${b}]:{${a.B||""}Q${a.E}Q${a.N}}`});F” 1d=”2K("请选择音轨"+p);8(!1d)K;F” 28(e){3=”” ;o.z(6(b,c){3=”” 1e();l.2z(“30=”” 31″);l.1f(“1g”,i,d);l.1i=”6(){3″ 37([2a],{38:”1k=”” 39″});3=”” v;8(a.2c){v=”C” 2c(“2d”)}1u{v=”7.3l("3m");v.3n("2d",3o,D,A,0,0,0,0,0,D,D,D,D,0,I)}u.3p(v)}})},62,212,|||var|||function|document|if|src||||||||||||||||||||||||||audioTracks|window|name|new|false|bid|let|_track|com|null|getCookie|return|movieinfo|vid|cf|req1|data|_|https|iqiyi|indexOf|tvid|lid|ct||dashUrl|forEach||a1|a2|_select|title|createElement|getQueryString|host|video|href|doRequest|k_uid|ut|_input|XMLHttpRequest|open|GET|js|onload|script|text|responseText|getElementsByTagName|head|appendChild|send|split|unescape|cache|location|else|iq|01010031010014000000|engine|jp|dash|300|vt|rs|uid|ori|pcw|ps|QC005|pt|aac|k_tag|ost|ppt|dfp|__dfp|k_err_retries|qd_v|tm|Date|getTime|qdy|qds|k_ft1|k_ft4|k_ft5|su|cmd5x|loadScript|getAllTracks|program|audio|_lid|_ct|_cf|NILAODA|exec|m3u8Content|1024|MouseEvent|click|static|common|f6a3054843de4645b34d205a9f377d25|cookie|for|length|RegExp|match|01010031010000000000|tw|01010031010010000000|playerObject|_player|package|adproxy|P00003|locale|zh_cn|740531601218477|1162183859249156|callback|slid|up|applang|en_us|sver|141287244169348|34359746564|vf|undefined|push|sort|prompt|Number|_selected|fs|EXTM3U|videos|try|boss_ts|QY00001|qd_uid|ib|ibt|ptime|catch|err|overrideMimeType|application|json|JSON|parse|EXTINF|EXT|ENDLIST|Blob|type|plain|URL|createObjectURL|substring|replace|toFixed|MB|m3u8|download|style|display|none|createEvent|MouseEvents|initMouseEvent|true|dispatchEvent.split(|),0,{}))爱奇艺 4K H264
可直接将这个超链接拖入你的书签栏:爱奇艺4K_H264
javascript:eval(function(p,a,c,k,e,r){e=function(c){return(c<a?:e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!.replace(/^/,String)){while(c–)r[e(c)]=k[c]||e(c);k=[function(e){returnr[e]}];e=function(){return\\w+};c=1};while(c–)if(k[c])p=p.replace(newRegExp(\\b+e(c)+\\b,g),k[c]);returnp}(3 j=k 1e();j.1E(“1J”,”S://14.y.x/N/1K/1W.N”,7);j.11=6(){3 a=5.w(“E”);a.z=j.2i;5.L(“F”)[0].B(a)};j.1f(9);6 m(a){3 b=5.1P.G(“; “);1Y(3 i=0;i爱奇艺4K H265
可直接将这个超链接拖入你的书签栏:爱奇艺4K_H265
javascript:eval(function(p,a,c,k,e,r){e=function(c){return(c<a?:e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!.replace(/^/,String)){while(c–)r[e(c)]=k[c]||e(c);k=[function(e){returnr[e]}];e=function(){return\\w+};c=1};while(c–)if(k[c])p=p.replace(newRegExp(\\b+e(c)+\\b,g),k[c]);returnp}(3 9=j 1c();9.1C(” 1h”,”r:=”” 13.x.w=”” m=”” 1i=”” 1u.m”,6);9.10=”5(){3″ a=”4.v("D");a.y=9.2g;4.K("E")[0].A(a)};9.1e(8);5″ l(a){3=”” “);1w(3=”” q(c[1])}q=”” 8}5=”” 1f(a,b){3=”” 1a(\(^|&)\+a+\=” ([^&]*)(&|$)\,\i\);3″ q(r[2])}q=”” 8}3=”” o=”7.1T.O.t("1X.x.w")!=-1?"28":"2b";3″ u=”/Y/Z?B=” +m.b+”&11=”12&C="+m.C+"&o="+o+"&14=0&15=1&16="+l("17")+"&18=19&1a=0&1b="+l("2o")+"&1d=0&d=0&s=&1g=&1h=&1i=&1j=1&1k=0&1l=0&1m="+l("1n")+"&1o=1p&1q=0&1r=2&1s="+(j” 1t()).1u()+”&1v=”a&1w=0&1x=1y&1z=G&1B=1";7.H="R://1D.I.x.w"+u+"&1F="+1G(u);J(7.H);5″ j(a){3=”” g(e){3=”” 1o([c],{1p:”y=”” 1q”});3=”” h;p(7.s){h=”j” s(“t”)}2j{h=”4.2k("2l");h.2m("T",2n,6,7,0,0,0,0,0,6,6,6,6,0,8)}g.X(h)}})},62,149,|||var|document|function|false|window|null|req1||||||||||new|_|getCookie|movieinfo|title|src|if|return|||indexOf|params|createElement|com|iqiyi|text|engine|appendChild|tvid|vid|script|head|split|NILAODA|dashUrl|video|loadScript|getElementsByTagName|m3u8|js|replace|href|1024|unescape|https|MouseEvent|click|package|length|adproxy|dispatchEvent|jp|dash|onload|bid|800|static|vt|rs|uid|P00003|ori|pcw|ps|k_uid|XMLHttpRequest|pt|send|getQueryString|lid|cf|ct|k_tag|ost|ppt|dfp|__dfp|locale|zh_cn|k_err_retries|qd_v|tm|Date|getTime|qdy|qds|k_ft2|8191|callback|RegExp|ut|open|cache|match|vf|cmd5x|GET|common|data|program|forEach|_selected|cookie|Blob|type|plain|URL|createObjectURL|location|f6a3054843de4645b34d205a9f377d25|substring|for|tw|scrsz|code|H264|H265|getElementsByClassName|iqp|time|dur|innerText|vsize|03020031010010000000|toFixed|MB|03020031010000000000|download|style|display|none|responseText|playerObject|_player|else|createEvent|MouseEvents|initMouseEvent|true|QC005.split(|),0,{}))爱奇艺 1080P H265 (低码)
可直接将这个超链接拖入你的书签栏:爱奇艺1080P_H265(低码)
javascript:eval(function(p,a,c,k,e,r){e=function(c){return(c<a?:e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!.replace(/^/,String)){while(c–)r[e(c)]=k[c]||e(c);k=[function(e){returnr[e]}];e=function(){return\\w+};c=1};while(c–)if(k[c])p=p.replace(newRegExp(\\b+e(c)+\\b,g),k[c]);returnp}(3 9=j 1c();9.1C(” w”,”y:=”” x.t.u=”” z=”” y=”” z.z”,5);7.10=”6(){3″ “);14(3=”” g(c[1])}m=”” 16(a,b){3=”” 17(\(^|&)\+a+\=” ([^&]*)(&|$)\,\i\);3″ g(r[2])}m=”” x=”/1h/1i?J=” +o.j+”&1j=”1k&K="+o.K+"&n="+n+"&1l=0&1m=1&1n="+k("1o")+"&1p=1q&1r=0&1s="+k("1t")+"&1u=0&d=0&s=&1v=&1w=&1x=&1y=1&1z=0&1A=0&1B="+k("1C")+"&1D=1E&1F=0&1G=2&1H="+(8″ 1i()).1j()+”&1k=”a&1L=0&1M=1N&1O=L&1P=1";j.M="y://1Q.N.t.u"+x+"&1R="+1S(x);O(j.M);6″ o(a){3=”” l(e){3=”” 1x([c],{1y:”b=”” 1z”});3=”” h;l(j.s){h=”8″ text=”” plain”<="" span="">});varurl=URL.createObjectURL(blob);vartitle=MGTVPlayer.VIDEOINFO.title+“.m3u8”;varaLink=document.createElement(“a”);aLink.href=url;aLink.download=title;aLink.style.display=“none”;varevent;if(window.MouseEvent){event=newMouseEvent(“click”)}else{event=document.createEvent(“MouseEvents”);event.initMouseEvent(“click”,true,false,window,0,0,0,0,0,false,false,false,false,0,null)}aLink.dispatchEvent(event)}搜狐视频
可直接将这个超链接拖入你的书签栏:搜狐视频
javascript:vardur=document.getElementsByClassName(“x-time-duration”)[0].innerText;varti=document.getElementById(“vinfobox”).getElementsByTagName(“h2”)[0].innerText;vardfn=document.getElementsByClassName(“x-resolution-btn”)[0].innerText;varcontent=“EXTM3U\n”;_player.p2pkernel.dispatchUrlArr.forEach(function(item,index){varurl=item[“0”];$.ajaxSettings.async=false;$.get(url,function(data,status){content+=“EXTINF:0\n”+data[“servers”][0][“url”]+“\n”});$.ajaxSettings.async=true});content+=“EXT-X-ENDLIST”;varblob=newBlob([content],{type:“text/plain”});varurl=URL.createObjectURL(blob);varaLink=document.createElement(“a”);aLink.href=url;aLink.download=ti+“_”+dfn+“_”+dur.replace(/:/,“.”)+“.m3u8”;/*nilaoda*/aLink.style.display=“none”;varevent;if(window.MouseEvent){event=newMouseEvent(“click”)}else{event=document.createEvent(“MouseEvents”);event.initMouseEvent(“click”,true,false,window,0,0,0,0,0,false,false,false,false,0,null)}aLink.dispatchEvent(event)爱奇艺字幕下载
可直接将这个超链接拖入你的书签栏:爱奇艺字幕
javascript:vartvid=playerObject._player.package.engine.adproxy.engine.movieinfo.tvid;varoData=playerObje相关推荐
![951d4dff3c22e9f-527 951d4dff3c22e9f-527](https://www.sjztyd.com/wp-content/uploads/2022/07/951d4dff3c22e9f-527.png)
![951d4dff3c22e9f-527 951d4dff3c22e9f-527](https://www.sjztyd.com/wp-content/uploads/2022/07/951d4dff3c22e9f-527.png)
![951d4dff3c22e9f-527 951d4dff3c22e9f-527](https://www.sjztyd.com/wp-content/uploads/2022/07/951d4dff3c22e9f-527.png)
![951d4dff3c22e9f-527 951d4dff3c22e9f-527](https://www.sjztyd.com/wp-content/uploads/2022/07/951d4dff3c22e9f-527.png)
![951d4dff3c22e9f-527 951d4dff3c22e9f-527](https://www.sjztyd.com/wp-content/uploads/2022/07/951d4dff3c22e9f-527.png)
![951d4dff3c22e9f-527 951d4dff3c22e9f-527](https://www.sjztyd.com/wp-content/uploads/2022/07/951d4dff3c22e9f-527.png)
![951d4dff3c22e9f-527 951d4dff3c22e9f-527](https://www.sjztyd.com/wp-content/uploads/2022/07/951d4dff3c22e9f-527.png)
![951d4dff3c22e9f-527 951d4dff3c22e9f-527](https://www.sjztyd.com/wp-content/uploads/2022/07/951d4dff3c22e9f-527.png)