mirror of
https://github.com/HiddenStrawberry/Crawler_Illegal_Cases_In_China.git
synced 2024-03-22 13:11:36 +08:00
add qiaodashuju
This commit is contained in:
parent
5dcff0abcd
commit
fdb55c4f7e
2038
case3/只因写了一段爬虫,公司200多人被抓!.html
Normal file
2038
case3/只因写了一段爬虫,公司200多人被抓!.html
Normal file
File diff suppressed because one or more lines are too long
BIN
case3/只因写了一段爬虫,公司200多人被抓!_files/640.webp
Normal file
BIN
case3/只因写了一段爬虫,公司200多人被抓!_files/640.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
BIN
case3/只因写了一段爬虫,公司200多人被抓!_files/640_002.webp
Normal file
BIN
case3/只因写了一段爬虫,公司200多人被抓!_files/640_002.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
3988
case3/只因写了一段爬虫,公司200多人被抓!_files/appdialog_confirm471cb1.js
Normal file
3988
case3/只因写了一段爬虫,公司200多人被抓!_files/appdialog_confirm471cb1.js
Normal file
File diff suppressed because one or more lines are too long
905
case3/只因写了一段爬虫,公司200多人被抓!_files/banner_tpl.js
Normal file
905
case3/只因写了一段爬虫,公司200多人被抓!_files/banner_tpl.js
Normal file
File diff suppressed because one or more lines are too long
605
case3/只因写了一段爬虫,公司200多人被抓!_files/cmt_tpl.js
Normal file
605
case3/只因写了一段爬虫,公司200多人被抓!_files/cmt_tpl.js
Normal file
File diff suppressed because one or more lines are too long
3107
case3/只因写了一段爬虫,公司200多人被抓!_files/fereport438bee.js
Normal file
3107
case3/只因写了一段爬虫,公司200多人被抓!_files/fereport438bee.js
Normal file
File diff suppressed because it is too large
Load Diff
1653
case3/只因写了一段爬虫,公司200多人被抓!_files/imgonepx42f400.js
Normal file
1653
case3/只因写了一段爬虫,公司200多人被抓!_files/imgonepx42f400.js
Normal file
File diff suppressed because it is too large
Load Diff
1050
case3/只因写了一段爬虫,公司200多人被抓!_files/index493830.js
Normal file
1050
case3/只因写了一段爬虫,公司200多人被抓!_files/index493830.js
Normal file
File diff suppressed because it is too large
Load Diff
522
case3/只因写了一段爬虫,公司200多人被抓!_files/kugoumusic_ctrl47cb36.js
Normal file
522
case3/只因写了一段爬虫,公司200多人被抓!_files/kugoumusic_ctrl47cb36.js
Normal file
@ -0,0 +1,522 @@
|
||||
define("sougou/a_tpl.html.js",[],function(){
|
||||
return'<h3 class="rich_media_area_title">相关文章</h3>\n<ul class="relate_article_list">\n <# for(var i in list){#>\n <li class="relate_article_item">\n <a class="relate_article_link sg_link" href="<#=list[i].url#>" target="_blank"><#=list[i].title#></a>\n </li>\n <#}#>\n</ul>\n';
|
||||
});define("appmsg/emotion/emotion.js",["appmsg/emotion/dom.js","appmsg/emotion/slide.js","appmsg/emotion/common.js","appmsg/emotion/nav.js","appmsg/emotion/textarea.js","biz_common/utils/emoji_data.js","biz_common/utils/emoji_panel_data.js","biz_common/dom/class.js"],function(t,n){
|
||||
"use strict";
|
||||
function e(){
|
||||
v.WIDTH=y=_("#js_article").width()||_("#js_cmt_mine").width(),v.pageCount=k=i(),
|
||||
o(),a(),s();
|
||||
}
|
||||
function i(){
|
||||
u=y-2*P,S=parseInt(u/W),M=3*S-1;
|
||||
var t=parseInt(R/M);
|
||||
return R%M!==0&&t++,t;
|
||||
}
|
||||
function o(){
|
||||
var t=_("#js_slide_wrapper"),n=v.wrapperWidth=k*y;
|
||||
t.css({
|
||||
width:n+"px"
|
||||
});
|
||||
}
|
||||
function a(){
|
||||
for(var t=_("#js_slide_wrapper").el[0],n=(y-S*W)/2,e=0,i=k;i>e;e++){
|
||||
var o=document.createElement("ul");
|
||||
o.setAttribute("class","emotion_list"),t.appendChild(o),_(o).css({
|
||||
width:y+"px",
|
||||
"float":"left",
|
||||
"padding-left":n+"px",
|
||||
"padding-right":"0"
|
||||
}),c(o,e,n);
|
||||
}
|
||||
}
|
||||
function s(){
|
||||
for(var t=_("#js_navbar"),n=0,e=k;e>n;n++){
|
||||
var i=_(_.el("li"));
|
||||
i.attr("class","emotion_nav js_emotion_nav"),D.push(i),t.append(i);
|
||||
}
|
||||
v.navs=D;
|
||||
}
|
||||
function c(t,n,e){
|
||||
for(var i=0,o=M;o>i;i++){
|
||||
var a=document.createElement("li");
|
||||
if(A++,A>R)break;
|
||||
a=r(A),_(t).append(a);
|
||||
}
|
||||
var s=m(e);
|
||||
_(t).append(s);
|
||||
}
|
||||
function r(t){
|
||||
var n=_(_.el("li")),e=_(_.el("i")),i=0;
|
||||
e.attr("class","icon_emotion icon"+t),e.css({
|
||||
"background-position":"0px "+((1-t)*Z-i)+"px"
|
||||
}),n.attr("class","emotion_item js_emotion_item"),n.attr("data-index",t);
|
||||
var o=W+"px";
|
||||
return n.css({
|
||||
width:o,
|
||||
height:o
|
||||
}),n.append(e),n;
|
||||
}
|
||||
function m(t){
|
||||
var n=_(_.el("li")),e=_(_.el("i"));
|
||||
n.attr("class","emotion_item del js_emotion_item"),n.attr("data-index",-1),e.attr("class","icon_emotion del");
|
||||
var i=W+"px";
|
||||
return n.css({
|
||||
width:i,
|
||||
height:i,
|
||||
right:t+"px"
|
||||
}),n.append(e),n;
|
||||
}
|
||||
function l(){
|
||||
function t(){
|
||||
o.show(),w.show(),i.blur(),_.later(function(){
|
||||
i.blur();
|
||||
});
|
||||
}
|
||||
function n(){
|
||||
o.hide(),w.hide(),i.focus(),_.later(function(){
|
||||
i.focus();
|
||||
});
|
||||
}
|
||||
w=_("#js_emotion_panel");
|
||||
var e=_("#js_cmt_input"),i=e.el[0],o=_("#js_emotion_panel_arrow_wrp"),a=document.getElementById("js_emotion_switch"),s="emotion_switch_current";
|
||||
w.hide(),_("#js_emotion_switch").on("tap",function(e){
|
||||
console.log("emotion click"),e.preventDefault(),e.stopPropagation(),g=!g,g?(t(),
|
||||
E.addClass(a,s)):(n(),E.removeClass(a,s));
|
||||
}),e.on("tap",function(){
|
||||
w.hide(),g=!1;
|
||||
});
|
||||
}
|
||||
function p(){
|
||||
function t(t){
|
||||
if(!v.isMoved){
|
||||
var n=_(t.currentTarget),e=+n.attr("data-index");
|
||||
h.inputEmotion(e);
|
||||
}
|
||||
}
|
||||
_("li.js_emotion_item").on("click",t),_("li.js_emotion_item").on("touchend",t);
|
||||
}
|
||||
function d(t){
|
||||
for(var n=[],e=0;e<x.length;e++){
|
||||
var i=x[e];
|
||||
if(i.cn){
|
||||
var o=new RegExp(i.cn.replace("[","\\[").replace("]","\\]"),"g"),a=t.match(o);
|
||||
a&&(n=n.concat(a));
|
||||
}
|
||||
if(i.emoji){
|
||||
var o=new RegExp(i.emoji,"g"),a=t.match(o);
|
||||
a&&(n=n.concat(a));
|
||||
}
|
||||
}
|
||||
return _.each(n,function(n){
|
||||
if(void 0!==O[n]){
|
||||
var e=O[n],i=z[e],o='<i class="icon_emotion_single '+i+'"></i>';
|
||||
t=t.replace(n,o);
|
||||
}
|
||||
}),t;
|
||||
}
|
||||
for(var u,_=t("appmsg/emotion/dom.js"),f=t("appmsg/emotion/slide.js"),v=t("appmsg/emotion/common.js"),j=t("appmsg/emotion/nav.js"),h=t("appmsg/emotion/textarea.js"),n=(_.each,
|
||||
{}),g=!1,w=null,x=t("biz_common/utils/emoji_data.js"),b=t("biz_common/utils/emoji_panel_data.js"),E=t("biz_common/dom/class.js"),I={},O={},z=[],T=0;T<x.length;T++){
|
||||
var C=x[T];
|
||||
I[C.id]=C;
|
||||
}
|
||||
for(var T=0;T<b.length;T++){
|
||||
var N=b[T],C=I[N];
|
||||
O[C.cn]=T,C.emoji&&(O[C.emoji]=T),z.push(C.style);
|
||||
}
|
||||
var k,M,S,y,D=[],P=15,R=v.EMOTIONS_COUNT,W=v.EMOTION_LI_SIZE,Z=v.EMOTION_SIZE;
|
||||
n.init=function(){
|
||||
l(),e(),f.init(),j.activeNav(0),p(),h.init();
|
||||
};
|
||||
var A=0;
|
||||
return n.encode=function(t){
|
||||
t=d(t);
|
||||
var n=/\/([\u4e00-\u9fa5\w]{1,4})/g,e=t.match(n);
|
||||
return e?(_.each(e,function(n){
|
||||
var e=n.replace("/",""),i=[e.slice(0,4),e.slice(0,3),e.slice(0,2),e.slice(0,1)];
|
||||
_.each(i,function(n){
|
||||
if(void 0!==O["["+n+"]"]){
|
||||
var e=O["["+n+"]"],i=z[e],o='<i class="icon_emotion_single '+i+'"></i>';
|
||||
t=t.replace("/"+n,o);
|
||||
}
|
||||
});
|
||||
}),t):t;
|
||||
},n.hidePannel=function(){
|
||||
w.hide();
|
||||
},n;
|
||||
});define("biz_common/utils/report.js",[],function(){
|
||||
"use strict";
|
||||
return function(n){
|
||||
var e=new Image;
|
||||
e.src=n;
|
||||
};
|
||||
});define("appmsg/articleReport.js",["biz_common/utils/string/html.js","biz_common/dom/event.js","biz_wap/utils/mmversion.js"],function(i){
|
||||
"use strict";
|
||||
function n(i){
|
||||
i.dom&&(i.dom.style.display="",t.tap(i.dom,function(){
|
||||
var n=["https://mp.weixin.qq.com/mp/infringement?url=",encodeURIComponent(i.link.htmlDecode()),"&title=",encodeURIComponent(i.title),"&__biz=",window.biz].join("");
|
||||
return location.href=n+"#wechat_redirect",!1;
|
||||
}));
|
||||
}
|
||||
i("biz_common/utils/string/html.js");
|
||||
{
|
||||
var t=i("biz_common/dom/event.js"),e=i("biz_wap/utils/mmversion.js");
|
||||
({
|
||||
not_in_mm:!e.isWp&&-1==navigator.userAgent.indexOf("MicroMessenger")
|
||||
});
|
||||
}
|
||||
return{
|
||||
init:n
|
||||
};
|
||||
});define("biz_wap/jsapi/leaveReport.js",["biz_wap/jsapi/core.js","biz_common/utils/url/parse.js"],function(e){
|
||||
"use strict";
|
||||
function n(e){
|
||||
var n={};
|
||||
return"undefined"!=typeof uin&&(n.uin=uin),"undefined"!=typeof key&&(n.key=key),
|
||||
"undefined"!=typeof pass_ticket&&(n.pass_ticket=pass_ticket),"undefined"!=typeof wxtoken&&(n.wxtoken=wxtoken),
|
||||
"undefined"!=typeof window.devicetype&&(n.devicetype=window.devicetype),"undefined"!=typeof window.clientversion&&(n.clientversion=window.clientversion),
|
||||
"undefined"!=typeof appmsg_token?n.appmsg_token=appmsg_token:e.indexOf("advertisement_report")>-1&&((new Image).src=location.protocol+"//mp.weixin.qq.com/mp/jsmonitor?idkey=68064_13_1&r="+Math.random()),
|
||||
n.x5=a?"1":"0",n.f="json",p.join(e,n);
|
||||
}
|
||||
function t(e,n){
|
||||
if(e instanceof Object&&n instanceof Object)for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);
|
||||
}
|
||||
function o(e){
|
||||
"function"==typeof e?s.push(e):data instanceof Object&&c.push(e);
|
||||
}
|
||||
function i(e,n){
|
||||
f[e]||(f[e]=[]),f[e].push(n);
|
||||
}
|
||||
var r=e("biz_wap/jsapi/core.js"),p=e("biz_common/utils/url/parse.js"),a=-1!=navigator.userAgent.indexOf("TBS/"),s=[],c=[],f=[];
|
||||
return r.on("reportOnLeaveForMP",function(){
|
||||
var e={};
|
||||
for(var o in f){
|
||||
e[o]||(e[o]={});
|
||||
for(var i=0;i<f[o].length;i++){
|
||||
var r=f[o][i];
|
||||
"function"==typeof r?t(e[o],r()):p instanceof Object&&t(e[o],r);
|
||||
}
|
||||
}
|
||||
for(var i=0;i<s.length;i++){
|
||||
var p=s[i]();
|
||||
p instanceof Object&&c.push(p);
|
||||
}
|
||||
for(var i=0;i<c.length;i++)c[i].reportUrl&&(c[i].reportUrl=n(c[i].reportUrl));
|
||||
return e.data={
|
||||
requestList:c
|
||||
},e;
|
||||
}),{
|
||||
addReport:o,
|
||||
addSpecificReport:i
|
||||
};
|
||||
});define("biz_wap/utils/hand_up_state.js",["biz_common/dom/event.js"],function(n){
|
||||
"use strict";
|
||||
function e(){
|
||||
if("hidden"in document)return"hidden";
|
||||
for(var n=["webkit","moz","ms","o"],e=0;e<n.length;e++)return n[e]+"Hidden"in document,
|
||||
n[e]+"Hidden";
|
||||
return null;
|
||||
}
|
||||
function i(){
|
||||
var n=e();
|
||||
return n?document[n]:!1;
|
||||
}
|
||||
function t(){
|
||||
return r;
|
||||
}
|
||||
var d=n("biz_common/dom/event.js"),o=e(),r=0,u=0;
|
||||
if(o){
|
||||
var m=o.replace(/[H|h]idden/,"")+"visibilitychange";
|
||||
d.on(document,m,function(){
|
||||
i()?u=(new Date).getTime():r+=(new Date).getTime()-u;
|
||||
},!1);
|
||||
}
|
||||
return{
|
||||
getHandUpTime:t,
|
||||
isHidden:i
|
||||
};
|
||||
});define("biz_wap/utils/storage.js",[],function(){
|
||||
"use strict";
|
||||
function t(t){
|
||||
if(!t)throw"require function name.";
|
||||
this.key=t,this.init();
|
||||
}
|
||||
var e="__WXLS__",n=window.localStorage||{
|
||||
getItem:function(){},
|
||||
setItem:function(){},
|
||||
removeItem:function(){},
|
||||
key:function(){},
|
||||
length:0
|
||||
};
|
||||
return t.getItem=function(t){
|
||||
return t=e+t,n.getItem(t);
|
||||
},t.setItem=function(i,r){
|
||||
i=e+i;
|
||||
for(var a=3;a--;)try{
|
||||
n.setItem(i,r);
|
||||
break;
|
||||
}catch(o){
|
||||
t.clear();
|
||||
}
|
||||
},t.clear=function(){
|
||||
var t,i;
|
||||
for(t=n.length-1;t>=0;t--)i=n.key(t),0==i.indexOf(e)&&n.removeItem(i);
|
||||
},t.prototype={
|
||||
constructor:t,
|
||||
init:function(){
|
||||
this.check();
|
||||
},
|
||||
getData:function(){
|
||||
var e=t.getItem(this.key)||"{}";
|
||||
try{
|
||||
e=JSON.parse(e);
|
||||
}catch(n){
|
||||
e={};
|
||||
}
|
||||
return e;
|
||||
},
|
||||
check:function(){
|
||||
var e,n,i=this.getData(),r={},a=+new Date;
|
||||
for(e in i)n=i[e],+n.exp>a&&(r[e]=n);
|
||||
t.setItem(this.key,JSON.stringify(r));
|
||||
},
|
||||
set:function(e,n,i){
|
||||
var r=this.getData();
|
||||
r[e]={
|
||||
val:n,
|
||||
exp:i||+new Date
|
||||
},t.setItem(this.key,JSON.stringify(r));
|
||||
},
|
||||
get:function(t){
|
||||
var e=this.getData();
|
||||
return e=e[t],e?e.val||null:null;
|
||||
},
|
||||
remove:function(e){
|
||||
var n=this.getData();
|
||||
n[e]&&delete n[e],t.setItem(this.key,JSON.stringify(n));
|
||||
}
|
||||
},t;
|
||||
});define("biz_common/utils/http.js",[],function(){
|
||||
"use strict";
|
||||
function t(){
|
||||
var t=document.getElementsByTagName("html");
|
||||
if(t&&1==!!t.length){
|
||||
t=t[0].innerHTML;
|
||||
var e=t.replace(/[\x00-\xff]/g,""),n=t.replace(/[^\x00-\xff]/g,"");
|
||||
return 1*n.length+3*e.length+"<!DOCTYPE html><html></html>".length;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
return{
|
||||
htmlSize:t()
|
||||
};
|
||||
});define("biz_common/utils/cookie.js",[],function(){
|
||||
"use strict";
|
||||
var e={
|
||||
get:function(e){
|
||||
if(""==e)return"";
|
||||
var t=new RegExp(e+"=([^;]*)"),n=document.cookie.match(t);
|
||||
return n&&n[1]||"";
|
||||
},
|
||||
set:function(e,t,n){
|
||||
var o=new Date;
|
||||
return o.setDate(o.getDate()+(n||1)),n=o.toGMTString(),document.cookie=e+"="+t+";expires="+n,
|
||||
!0;
|
||||
}
|
||||
};
|
||||
return e;
|
||||
});define("appmsg/topic_tpl.html.js",[],function(){
|
||||
return'<span class="db topic_wrp">\n <span class="topic_thumb" style="background-image:url({img_url});"></span>\n <span class="topic_content">\n <strong class="topic_title">{title}</strong>\n <span class="topic_desc">{author}</span>\n <span class="topic_info">\n <span class="topic_info_extra"><span class="icon_topic"></span>话题</span>\n <span class="topic_info_primary">相关文章{msg_num}篇</span>\n </span>\n </span>\n</span>\n';
|
||||
});define("question_answer/appmsg_tpl.html.js",[],function(){
|
||||
return'<#if(type==1){#>\n<div class="qa__card qa__show_detail_js" data-key="<#=dataKey#>">\n <#if(dataStatus==3||dataStatus==4){#>\n <section class="qa__card-empty">\n <#if(dataStatus==4){#>\n 该问答内容已被删除 <#}else{#>\n 问答内容加载失败 <#}#>\n </section>\n <#}else if(dataStatus==2){#>\n <div class="qa__card-hd"><span><#=biz_nickname#></span>回答了提问</div>\n <div class="qa__card-bd">\n <#if(question.question_info.question){#>\n <div class="qa__card-desc">\n <#==questionTitle#>\n </div>\n <#}#>\n </div>\n <div class="qa__card-ft">\n <span><#=like_num#>有用</span>\n <span><#=elected_comment_num#>评论</span>\n </div>\n <#}#>\n</div>\n<#}else if(type==2){#>\n<div class="qa__card qa__card_v2 qa__show_theme_js" data-key="<#=dataKey#>">\n <div class="weui-btn weui-btn_primary qa__btn"><i class="qa__icon-qa"></i>向我提问</div>\n <div class="qa__card-hd"><span><#=biz_nickname#></span>发布了一个主题</div>\n <div class="qa__card-bd">\n <div class="qa__card-theme"><#=topicName#></div>\n </div>\n <div class="qa__card-ft">\n <span><#=useful_num#>有用</span>\n <span><#=elected_comment_num#>评论</span>\n </div>\n</div>\n<#}else if(type==3){#>\n<div class="qa__card qa__card_v3 qa__show_profile_js" data-key="<#=dataKey#>">\n <div class="weui-btn weui-btn_primary qa__btn"><i class="qa__icon-qa"></i>向我提问</div>\n <div class="qa__card-bd">\n <div class="qa__card-content">\n <div class="qa__card-avatar">\n <img src="<#=biz_headimg#>" alt="">\n </div>\n <div class="qa__card-main">\n <div class="qa__card-main-name"><#=biz_nickname#></div>\n <div class="qa__card-main-info"><span><#=total_num#>个回答</span><br><span><#=useful_num#>次有用</span></div>\n </div>\n </div>\n </div>\n</div>\n<#}#>';
|
||||
});define("pages/weapp_tpl.html.js",[],function(){
|
||||
return'<!-- <span class="weapp_card flex_context">\n <span class="weapp_card_hd">\n <span class="radius_avatar weapp_card_avatar">\n <img src="<#=avatar#>">\n </span>\n </span>\n <span class="weapp_card_bd flex_bd">\n <strong class="weapp_card_nickname"><#=nickname#></strong>\n <span class="weapp_card_logo"><img class="icon_weapp_logo_mini" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAb1BMVEUAAAB4it11h9x2h9x2h9x2htx8j+R8i+B1h9x2h9x3h92Snv91htt2h9x1h9x4h9x1h9x1h9x2idx1h9t2h9t1htt1h9x1h9x1htx2h9x1h912h9x4h913iN17juOOjuN1iNx2h9t4h958i+B1htvejBiPAAAAJHRSTlMALPLcxKcVEOXXUgXtspU498sx69DPu5+Yc2JeRDwbCYuIRiGBtoolAAAA3ElEQVQoz62S1xKDIBBFWYiFYImm2DWF///G7DJEROOb58U79zi4O8iOo8zuCRfV8EdFgbYE49qFQs8ksJInajOA1wWfYvLcGSueU/oUGBtPpti09uNS68KTMcrQ5jce4kmN/HKn9XVPAo702JEdx9hTUrWUqVrI3KwUmM1NhIWMKdwiGvpGMWZOAj1PZuzAxHwhVSplrajoseBnbyDHAwvrtvKKhdqTtFBkL8wO5ijcsS3G1JMNvQ5mdW7fc0x0+ZcnlJlZiflAomdEyFaM7qeK2JahEjy5ZyU7jC/q/Rz/DgqEuAAAAABJRU5ErkJggg==" alt="">小程序</span>\n </span>\n</span> -->\n<span class="weapp_card app_context appmsg_card_context">\n <span class="weapp_card_bd">\n <span class="weapp_card_profile flex_context">\n <span class="radius_avatar weapp_card_avatar">\n <img src="<#=avatar#>">\n </span>\n <span class="weapp_card_nickname flex_bd"><#=nickname#></span>\n </span>\n <span class="weapp_card_info">\n <span class="weapp_card_title"><#=title#></span>\n <span class="weapp_card_thumb_wrp" style="background-image:url(<#=imageUrl#>);"></span>\n </span>\n </span>\n <span class="weapp_card_ft">\n <span class="weapp_card_logo"><img class="icon_weapp_logo_mini" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAMAAABF0y+mAAAAb1BMVEUAAAB4it11h9x2h9x2h9x2htx8j+R8i+B1h9x2h9x3h92Snv91htt2h9x1h9x4h9x1h9x1h9x2idx1h9t2h9t1htt1h9x1h9x1htx2h9x1h912h9x4h913iN17juOOjuN1iNx2h9t4h958i+B1htvejBiPAAAAJHRSTlMALPLcxKcVEOXXUgXtspU498sx69DPu5+Yc2JeRDwbCYuIRiGBtoolAAAA3ElEQVQoz62S1xKDIBBFWYiFYImm2DWF///G7DJEROOb58U79zi4O8iOo8zuCRfV8EdFgbYE49qFQs8ksJInajOA1wWfYvLcGSueU/oUGBtPpti09uNS68KTMcrQ5jce4kmN/HKn9XVPAo702JEdx9hTUrWUqVrI3KwUmM1NhIWMKdwiGvpGMWZOAj1PZuzAxHwhVSplrajoseBnbyDHAwvrtvKKhdqTtFBkL8wO5ijcsS3G1JMNvQ5mdW7fc0x0+ZcnlJlZiflAomdEyFaM7qeK2JahEjy5ZyU7jC/q/Rz/DgqEuAAAAABJRU5ErkJggg==" alt="">小程序</span>\n </span>\n</span>\n';
|
||||
});define("biz_common/utils/monitor.js",[],function(){
|
||||
"use strict";
|
||||
var n=[],t={};
|
||||
return t.setAvg=function(e,i,r){
|
||||
return n.push(e+"_"+i+"_"+r),n.push(e+"_"+(i-1)+"_1"),t;
|
||||
},t.setSum=function(e,i,r){
|
||||
return n.push(e+"_"+i+"_"+r),t;
|
||||
},t.send=function(){
|
||||
if(0!=n.length){
|
||||
var t=[];
|
||||
for(t.push(n.splice(0,60));n.length>0;)t.push(n.splice(0,60));
|
||||
n=[];
|
||||
for(var e=0,i=t.length;i>e;e++){
|
||||
var r=new Image;
|
||||
r.src="//mp.weixin.qq.com/mp/jsmonitor?idkey="+t[e].join(";")+"&t="+Math.random();
|
||||
}
|
||||
}
|
||||
},t;
|
||||
});define("pages/voice_tpl.html.js",[],function(){
|
||||
return'<span class="js_audio_frame db">\n <#if(show_not_support===true){#>\n <span class="db">当前浏览器不支持播放音乐或语音,请在微信或其他浏览器中播放</span>\n <#}#>\n <span aria-labelledby="语音" id="voice_main_<#=voiceid#>_<#=posIndex#>" class="share_audio_context flex_context pages_reset" <#if(!musicSupport){#>style="display:none;"<#}#>>\n <span id="voice_play_<#=voiceid#>_<#=posIndex#>" aria-labelledby="播放开关" class="db share_audio_switch"><em class="icon_share_audio_switch" role="button"></em></span>\n <span id="voice_detail_<#=voiceid#>_<#=posIndex#>" class="share_audio_info flex_bd db">\n <strong id="voice_title_<#=voiceid#>_<#=posIndex#>" class="share_audio_title" aria-describedby="语音标题" role="link"><#=title#></strong>\n <#if(!!nickname){#>\n <span id="voice_author_<#=voiceid#>_<#=posIndex#>" class="share_audio_tips db">来自<#=nickname#></span>\n <#}#>\n <span id="voice_seekRange_<#=voiceid#>_<#=posIndex#>" class="db share_audio_progress_wrp">\n <span class="db share_audio_progress">\n <span id="voice_progress_<#=voiceid#>_<#=posIndex#>" style="width:0%" class="share_audio_progress_inner"></span>\n <span id="voice_buffer_<#=voiceid#>_<#=posIndex#>" class="share_audio_progress_buffer" style="width:0%;"></span>\n <span id="voice_loading_<#=voiceid#>_<#=posIndex#>" class="share_audio_progress_loading" style="display:none;">\n <span class="share_audio_progress_loading_inner"></span>\n </span>\n </span>\n <span id="voice_playdot_<#=voiceid#>_<#=posIndex#>" class="share_audio_progress_handle" style="display:none;left:0%;"></span>\n </span>\n <span class="share_audio_desc db" aria-labelledby="时长">\n <em id="voice_playtime_<#=voiceid#>_<#=posIndex#>" class="share_audio_length_current" aria-hidden="true">00:00</em>\n <em id="voice_duration_<#=voiceid#>_<#=posIndex#>" class="share_audio_length_total"><#=duration_str#></em>\n </span>\n </span>\n </span>\n</span>\n';
|
||||
});define("pages/kugoumusic_ctrl.js",["biz_common/utils/monitor.js","biz_wap/utils/ajax.js","pages/musicUrlReport.js"],function(e){
|
||||
"use strict";
|
||||
function r(e,r){
|
||||
for(var t,a=[/^http(s)?:\/\/singerimg\.kugou\.com([\/?].*)*$/i,/^http(s)?:\/\/imge\.kugou\.com([\/?].*)*$/i],o=!1,s=0;t=a[s++];)if(t.test(e.albumurl)){
|
||||
o=!0;
|
||||
break;
|
||||
}
|
||||
return o||(e.albumurl=""),e.detailUrl="https://m3ws.kugou.com/kgsong/"+e.jumpurlkey+".html?fromweixin=",
|
||||
e.webUrl=e.detailUrl,e.musicIcon=n.musicIcon,e.media_id=e.musicid,e.type=1*r.scene===0?5:1*r.scene===1?6:9,
|
||||
e;
|
||||
}
|
||||
function t(e,r){
|
||||
var t=e,a=t.otherid+(t.albumid||""),s=n.cache[a];
|
||||
return s&&"function"==typeof r.callback?void r.callback(s):void(n.submiting[a]!==!0&&(n.submiting[a]=!0,
|
||||
o({
|
||||
jumpurlkey:t.jumpurlkey,
|
||||
songId:t.songId,
|
||||
akey:t.otherid,
|
||||
albumid:t.albumid||"",
|
||||
onSuc:function(e){
|
||||
n.submiting[a]=!1,n.cache[a]=e,"function"==typeof r.callback&&r.callback(e);
|
||||
},
|
||||
onError:function(){
|
||||
n.submiting[a]=!1,"function"==typeof r.callback&&r.callback({
|
||||
canplay:!1,
|
||||
msg:"系统繁忙,请稍后再试。返回码:-1",
|
||||
status:-1,
|
||||
play_url:"",
|
||||
duration:0
|
||||
});
|
||||
}
|
||||
})));
|
||||
}
|
||||
function a(e){
|
||||
var r=!0,t="";
|
||||
switch(1*e){
|
||||
case 0:
|
||||
r=!0;
|
||||
break;
|
||||
|
||||
case 1:
|
||||
r=!1,t="该歌曲版权已过期,无法播放。";
|
||||
break;
|
||||
|
||||
case 1002:
|
||||
r=!1,t="系统错误,请稍后再试。";
|
||||
break;
|
||||
|
||||
case 1001:
|
||||
r=!1,t="系统错误,请稍后再试。";
|
||||
break;
|
||||
|
||||
default:
|
||||
r=!1,t="系统错误,请稍后再试。";
|
||||
}
|
||||
return t&&(t+="错误码:"+e),{
|
||||
canplay:r,
|
||||
msg:t
|
||||
};
|
||||
}
|
||||
function o(e){
|
||||
u.setSum(n.reportId,87,1),u.send();
|
||||
var r=+new Date,t="/mp/getkugousong?params=#params#",o=[{
|
||||
akey:e.akey,
|
||||
albumid:e.albumid||""
|
||||
}],m=encodeURIComponent(JSON.stringify(o));
|
||||
t=t.replace("#params#",m),c({
|
||||
url:t,
|
||||
type:"GET",
|
||||
dataType:"json",
|
||||
success:function(t){
|
||||
var o=+new Date-r;
|
||||
if(setTimeout(function(){
|
||||
i.reportRespData({
|
||||
type:2,
|
||||
songid:e.songId,
|
||||
musicid:e.akey,
|
||||
jumpurlkey:e.jumpurlkey,
|
||||
responseData:JSON.stringify(t||{}),
|
||||
kugouParams:m
|
||||
});
|
||||
},0),!t||"undefined"==typeof t.errcode){
|
||||
var u=1;
|
||||
return s({
|
||||
type:"error",
|
||||
time:o,
|
||||
code:u
|
||||
}),void("function"==typeof e.onError&&e.onError({
|
||||
errcode:u
|
||||
}));
|
||||
}
|
||||
var c=0,n="";
|
||||
0==t.errcode?t.data&&t.data[0]&&t.data[0].url?(c=0,n=t.data[0].url):c=1001:c=1==t.errcode?1:1002,
|
||||
s({
|
||||
type:"success",
|
||||
time:o,
|
||||
code:c
|
||||
});
|
||||
var d=a(c);
|
||||
e.onSuc({
|
||||
canplay:d.canplay,
|
||||
msg:d.msg,
|
||||
errcode:c,
|
||||
play_url:n
|
||||
});
|
||||
},
|
||||
error:function(){
|
||||
var t=+new Date-r,a=2;
|
||||
s({
|
||||
type:"error",
|
||||
time:t,
|
||||
code:a
|
||||
}),"function"==typeof e.onError&&e.onError({
|
||||
errcode:a
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
function s(e){
|
||||
var r=Math.max(e.time,0);
|
||||
if(r=Math.min(r,1e4),r>=0&&500>r?u.setSum(n.reportId,98,1):r>=500&&1e3>r?u.setSum(n.reportId,99,1):r>=1e3&&2e3>r?u.setSum(n.reportId,100,1):r>=2e3&&5e3>r?u.setSum(n.reportId,101,1):r>=5e3&&1e4>=r&&u.setSum(n.reportId,102,1),
|
||||
"error"==e.type){
|
||||
switch(1*e.code){
|
||||
case 1:
|
||||
u.setSum(n.reportId,94,1);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
u.setSum(n.reportId,91,1);
|
||||
break;
|
||||
|
||||
case 3:
|
||||
u.setSum(n.reportId,92,1);
|
||||
break;
|
||||
|
||||
case 4:
|
||||
u.setSum(n.reportId,93,1);
|
||||
}
|
||||
u.setSum(n.reportId,88,1);
|
||||
}else if("success"==e.type){
|
||||
switch(1*e.code){
|
||||
case 1:
|
||||
u.setSum(n.reportId,95,1);
|
||||
break;
|
||||
|
||||
case 0:
|
||||
u.setSum(n.reportId,97,1);
|
||||
break;
|
||||
|
||||
case 1002:
|
||||
u.setSum(n.reportId,96,1);
|
||||
break;
|
||||
|
||||
case 1001:
|
||||
u.setSum(n.reportId,103,1);
|
||||
}
|
||||
u.setSum(n.reportId,89,1);
|
||||
}
|
||||
u.send();
|
||||
}
|
||||
var u=e("biz_common/utils/monitor.js"),c=e("biz_wap/utils/ajax.js"),i=e("pages/musicUrlReport.js"),n={
|
||||
reportId:"28306",
|
||||
musicIcon:window.icon_kugou_source||"",
|
||||
cache:{},
|
||||
submiting:{}
|
||||
};
|
||||
return{
|
||||
initData:r,
|
||||
getPlayUrl:t
|
||||
};
|
||||
});
|
2095
case3/只因写了一段爬虫,公司200多人被抓!_files/list_tpl.js
Normal file
2095
case3/只因写了一段爬虫,公司200多人被抓!_files/list_tpl.js
Normal file
File diff suppressed because it is too large
Load Diff
1
case3/只因写了一段爬虫,公司200多人被抓!_files/middle476532.css
Normal file
1
case3/只因写了一段爬虫,公司200多人被抓!_files/middle476532.css
Normal file
@ -0,0 +1 @@
|
||||
html,body{height:100%}.middle__notice{background-color:#fff;min-height:100%;position:relative;padding-bottom:50px;box-sizing:border-box}.middle__notice .rich_media_area_primary{background-color:#fff}.middle__notice .weui-msg__extra-area{margin-bottom:0;padding-bottom:15px;position:absolute;width:100%}.middle__notice-head{text-align:center;opacity:.90;font-size:17px;line-height:24px;color:#000;font-weight:bold;padding:28px 0 36px}.rich_media_area{padding:0 16px}.original_panel_title{font-size:17px;line-height:24px;color:rgba(0,0,0,0.9);font-weight:bold;margin:0 0 8px 0}.original_panel .original_account{margin-bottom:12px}
|
1099
case3/只因写了一段爬虫,公司200多人被抓!_files/mpAdAsync485651.js
Normal file
1099
case3/只因写了一段爬虫,公司200多人被抓!_files/mpAdAsync485651.js
Normal file
File diff suppressed because one or more lines are too long
BIN
case3/只因写了一段爬虫,公司200多人被抓!_files/pic_like_comment492329.png
Normal file
BIN
case3/只因写了一段爬虫,公司200多人被抓!_files/pic_like_comment492329.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 53 KiB |
BIN
case3/只因写了一段爬虫,公司200多人被抓!_files/pic_mp_app4290ba.png
Normal file
BIN
case3/只因写了一段爬虫,公司200多人被抓!_files/pic_mp_app4290ba.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
case3/只因写了一段爬虫,公司200多人被抓!_files/pic_reward_qrcode.png
Normal file
BIN
case3/只因写了一段爬虫,公司200多人被抓!_files/pic_reward_qrcode.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.1 KiB |
1299
case3/只因写了一段爬虫,公司200多人被抓!_files/player4847c6.js
Normal file
1299
case3/只因写了一段爬虫,公司200多人被抓!_files/player4847c6.js
Normal file
File diff suppressed because one or more lines are too long
979
case3/只因写了一段爬虫,公司200多人被抓!_files/player_adaptor42f400.js
Normal file
979
case3/只因写了一段爬虫,公司200多人被抓!_files/player_adaptor42f400.js
Normal file
@ -0,0 +1,979 @@
|
||||
define("a/tpl/mpda_bottom_tpl.html.js",[],function(){
|
||||
return'<div class="rich_media_extra">\n <div class="weui-loadmore weui-loadmore_line mod_title_context_primary mpad_more_container">\n <span class="weui-loadmore__tips js_ad_opt_list_btn_0">广告<!--投诉入口 begin-->\n <div class="mpad_more js_mpad_more">\n <ul class="mpad_more_list js_ad_opt_list js_ad_opt_list_0" style="display:none">\n <li class="mpad_more_list_ele">\n <a class="mpad_more_list_ele_container js_complain_btn_0" href="javascript:;">投诉</a>\n </li>\n </ul>\n </div>\n <!--投诉入口 end--> \n </span>\n </div>\n <!--广告插入位置-->\n <#=adTpl#>\n</div>';
|
||||
});define("a/tpl/crt_size_map.js",["a/a_config.js","biz_wap/utils/ajax.js","a/a_sign.js","biz_common/utils/url/parse.js","a/tpl/new_cpc_tpl.html.js","a/tpl/sponsor_tpl.html.js","a/tpl/banner_tpl.html.js","a/tpl/cardticket_tpl.html.js","a/tpl/info_tpl.html.js","a/tpl/smallcard_tpl.html.js","a/tpl/promote_tpl.html.js","a/tpl/banner_info_tpl.html.js","a/tpl/smallbanner_info_tpl.html.js","a/tpl/smallbanner_msg_tpl.html.js"],function(t){
|
||||
"use strict";
|
||||
function a(t){
|
||||
t.biz_info.is_subscribed?(t.btn_text="查看",window.__addIdKeyReport&&window.__addIdKeyReport(24729,65,1)):window.__addIdKeyReport&&window.__addIdKeyReport(24729,64,1);
|
||||
}
|
||||
var _=t("a/a_config.js"),e=t("biz_wap/utils/ajax.js"),n=t("a/a_sign.js"),p=t("biz_common/utils/url/parse.js");
|
||||
return{
|
||||
484:{
|
||||
tpl:t("a/tpl/new_cpc_tpl.html.js"),
|
||||
renderData:{
|
||||
isVideo:!1,
|
||||
superscript:!0
|
||||
}
|
||||
},
|
||||
996:{
|
||||
tpl:t("a/tpl/sponsor_tpl.html.js"),
|
||||
renderData:{
|
||||
has_banner:!1,
|
||||
has_desc:!0
|
||||
}
|
||||
},
|
||||
997:{
|
||||
tpl:t("a/tpl/sponsor_tpl.html.js"),
|
||||
renderData:{
|
||||
has_banner:!1,
|
||||
has_desc:!0
|
||||
}
|
||||
},
|
||||
998:{
|
||||
multiLogic:[{
|
||||
selection:{
|
||||
pos_type:_.AD_POS.POS_SPONSOR
|
||||
},
|
||||
tpl:t("a/tpl/sponsor_tpl.html.js"),
|
||||
renderData:{
|
||||
has_banner:!0,
|
||||
has_desc:!0
|
||||
}
|
||||
},{
|
||||
selection:{
|
||||
pos_type:_.AD_POS.POS_BOTTOM
|
||||
},
|
||||
tpl:t("a/tpl/banner_tpl.html.js")
|
||||
}]
|
||||
},
|
||||
135:{
|
||||
multiLogic:[{
|
||||
selection:{
|
||||
pos_type:_.AD_POS.POS_BOTTOM,
|
||||
product_type:_.AD_TYPE.CARD_PRODUCT_TYPE
|
||||
},
|
||||
tpl:t("a/tpl/cardticket_tpl.html.js"),
|
||||
paramsPreHandler:function(t){
|
||||
return t.title=t.card_info.card_title,t.avatar=t.card_info.card_logo_url,t.desc=t.card_info.card_brand_name,
|
||||
t;
|
||||
}
|
||||
},{
|
||||
selection:{
|
||||
pos_type:_.AD_POS.POS_BOTTOM,
|
||||
product_type:_.AD_TYPE.ADD_CONTACT_PRODUCT_TYPE
|
||||
},
|
||||
tpl:t("a/tpl/info_tpl.html.js"),
|
||||
paramsPreHandler:function(t){
|
||||
return t.title=t.avatarTitle,t.desc=t.hint_txt,a(t),t;
|
||||
},
|
||||
renderData:{
|
||||
isWxapp:!1
|
||||
}
|
||||
}]
|
||||
},
|
||||
267:{
|
||||
tpl:t("a/tpl/smallcard_tpl.html.js"),
|
||||
paramsPreHandler:function(t){
|
||||
return t.title=t.mp_shop_info.name,t.avatar=t.mp_shop_info.img,t.priceBefore=parseInt(t.mp_shop_info.ori_price/100),
|
||||
t.price=parseInt(t.mp_shop_info.cur_price/100),t;
|
||||
}
|
||||
},
|
||||
133:{
|
||||
tpl:t("a/tpl/banner_tpl.html.js")
|
||||
},
|
||||
420:{
|
||||
tpl:t("a/tpl/banner_tpl.html.js")
|
||||
},
|
||||
134:{
|
||||
tpl:t("a/tpl/promote_tpl.html.js"),
|
||||
paramsAlias:{
|
||||
title:"hint_txt",
|
||||
desc:"ad_desc",
|
||||
avatar:"image_url"
|
||||
}
|
||||
},
|
||||
538:{
|
||||
tpl:t("a/tpl/new_cpc_tpl.html.js"),
|
||||
renderData:{
|
||||
isVideo:!0,
|
||||
tag_pos:-1,
|
||||
price:!1,
|
||||
superscript:!1
|
||||
},
|
||||
paramsAlias:{
|
||||
title:"avatarTitle"
|
||||
}
|
||||
},
|
||||
567:{
|
||||
tpl:t("a/tpl/banner_tpl.html.js")
|
||||
},
|
||||
354:{
|
||||
tpl:t("a/tpl/banner_info_tpl.html.js"),
|
||||
paramsAlias:{
|
||||
banner:"image_url"
|
||||
},
|
||||
paramsPreHandler:function(t){
|
||||
return t.hint_txt&&(t.desc=t.hint_txt.split("|")[0],t.suply_desc=t.hint_txt.split("|")[1]||""),
|
||||
t.product_type==_.AD_TYPE.ADD_CONTACT_PRODUCT_TYPE?(t.title=t.avatarTitle,t.size=t.app_info.app_size):(t.product_type==_.AD_TYPE.ANDROID_APP_PRODUCT_TYPE||t.product_type==_.AD_TYPE.IOS_APP_PRODUCT_TYPE)&&(t.title=t.app_info.app_name,
|
||||
t.size=t.app_info.app_size,"进入应用"==t.btn_text&&(t.btn_text="进入")),t;
|
||||
}
|
||||
},
|
||||
117:{
|
||||
tpl:t("a/tpl/smallbanner_info_tpl.html.js"),
|
||||
paramsAlias:{
|
||||
banner:"image_url"
|
||||
},
|
||||
paramsPreHandler:function(t){
|
||||
return t.product_type==_.AD_TYPE.ADD_CONTACT_PRODUCT_TYPE?t.title=t.avatarTitle:(t.product_type==_.AD_TYPE.ANDROID_APP_PRODUCT_TYPE||t.product_type==_.AD_TYPE.IOS_APP_PRODUCT_TYPE)&&(t.title=t.app_info.app_name,
|
||||
"进入应用"==t.btn_text&&(t.btn_text="进入")),a(t),t;
|
||||
}
|
||||
},
|
||||
355:{
|
||||
tpl:t("a/tpl/smallbanner_info_tpl.html.js"),
|
||||
paramsAlias:{
|
||||
banner:"image_url"
|
||||
},
|
||||
paramsPreHandler:function(t){
|
||||
return t.product_type==_.AD_TYPE.ADD_CONTACT_PRODUCT_TYPE?t.title=t.avatarTitle:(t.product_type==_.AD_TYPE.ANDROID_APP_PRODUCT_TYPE||t.product_type==_.AD_TYPE.IOS_APP_PRODUCT_TYPE)&&(t.title=t.app_info.app_name,
|
||||
"进入应用"==t.btn_text&&(t.btn_text="进入")),a(t),t;
|
||||
}
|
||||
},
|
||||
568:{
|
||||
tpl:t("a/tpl/smallbanner_info_tpl.html.js"),
|
||||
paramsAlias:{
|
||||
banner:"image_url"
|
||||
},
|
||||
paramsPreHandler:function(t){
|
||||
return t.product_type==_.AD_TYPE.ADD_CONTACT_PRODUCT_TYPE?t.title=t.avatarTitle:(t.product_type==_.AD_TYPE.ANDROID_APP_PRODUCT_TYPE||t.product_type==_.AD_TYPE.IOS_APP_PRODUCT_TYPE)&&(t.title=t.app_info.app_name,
|
||||
"进入应用"==t.btn_text&&(t.btn_text="进入")),a(t),t;
|
||||
}
|
||||
},
|
||||
677:{
|
||||
tpl:t("a/tpl/smallbanner_msg_tpl.html.js"),
|
||||
paramsPreHandler:function(t){
|
||||
var a=t.shop_image;
|
||||
return t.shop_image.length>0&&(a=a[0]),t.banner=a.image_url,t.title=t.hint_txt,t.tags=a.mp_tags,
|
||||
t;
|
||||
}
|
||||
},
|
||||
708:{
|
||||
tpl:t("a/tpl/new_cpc_tpl.html.js"),
|
||||
paramsPreHandler:function(t){
|
||||
return t.isVideo=!1,t.price="",t.tag_pos="",t.superscript="",a(t),t;
|
||||
},
|
||||
afterRender:function(t,a){
|
||||
function _(){
|
||||
i.style.display="none";
|
||||
}
|
||||
if(a){
|
||||
var i=a.getElementsByClassName("js_mpad_cpc_ft_msg_contact")[0];
|
||||
i&&setTimeout(function(){
|
||||
var a=["aid="+t.aid,"appid="+t.biz_appid,"pass_ticket="+window.pass_ticket,"pos_type="+t.pos_type,"sn="+window.sn,"user_uin="+window.user_uin,"uxinfo="+(t.uxinfo||"")].join("&");
|
||||
n.createSign({
|
||||
beforeSign:a,
|
||||
timeout:2e3
|
||||
},function(n,l,r,s){
|
||||
e({
|
||||
url:p.join("/mp/getappmsgad",{
|
||||
action:"getbizext",
|
||||
ad_sign_data:n,
|
||||
ad_sign_k1:l,
|
||||
ad_sign_k2:r,
|
||||
ad_sign_md5:s,
|
||||
pos_type:t.pos_type,
|
||||
aid:t.aid,
|
||||
pass_ticket:encodeURIComponent(window.pass_ticket)
|
||||
},!0),
|
||||
type:"POST",
|
||||
notEncode:!0,
|
||||
data:{
|
||||
sn:window.sn,
|
||||
appmsgid:window.appmsgid,
|
||||
idx:window.idx,
|
||||
appid:t.biz_appid,
|
||||
__biz:window.biz,
|
||||
mid:window.mid,
|
||||
send_time:window.send_time||"",
|
||||
uxinfo:t.uxinfo||"",
|
||||
before_sign:a
|
||||
},
|
||||
success:function(t){
|
||||
try{
|
||||
t=JSON.parse(t);
|
||||
}catch(a){
|
||||
return void _();
|
||||
}
|
||||
if(!t.biz_info)return void _();
|
||||
var e=i.getElementsByTagName("span")[0],n=i.getElementsByTagName("span")[1],p=t.biz_info.original_cnt>=10?t.biz_info.original_cnt+"篇原创文章":"",l=t.biz_info.comm_sub_cnt>0?t.biz_info.comm_sub_cnt+"位朋友关注":"";
|
||||
p?(e.innerHTML=p,n.innerHTML=l):l?e.innerHTML=l:t.biz_info.signature?e.innerHTML=t.biz_info.signature:_();
|
||||
},
|
||||
error:function(){
|
||||
_();
|
||||
}
|
||||
});
|
||||
});
|
||||
},1e3);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
});define("biz_wap/jsapi/cardticket.js",["biz_wap/jsapi/core.js"],function(e){
|
||||
"use strict";
|
||||
var c=e("biz_wap/jsapi/core.js"),r={
|
||||
openCardDetail:function(e){
|
||||
function r(){
|
||||
c.invoke("openCardDetail",{
|
||||
card_id:e.card_id,
|
||||
card_ext:e.card_ext
|
||||
},function(c){
|
||||
"open_card_detail:fail"==c.err_msg||"open_card_detail:ok"==c.err_msg||"open_card_detail:cancel"==c.err_msg?e.success&&e.success(c):c.err_msg.indexOf("function_not_exist")>=0?e.function_not_exist&&e.function_not_exist():"system:access_denied"==c.err_msg?e.access_denied&&e.access_denied("openCardDetail"):e.error&&e.error(c);
|
||||
});
|
||||
}
|
||||
function n(){
|
||||
c.invoke("batchAddCard",{
|
||||
card_list:[{
|
||||
card_id:e.card_id,
|
||||
card_ext:e.card_ext
|
||||
}]
|
||||
},function(c){
|
||||
"batch_add_card:ok"==c.err_msg||"batch_add_card:fail"==c.err_msg||"batch_add_card:cancel"==c.err_msg?e.success&&e.success(c):c.err_msg.indexOf("function_not_exist")>=0?r():"system:access_denied"==c.err_msg?e.access_denied&&e.access_denied("batchAddCard"):e.error&&e.error(c);
|
||||
});
|
||||
}
|
||||
n();
|
||||
},
|
||||
supportCardDetail:function(e){
|
||||
c.invoke("openCardDetail",{
|
||||
card_id:"err_id"
|
||||
},function(c){
|
||||
e.callback(c.err_msg.indexOf("function_not_exist")>=0?!1:!0);
|
||||
});
|
||||
},
|
||||
openCard:function(e){
|
||||
c.invoke("batchViewCard",{
|
||||
cardList:[{
|
||||
cardId:e.cardId,
|
||||
code:e.code
|
||||
}]
|
||||
},function(c){
|
||||
c.err_msg.indexOf("function_not_exist")>=0?e.function_not_exist&&e.function_not_exist():e.success&&e.success(c);
|
||||
});
|
||||
}
|
||||
};
|
||||
return r;
|
||||
});define("biz_common/utils/emoji_panel_data.js",[],function(){
|
||||
"use strict";
|
||||
return[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17,18,19,20,21,22,23,25,26,27,28,29,30,31,32,33,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,54,55,56,57,60,62,63,64,65,66,67,68,70,74,75,76,78,79,80,81,82,83,84,85,89,92,93,94,95,300,301,302,303,304,305,306,307,204,205,202,206,212,211,308,309,310,311,312,209,214];
|
||||
});define("appmsg/emotion/textarea.js",["appmsg/emotion/dom.js","appmsg/emotion/caret.js","biz_common/dom/class.js","biz_common/utils/emoji_data.js","biz_common/utils/emoji_panel_data.js"],function(e,t){
|
||||
"use strict";
|
||||
function n(){
|
||||
var e="translate3d(0, 0, 0)";
|
||||
u.css({
|
||||
webkitTransform:e,
|
||||
transform:e
|
||||
});
|
||||
}
|
||||
function a(){
|
||||
var e=8;
|
||||
u.on("keydown",function(t){
|
||||
t.keyCode===e&&i(!0)&&t.preventDefault();
|
||||
});
|
||||
}
|
||||
function i(e){
|
||||
function t(){
|
||||
var e=a-1;
|
||||
0>e&&(e=0);
|
||||
var t=i.slice(0,e),o=i.slice(a),s=+new Date;
|
||||
n.value=t+o,f.set(n,e),r(+new Date-s);
|
||||
}
|
||||
var n=u.el[0],a=f.get(n),i=n.value,s=4,c=a-s;
|
||||
0>c&&(c=0,s=a-c);
|
||||
var v=i.slice(c,a),d=v.match(/\[([\u4e00-\u9fa5\w]+)\]$/g);
|
||||
if(d){
|
||||
var p=d[0],_=s-p.length,j=p.replace("[","").replace("]","");
|
||||
if(o(j)){
|
||||
var b=v.replace(p,""),g=i.slice(0,c)+b+i.slice(a),h=+new Date;
|
||||
n.value=g,f.set(n,c+_),r(+new Date-h);
|
||||
}else{
|
||||
if(e)return!1;
|
||||
t();
|
||||
}
|
||||
}else{
|
||||
if(e)return!1;
|
||||
t();
|
||||
}
|
||||
return e?(n.focus(),m.later(function(){
|
||||
n.focus();
|
||||
})):(n.blur(),m.later(function(){
|
||||
n.blur();
|
||||
})),l(n.value),!0;
|
||||
}
|
||||
function o(e){
|
||||
for(var t=0,n=j.length;n>t;t++)if(j[t]==e)return!0;
|
||||
return!1;
|
||||
}
|
||||
function s(e){
|
||||
var t=u.el[0],n=f.get(t),a=t.value,a=a.slice(0,n)+e+a.slice(n);
|
||||
t.value=a,f.set(t,n+e.length+1),t.blur(),m.later(function(){
|
||||
t.blur();
|
||||
}),l(a);
|
||||
}
|
||||
function r(){}
|
||||
function l(e){
|
||||
var t=c.el[0];
|
||||
e.length<1?v.addClass(t,"btn_disabled"):v.removeClass(t,"btn_disabled");
|
||||
}
|
||||
for(var u,c,t={},m=e("appmsg/emotion/dom.js"),f=e("appmsg/emotion/caret.js"),v=e("biz_common/dom/class.js"),d=e("biz_common/utils/emoji_data.js"),p=e("biz_common/utils/emoji_panel_data.js"),_={},j=[],b=0;b<d.length;b++){
|
||||
var g=d[b];
|
||||
_[g.id]=g;
|
||||
}
|
||||
for(var b=0;b<p.length;b++){
|
||||
var h=p[b],g=_[h];
|
||||
j.push(g.cn);
|
||||
}
|
||||
return t.init=function(){
|
||||
u=m("#js_cmt_input"),c=m("#js_cmt_submit"),n(),a();
|
||||
},t.inputEmotion=function(e,t){
|
||||
-1===e?i(t):s(j[e-1]);
|
||||
},t;
|
||||
});define("appmsg/emotion/nav.js",["appmsg/emotion/common.js","appmsg/emotion/dom.js"],function(n,o){
|
||||
"use strict";
|
||||
var t=n("appmsg/emotion/common.js"),a=n("appmsg/emotion/dom.js"),m=a.each,o={};
|
||||
return o.activeNav=function(n){
|
||||
t.currentPage=n;
|
||||
var o=t.navs;
|
||||
m(o,function(t,a){
|
||||
a===n?o[a].attr("class","emotion_nav current"):o[a].attr("class","emotion_nav");
|
||||
});
|
||||
},o;
|
||||
});define("appmsg/emotion/common.js",[],function(){
|
||||
"use strict";
|
||||
return{
|
||||
EMOTIONS_COUNT:99,
|
||||
EMOTION_LI_SIZE:36,
|
||||
EMOTION_SIZE:22
|
||||
};
|
||||
});define("appmsg/emotion/slide.js",["appmsg/emotion/common.js","appmsg/emotion/dom.js","appmsg/emotion/nav.js"],function(n,t){
|
||||
"use strict";
|
||||
function o(){
|
||||
function n(n){
|
||||
n.preventDefault(),n.stopPropagation(),l||(g=!0,i=a(n),m.isMoved=!1,u=+new Date);
|
||||
}
|
||||
function t(n){
|
||||
n.preventDefault(),n.stopPropagation(),!l&&g&&(r=a(n),h=r-i,e(),Math.abs(h)>6&&(m.isMoved=!0));
|
||||
}
|
||||
function o(){
|
||||
l||(g=!1,s());
|
||||
}
|
||||
function a(n){
|
||||
return n.touches&&n.touches.length>0?n.touches[0].clientX:n.clientX;
|
||||
}
|
||||
var i,r,u;
|
||||
c.on("touchstart",n),c.on("mousedown",n),c.on("touchmove",t),c.on("mousemove",t),
|
||||
c.on("touchend",o),c.on("mouseup",o);
|
||||
}
|
||||
function e(){
|
||||
var n=m.WIDTH,t=-d*n+h,o=n/4;
|
||||
t>o?t=o:u-o>t&&(t=u-o);
|
||||
var e="translate3d("+t+"px, 0, 0)";
|
||||
c.css({
|
||||
webkitTransform:e,
|
||||
transform:e
|
||||
});
|
||||
}
|
||||
function s(){
|
||||
var n=m.WIDTH,t=55,o=parseInt(h/n),e=h%n;
|
||||
d-=o,Math.abs(e)>t&&(d-=Math.abs(e)/e*1),d>m.pageCount-1?d=m.pageCount-1:0>d&&(d=0),
|
||||
h=0,a(d);
|
||||
}
|
||||
function a(n){
|
||||
l=!0,f=-n*m.WIDTH,i(),e(),setTimeout(function(){
|
||||
l=!1,r();
|
||||
},T),v.activeNav(n);
|
||||
}
|
||||
function i(){
|
||||
var n="all 0.3s ease";
|
||||
c.css({
|
||||
transition:n,
|
||||
webkitTransition:n
|
||||
});
|
||||
}
|
||||
function r(){
|
||||
var n=c.el[0].style;
|
||||
n.transition="",n.webkitTransition="";
|
||||
}
|
||||
var u,m=n("appmsg/emotion/common.js"),p=n("appmsg/emotion/dom.js"),t={},c=p("#js_slide_wrapper"),f=0,v=n("appmsg/emotion/nav.js"),l=!1,d=0,g=!1,h=0;
|
||||
t.init=function(){
|
||||
u=-m.wrapperWidth+m.WIDTH,o();
|
||||
var n="translate3d(0, 0, 0)";
|
||||
c.css({
|
||||
webkitTransform:n,
|
||||
transform:n
|
||||
});
|
||||
};
|
||||
var T=300;
|
||||
return t;
|
||||
});define("appmsg/emotion/dom.js",["biz_common/dom/event.js"],function(t){
|
||||
"use strict";
|
||||
function e(t){
|
||||
if("string"==typeof t){
|
||||
document.querySelectorAll||!function(){
|
||||
var t=document.createStyleSheet(),e=function(e,n){
|
||||
var i,o=document.all,r=o.length,u=[];
|
||||
for(t.addRule(e,"foo:bar"),i=0;r>i&&!("bar"===o[i].currentStyle.foo&&(u.push(o[i]),
|
||||
u.length>n));i+=1);
|
||||
return t.removeRule(0),u;
|
||||
};
|
||||
document.querySelectorAll=function(t){
|
||||
return e(t,1/0);
|
||||
};
|
||||
}();
|
||||
var e=document.querySelectorAll(t);
|
||||
}else e=[t];
|
||||
return{
|
||||
el:e,
|
||||
on:function(t,e){
|
||||
return this.each(function(n){
|
||||
i.on(n,t,e);
|
||||
}),this;
|
||||
},
|
||||
hide:function(){
|
||||
return this.each(function(t){
|
||||
t.style.display="none";
|
||||
}),this;
|
||||
},
|
||||
show:function(){
|
||||
return this.each(function(t){
|
||||
t.style.display="block";
|
||||
}),this;
|
||||
},
|
||||
each:function(t){
|
||||
return n(this.el,t),this;
|
||||
},
|
||||
width:function(){
|
||||
return this.el[0].clientWidth;
|
||||
},
|
||||
css:function(t){
|
||||
return this.each(function(e){
|
||||
for(var n in t)e.style[n]=t[n];
|
||||
}),this;
|
||||
},
|
||||
attr:function(t,e){
|
||||
var n=this.el[0];
|
||||
return e?(n.setAttribute(t,e),this):n.getAttribute(t);
|
||||
},
|
||||
append:function(t){
|
||||
return t.el&&(t=t.el[0]),this.el[0].appendChild(t),this;
|
||||
},
|
||||
html:function(t){
|
||||
this.each(function(e){
|
||||
e.innerHTML=t;
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
function n(t,e){
|
||||
for(var n=0,i=t.length;i>n;n++)e(t[n],n);
|
||||
}
|
||||
var i=t("biz_common/dom/event.js");
|
||||
return e.el=function(t){
|
||||
return document.createElement(t);
|
||||
},e.later=function(t){
|
||||
setTimeout(t,3);
|
||||
},e.log=function(){},e.each=n,e;
|
||||
});define("pages/musicUrlReport.js",["biz_wap/utils/ajax.js"],function(s){
|
||||
"use strict";
|
||||
var e=s("biz_wap/utils/ajax.js"),r=function(){
|
||||
var s=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],r=[""];
|
||||
r.push(1*s.type===1?1:2),r.push(s.songid||""),r.push(s.musicid||""),r.push(s.jumpurlkey||""),
|
||||
r.push(""),r.push(s.kugouParams||"");
|
||||
for(var t=encodeURIComponent(s.responseData||""),u=2e3,a=parseInt(t.length/u,10),p=0;a>=p;p++){
|
||||
var n=t.substr(p*u,u);
|
||||
n&&r.push(n);
|
||||
}
|
||||
e({
|
||||
url:"/mp/webcommreport?action=report",
|
||||
type:"POST",
|
||||
data:{
|
||||
logid:18027,
|
||||
buffer:r.join(",")
|
||||
}
|
||||
});
|
||||
};
|
||||
return{
|
||||
reportRespData:r
|
||||
};
|
||||
});define("biz_wap/jsapi/log.js",["biz_wap/jsapi/core.js","biz_wap/utils/mmversion.js"],function(i){
|
||||
"use strict";
|
||||
function o(i,o){
|
||||
o=e+" "+o+" location:["+location.href+"]",n.isWechat&&n.isAndroid?r.invoke("log",{
|
||||
level:i,
|
||||
msg:o
|
||||
}):n.isWechat&&(n.isIOS||n.isMac)&&r.invoke("writeLog",{
|
||||
level:i,
|
||||
msg:o
|
||||
});
|
||||
}
|
||||
var r=i("biz_wap/jsapi/core.js"),n=i("biz_wap/utils/mmversion.js"),e="__wap__",a={
|
||||
info:function(){
|
||||
o("info",Array.prototype.join.apply(arguments));
|
||||
},
|
||||
warn:function(){
|
||||
o("warn",Array.prototype.join.apply(arguments));
|
||||
},
|
||||
error:function(){
|
||||
o("error",Array.prototype.join.apply(arguments));
|
||||
},
|
||||
debug:function(){
|
||||
o("debug",Array.prototype.join.apply(arguments));
|
||||
}
|
||||
};
|
||||
return a.log=a.info,a;
|
||||
});define("pages/player_tips.js",["biz_common/tmpl.js","pages/audition_tpl.html.js","biz_common/dom/event.js"],function(t){
|
||||
"use strict";
|
||||
function i(t){
|
||||
this.parent=document.body,this.opt=t||{},this.init();
|
||||
}
|
||||
var n=t("biz_common/tmpl.js"),e=t("pages/audition_tpl.html.js"),o=t("biz_common/dom/event.js");
|
||||
return i.prototype.init=function(){
|
||||
var t=document.createElement("div");
|
||||
t.innerHTML=n.tmpl(e,this.opt),this.parent.appendChild(t),this.dom=document.getElementById("js_music_dialog");
|
||||
var i=this;
|
||||
o.on(i.dom.getElementsByClassName("js_submit")[0],"click",function(){
|
||||
i.parent.removeChild(t),"function"==typeof i.opt.onClick&&i.opt.onClick();
|
||||
});
|
||||
},i;
|
||||
});define("pages/music_report_conf.js",[],function(){
|
||||
"use strict";
|
||||
return{
|
||||
m_pv:"28306_0",
|
||||
m_wx_pv:"28306_1",
|
||||
m_h5_pv:"28306_2",
|
||||
m_unload_wx_pv:"28306_3",
|
||||
v_pv:"28306_4",
|
||||
v_wx_pv:"28306_5",
|
||||
v_h5_pv:"28306_6",
|
||||
v_unload_wx_pv:"28306_7",
|
||||
force_h5:"28306_30",
|
||||
m_h5_err_total:"28306_31",
|
||||
m_h5_err_1:"28306_32",
|
||||
m_h5_err_2:"28306_33",
|
||||
m_h5_err_3:"28306_34",
|
||||
m_h5_err_4:"28306_35",
|
||||
m_h5_err_5:"28306_36",
|
||||
v_h5_err_total:"28306_37",
|
||||
v_h5_err_1:"28306_38",
|
||||
v_h5_err_2:"28306_39",
|
||||
v_h5_err_3:"28306_40",
|
||||
v_h5_err_4:"28306_41",
|
||||
v_h5_err_5:"28306_42",
|
||||
m_wx_pv_2:"28306_43",
|
||||
v_wx_pv_2:"28306_44",
|
||||
m_wx_pv_1:"28306_50",
|
||||
v_wx_pv_1:"28306_55",
|
||||
m_wx_err_1:"28306_58",
|
||||
m_wx_err_2:"28306_59",
|
||||
v_wx_err_1:"28306_60",
|
||||
v_wx_err_2:"28306_61",
|
||||
v_stoped_android:"59288_1",
|
||||
v_stoped_ios:"59288_0",
|
||||
v_paused_android:"59288_7",
|
||||
v_paused_ios:"59288_6",
|
||||
m_stoped_android:"59288_3",
|
||||
m_stoped_ios:"59288_2",
|
||||
m_paused_android:"59288_9",
|
||||
m_paused_ios:"59288_8",
|
||||
k_stoped_android:"59288_5",
|
||||
k_stoped_ios:"59288_4",
|
||||
k_paused_android:"59288_11",
|
||||
k_paused_ios:"59288_10",
|
||||
k_pv:"28306_66",
|
||||
k_wx_pv:"28306_67",
|
||||
k_h5_pv:"28306_69",
|
||||
k_unload_wx_pv:"28306_71",
|
||||
k_h5_err_total:"28306_72",
|
||||
k_h5_err_1:"28306_74",
|
||||
k_h5_err_2:"28306_75",
|
||||
k_h5_err_3:"28306_76",
|
||||
k_h5_err_4:"28306_77",
|
||||
k_h5_err_5:"28306_78",
|
||||
k_wx_pv_1:"28306_79",
|
||||
k_wx_pv_2:"28306_81",
|
||||
k_wx_err_1:"28306_83",
|
||||
k_wx_err_2:"28306_85",
|
||||
aac_pv:"28306_104",
|
||||
ios_aac_err_1:"28306_106",
|
||||
ios_aac_err_2:"28306_108",
|
||||
android_aac_err_1:"28306_110",
|
||||
android_aac_err_2:"28306_112",
|
||||
v_seek_err:"28306_114",
|
||||
android_aac_err_3:"28306_116",
|
||||
ios_aac_err_3:"28306_118",
|
||||
QMClient_pv:"62866_0",
|
||||
QMClient_play:"62866_1",
|
||||
QMClient_js_num:"62866_2",
|
||||
QMClient_js_suc:"62866_3",
|
||||
QMClient_js_err:"62866_5",
|
||||
QMClient_js_timeout:"62866_7",
|
||||
QMClient_js_network:"62866_9"
|
||||
};
|
||||
});define("pages/report.js",["biz_wap/utils/ajax.js","pages/version4video.js"],function(e){
|
||||
"use strict";
|
||||
function i(e){
|
||||
var i=["/mp/pagereport?type=","undefined"==typeof e.type?1:e.type,"&comment_id=",e.comment_id||"","&voiceid=",e.voiceid||"","&action=",e.action,"&__biz=",parent.window.biz||"","&mid=",parent.window.mid||"","&idx=",parent.window.idx||"","&scene=",parent.window.scene||"","&t=",Math.random()].join("");
|
||||
s({
|
||||
type:"GET",
|
||||
url:i,
|
||||
timeout:2e4
|
||||
});
|
||||
}
|
||||
function t(e){
|
||||
s({
|
||||
type:"POST",
|
||||
url:"/mp/videoreport?#wechat_redirect",
|
||||
timeout:5e3,
|
||||
async:e.async===!0?!0:!1,
|
||||
data:e.data
|
||||
});
|
||||
}
|
||||
function o(e){
|
||||
for(var i=JSON.parse(JSON.stringify(e.data)),t=[],o=0,n=i.seek_position.length;n>o;o++){
|
||||
var a=i.seek_position[o];
|
||||
if(a&&a.length>0){
|
||||
var d=a.join("#");
|
||||
t.push(d||"");
|
||||
}else t.push("");
|
||||
}
|
||||
i.seek_position=t;
|
||||
for(var r=[],o=0,n=i.seek_loaded.length;n>o;o++){
|
||||
var a=i.seek_loaded[o];
|
||||
if(a&&a.length>0){
|
||||
var d=a.join(",");
|
||||
r.push(d||"");
|
||||
}else r.push("");
|
||||
}
|
||||
i.seek_loaded=r;
|
||||
for(var p=[],c=30;i.musicid.length>0;){
|
||||
var a={};
|
||||
for(var o in i)i.hasOwnProperty(o)&&("[object Array]"==Object.prototype.toString.call(i[o])?(a[o]=i[o].splice(0,c),
|
||||
a[o]=a[o].join("mtitle"==o?";#":";")):a[o]=i[o]);
|
||||
p.push(a);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
function n(e){
|
||||
var i=window.cgiData&&window.cgiData.txvideo_openid?window.cgiData.txvideo_openid:"",t=encodeURIComponent(parent.window.location.href.replace(/(\?|&)(key|uin)=([\S\s]*?)(&|$)/g,"$1").replace(/&$/,"")),o=["http://btrace.qq.com/kvcollect?BossId=2973&Pwd=1557019983&step=1009&vid=","undefined"!=typeof e.vid?e.vid:"","&platform=",d(),"&val=","undefined"!=typeof e.val?e.val:"","&val1=","undefined"!=typeof e.val1?e.val1:"","&vurl=",encodeURIComponent(e.vurl),"&t=",Math.random(),"&url=",t,"&wx_openid=",i].join(""),n=new Image;
|
||||
n.src=o.substr(0,1024);
|
||||
}
|
||||
function a(e){
|
||||
if(3==e.step||6==e.step||1999==e.step){
|
||||
var i=window.cgiData&&window.cgiData.txvideo_openid?window.cgiData.txvideo_openid:"",t=encodeURIComponent(parent.window.location.href.replace(/(\?|&)(key|uin)=([\S\s]*?)(&|$)/g,"$1").replace(/&$/,"")),o=["http://btrace.qq.com/kvcollect?BossId=2973&Pwd=1557019983&step=",e.step,"&vid=","undefined"!=typeof e.vid?e.vid:"","&platform=",d(),"&loadwait=","undefined"!=typeof e.loadwait?e.loadwait:"","&val=","undefined"!=typeof e.val?e.val:"","&t=",Math.random(),"&url=",t,"undefined"!=typeof e.vt&&""!==e.vt&&6==e.step?"&vt="+e.vt:"","&wx_openid=",i].join(""),n=new Image;
|
||||
n.src=o.substr(0,1024);
|
||||
}
|
||||
}
|
||||
function d(){
|
||||
var e=_.device;
|
||||
return e.ipad?60101:e.is_android_phone?60301:e.iphone?60401:e.is_android_tablet?60501:"";
|
||||
}
|
||||
function r(){
|
||||
var e=_.device;
|
||||
return e.ipad?"v4010":e.is_android_phone&&_.isUseProxy()?"v5060":e.is_android_phone?"v5060":e.iphone&&_.isUseProxy()?"v3060":e.iphone?"v3060":e.is_android_tablet?"v6010":"";
|
||||
}
|
||||
function p(e){
|
||||
var i={
|
||||
mid:window.mid||0,
|
||||
__biz:window.biz||0,
|
||||
idx:window.idx||0,
|
||||
musicid:[],
|
||||
hasended:[],
|
||||
commentid:[],
|
||||
scene_type:e.type||0,
|
||||
mtitle:[],
|
||||
detail_click:[],
|
||||
app_btn_kv:0,
|
||||
app_btn_click:0,
|
||||
app_btn_type:0,
|
||||
errorcode:[],
|
||||
seek:[],
|
||||
seek_position:[],
|
||||
duration2:[],
|
||||
play_duration2:[],
|
||||
play_last_time:[],
|
||||
local_time:[],
|
||||
seek_loaded:[]
|
||||
};
|
||||
return i;
|
||||
}
|
||||
function c(){
|
||||
var e={
|
||||
videoerror:0,
|
||||
like_kv_vid:"",
|
||||
like_click_vid:"",
|
||||
like_kv_alginfo:"",
|
||||
like_click_alginfo:"",
|
||||
tad:"",
|
||||
page:0,
|
||||
like_click_type:0,
|
||||
iplat:2,
|
||||
ptype:1,
|
||||
rtype:"",
|
||||
getvinfo_ret:-1,
|
||||
getvinfo_time:0,
|
||||
v_err_code:0,
|
||||
loadwait:0,
|
||||
hasended:0,
|
||||
last_ms:0,
|
||||
duration_ms:0,
|
||||
app_btn_kv:0,
|
||||
app_btn_click:0,
|
||||
app_btn_type:0,
|
||||
mid:"",
|
||||
__biz:"",
|
||||
idx:"",
|
||||
detail_click:0,
|
||||
vtitle:"",
|
||||
vid:"",
|
||||
commentid:"",
|
||||
scene_type:0,
|
||||
replay:0,
|
||||
full_screen:0,
|
||||
quick_play:0,
|
||||
ad_play_time:-1,
|
||||
video_play_time:-1,
|
||||
click_play_button:0,
|
||||
traceid:"",
|
||||
webviewid:"",
|
||||
orderid:0,
|
||||
play_time:0,
|
||||
client_time_when_play:Math.round(+new Date/1e3),
|
||||
drag_times:"",
|
||||
pause_num:0,
|
||||
h5_profile:0,
|
||||
to_article:0,
|
||||
desc_more_click:0,
|
||||
desc_more_show:0,
|
||||
fromid:0,
|
||||
openid:window.cgiData&&window.cgiData.txvideo_openid?window.cgiData.txvideo_openid:"",
|
||||
file_size:0,
|
||||
rate:0,
|
||||
resolution:0,
|
||||
format:"",
|
||||
vt:"",
|
||||
video_ext:"unknown",
|
||||
content_url:parent.window.location.href,
|
||||
auto_play:0,
|
||||
ori_status:3,
|
||||
hit_bizuin:"",
|
||||
sessionid:window.sessionid||"",
|
||||
hit_vid:""
|
||||
};
|
||||
return e;
|
||||
}
|
||||
function l(e,i,t){
|
||||
var o=0,n=[],a={};
|
||||
if(i&&"[object String]"==Object.prototype.toString.call(i))o=1,"img"==t&&(i=encodeURIComponent(i)),
|
||||
n.push("log0="+i),a.log0=i;else if(i&&"[object Array]"==Object.prototype.toString.call(i)){
|
||||
o=i.length;
|
||||
for(var d=0;o>d;d++){
|
||||
var r="img"==t?encodeURIComponent(i[d]):i[d];
|
||||
n.push("log"+d+"="+r),a["log"+d]=r;
|
||||
}
|
||||
}
|
||||
if("img"==t){
|
||||
var p=new Image,c="//mp.weixin.qq.com/mp/jsmonitor?idkey="+e;
|
||||
o>0&&(c+="&lc="+o+"&"+n.join("&")),c+="&t="+Math.random(),p.src=c;
|
||||
}else{
|
||||
var l={};
|
||||
o>0&&(l=a),l.idkey=e,l.lc=o,s({
|
||||
type:"POST",
|
||||
url:"//mp.weixin.qq.com/mp/jsmonitor?",
|
||||
timeout:1e4,
|
||||
data:l,
|
||||
dataType:"json"
|
||||
});
|
||||
}
|
||||
}
|
||||
var s=e("biz_wap/utils/ajax.js"),_=e("pages/version4video.js");
|
||||
return{
|
||||
report:i,
|
||||
videoreport:t,
|
||||
getPlatformType:d,
|
||||
getsdtfrom:r,
|
||||
getinfoReport:n,
|
||||
qqvideo_common_report:a,
|
||||
musicreport:o,
|
||||
getMusicReportData:p,
|
||||
getVideoReportData:c,
|
||||
logReport:l
|
||||
};
|
||||
});define("pages/player_adaptor.js",["pages/music_player.js","biz_common/utils/monitor.js","pages/loadscript.js","pages/music_report_conf.js"],function(t){
|
||||
"use strict";
|
||||
function i(t,i){
|
||||
0!=t.type&&1!=t.type||!p.inQMClient?"function"==typeof i.callback&&i.callback(new a.init(t)):(p.initPlayerQueue.push(n("QMClient",t,i)),
|
||||
e("QMClient"));
|
||||
}
|
||||
function n(t,i,n){
|
||||
var e=p.config[t].func;
|
||||
return function(t,i,n,e){
|
||||
return function(){
|
||||
"function"==typeof window[i]?"function"==typeof e.callback&&e.callback(new r(n,{
|
||||
type:t
|
||||
})):"function"==typeof e.callback&&e.callback(new a.init(n));
|
||||
};
|
||||
}(t,e,i,n);
|
||||
}
|
||||
function e(t){
|
||||
var i=p.config[t];
|
||||
if(1!=i.jsLoadState){
|
||||
if(2==i.jsLoadState||3==i.jsLoadState)return void s();
|
||||
i.jsLoadState=1;
|
||||
var n=+new Date,e=l[t+"_js_num"];
|
||||
e&&(e=e.split("_"),c.setSum(e[0],e[1],1),c.send()),u({
|
||||
url:i.jsLink,
|
||||
timeout:1e4,
|
||||
type:"JS",
|
||||
callback:function(){
|
||||
+new Date-n;
|
||||
2==i.jsLoadState,s();
|
||||
var e=l[t+"_js_suc"];
|
||||
e&&(e=e.split("_"),c.setSum(e[0],e[1],1),c.send());
|
||||
},
|
||||
onerror:function(e){
|
||||
+new Date-n;
|
||||
i.jsLoadState=3,s();
|
||||
var o=l[t+"_js_err"],r=l[t+"_js_timeout"],a=l[t+"_js_network"];
|
||||
if(o&&r&&a){
|
||||
switch(o=o.split("_"),r=r.split("_"),a=a.split("_"),c.setSum(o[0],o[1],1),1*e){
|
||||
case 400:
|
||||
c.setSum(a[0],a[1],1);
|
||||
break;
|
||||
|
||||
case 500:
|
||||
c.setSum(r[0],r[1],1);
|
||||
}
|
||||
c.send();
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
function s(){
|
||||
for(var t=0,i=p.initPlayerQueue.length;i>t;t++)"function"==typeof p.initPlayerQueue[t]&&p.initPlayerQueue[t]();
|
||||
p.initPlayerQueue=[];
|
||||
}
|
||||
function o(){
|
||||
for(var t in p.config)"function"==typeof p[t+"EvInit"]&&p[t+"EvInit"]();
|
||||
}
|
||||
function r(t,i){
|
||||
if(this.opt=t,this.opt2=i,this._g={
|
||||
_blockPlugin:{},
|
||||
playType:"-1"
|
||||
},"QMClient"==i.type&&p.inQMClient){
|
||||
var n=p.config[i.type];
|
||||
n.playerObj||(p.config[i.type].playerObj=new window[n.func]),this._g.playType=i.type,
|
||||
this.player=n.playerObj,this._initPlugins(),this._bindQMEvent();
|
||||
}
|
||||
}
|
||||
var a=t("pages/music_player.js"),c=t("biz_common/utils/monitor.js"),u=t("pages/loadscript.js"),l=t("pages/music_report_conf.js"),p={
|
||||
debug:location.href.indexOf("_qqclient=1")>0?!0:!1,
|
||||
config:{
|
||||
QMClient:{
|
||||
func:"Player",
|
||||
playerObj:null,
|
||||
jsLink:"https://imgcache.qq.com/music/h5/player/player.js?max_age=604800&v=1",
|
||||
jsLoadState:-1
|
||||
}
|
||||
},
|
||||
inQMClient:!1,
|
||||
initPlayerQueue:[]
|
||||
};
|
||||
return p.QMClientEvInit=function(){
|
||||
if(p.inQMClient=window.navigator.userAgent.indexOf("QQMusic/")>0||p.debug?!0:!1,
|
||||
p.inQMClient&&window.msg_cdn_url&&window.msg_title){
|
||||
var t=window.location.href,i=a.getQuery("scene",t);
|
||||
i&&(t=t.replace("&scene="+i,"").replace("?scene="+i,"")),t=t.replace(/#rd$/,"").replace(/#wechat_redirect$/,""),
|
||||
-1==t.indexOf("?")&&(t+="?"),t+="&scene=112#wechat_redirect";
|
||||
var n=function(t){
|
||||
window.WebViewJavascriptBridge?t():document.addEventListener("WebViewJavascriptBridgeReady",t);
|
||||
},e=(window.msg_title||"").html(!1),s=(window.msg_desc||"").html(!1);
|
||||
n(function(){
|
||||
M.client.invoke("ui","setActionBtn",{
|
||||
type:"icon",
|
||||
content:"share"
|
||||
},function(){
|
||||
M.client.invoke("other","callShareWeb",{
|
||||
imgUrl:window.msg_cdn_url,
|
||||
link:t,
|
||||
title:e,
|
||||
desc:s
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
},o(),r.prototype={
|
||||
_initPlugins:function(){
|
||||
this.opt.plugins||(this.opt.plugins=[]);
|
||||
for(var t=this.opt.plugins,i=0,n=t.length;n>i;++i){
|
||||
var e=t[i];
|
||||
e.setPlayer(this),!!e.init&&e.init();
|
||||
}
|
||||
},
|
||||
_trigger:function(t,i){
|
||||
var n=this.opt,e=this._g,s=n.plugins,o=e._blockPlugin[t]||e._blockPlugin.all,r=0;
|
||||
if(o&&"function"==typeof o.recv&&(r|=o.recv(t,i),1&r))return!1;
|
||||
for(var a=0,c=s.length;c>a&&(r|=s[a].recv(t,i),!(2&r));++a);
|
||||
if(!(4&r)){
|
||||
var u=this["__"+t+"Handler"];
|
||||
u&&u.call(this,i);
|
||||
}
|
||||
8&r||this.__triggerOutside(t,i);
|
||||
},
|
||||
__triggerOutside:function(){
|
||||
var t=arguments,i=t[0];
|
||||
if(i){
|
||||
i=i.substr(0,1).toUpperCase()+i.substr(1);
|
||||
var n=this.opt["on"+i];
|
||||
"function"==typeof n&&n.apply(this,t);
|
||||
}
|
||||
},
|
||||
_setBlockPlugin:function(t,i){
|
||||
this._g._blockPlugin[t]=i;
|
||||
},
|
||||
_bindQMEvent:function(){
|
||||
var t=this;
|
||||
this.player.on("play",function(i){
|
||||
i&&i.song&&i.song.mid==t.opt.mid?(t._trigger("statusChange",1),t._trigger("QMClientPlay")):t._trigger("statusChange",3);
|
||||
}),this.player.on("pause",function(i){
|
||||
i&&i.song&&i.song.mid==t.opt.mid&&t._trigger("statusChange",2);
|
||||
}),this.player.on("stop",function(i){
|
||||
i&&i.song&&i.song.mid==t.opt.mid&&t._trigger("statusChange",3);
|
||||
});
|
||||
},
|
||||
play:function(){
|
||||
"QMClient"==this._g.playType&&this.player.play(this.opt.mid);
|
||||
},
|
||||
pause:function(){
|
||||
this.player.pause();
|
||||
},
|
||||
stop:function(){
|
||||
this.player.stop();
|
||||
},
|
||||
getDuration:function(){
|
||||
return this.opt.duration?this.opt.duration:"QMClient"==this._g.playType?this.player.duration||0:0;
|
||||
},
|
||||
getCurTime:function(){
|
||||
return"QMClient"==this._g.playType?this.player.currentTime||0:0;
|
||||
},
|
||||
surportSeekRange:function(){
|
||||
return!1;
|
||||
},
|
||||
getSrc:function(){
|
||||
return"";
|
||||
},
|
||||
destory:function(){},
|
||||
seek:function(){},
|
||||
setDuration:function(){},
|
||||
setSrc:function(){}
|
||||
},{
|
||||
create:i,
|
||||
inQMClient:p.inQMClient
|
||||
};
|
||||
});
|
1808
case3/只因写了一段爬虫,公司200多人被抓!_files/product4576f8.js
Normal file
1808
case3/只因写了一段爬虫,公司200多人被抓!_files/product4576f8.js
Normal file
File diff suppressed because it is too large
Load Diff
BIN
case3/只因写了一段爬虫,公司200多人被抓!_files/qrcode.dib
Normal file
BIN
case3/只因写了一段爬虫,公司200多人被抓!_files/qrcode.dib
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
Loading…
x
Reference in New Issue
Block a user