tt67 发表于 2012-9-18 09:31
都未整理,和去调整呢.
其实现在的V4采集是基本够用的..
老大,你送我的内测版,现在还在用,视频展厅还是3.1的,没更新,习惯了,不想更新了。
现在内测版的问题是土豆网的采出来的不能在CMP4中播放,不知道为什么,我也没编辑过采集土豆单视频规则,是软件自带的吗?
具体情况如下:
土豆网视频地址:- http://www.tudou.com/albumplay/72-Sl8fcuHQ.html
复制代码 采集出来是这样的- 标题:空白
- URL:http://www.tudou.com/v/J7457e5RnO4/v.swf&flvid=151529991
- ,cdnType:1
- ,cartoonType:0
- ,kw:"车在囧途"
- ,icode:"J7457e5RnO4"
- ,cid:"22"
- ,oid:"61994755"
- ,hd:1
- ,sh:"0.0000",st:"0.0000",tict:1
- ,dl:1
- ,np:0
- ,pic:"http://i2.tdimg.com/151/529/991/p.jpg"
- ,time:"01:31:57"
- ,opic:"http://u1.tdimg.com/2/43/231/105234955301390247126356684698149648372.jpg"
- ,onic:"拜爵"
- ,pub:""
- ,oname:"_61994755"
- ,nm:0
- ,scale:1
- ,csc6:"0"
- ,nc:0
- ,nls:0
- ,ol:0
- ,olw:-1
- ,olh:-1
- ,olr:-1
- }
- ]
- varisDisney=false;
- (function(icode,data,w){
- varfound=false;
- for(vari=0,j=data.length;i<j;i++){
- data[i]['title']=data[i]['kw'];
- if(data[i].icode==icode){
- initItemMeta(w,data[i]);
- w.index=i;
- found=true;
- }
- }
- if(!found)
- initItemMeta(w,data[0]||{});functioninitItemMeta(w,d){
- varc;
- for(varnind){
- c=d[n];
- if(c!==undefined)
- w[n]=c;
- }
- w.needCount=w.nc;
- w.thumbnail=w.bigItemUrl=w.pic;
- }
- })(icode,listData,window);
- </script>
- <divclass="g-minig-mini-play"id="gTop"><divclass="g-mini-main"><divclass="logo"><atitle="土豆网tudou.com每个人都是生活的导演">土豆网</a></div><divclass="g-mini-nav"><ulclass="g-link"><liclass="first"><atarget="_blank">原创</a></li><li><atarget="_blank">电视剧</a></li><li><atarget="_blank">电影</a></li><li><atarget="_blank">综艺</a></li><liclass="g-link-more"><spanclass="handle"><ahref="#">更多</a></span><divclass="g-more-nav"><divclass="more-top"></div><divclass="more-item"><h3>频道</h3><ul><li><atarget="_blank">动漫</a></li><liclass="clear"><atarget="_blank">全部</a></li><li><atarget="_blank">热点</a></li><li><atarget="_blank">财富</a></li><li><atarget="_blank">汽车</a></li><li><atarget="_blank">科技</a></li><li><atarget="_blank">体育</a></li><li><atarget="_blank">娱乐</a></li><li><atarget="_blank">音乐</a></li><li><atarget="_blank">游戏</a></li><li><atarget="_blank">搞笑</a></li><li><atarget="_blank">风尚</a></li><li><atarget="_blank">美容</a></li><li><atarget="_blank">女性</a></li><li><atarget="_blank">乐活</a></li><li><atarget="_blank">健康</a></li><li><atarget="_blank">教育</a></li><li><atarget="_blank">城市</a></li></ul></div><divclass="more-item"><h3>产品</h3><ul><li><atarget="_blank">广场</a></li></ul></div></div></li></ul></div><divclass="g-mini-searchg-search"><formaction="http://www.soku.com/t/nisearch.do"method="get"target="_blank"><divclass="g-search-box"><inputclass="g-search-texttui_searchint"type="text"accesskey="s"value=""name="kw"autocomplete="off"onfocus="this['_gs_focus']=1"onblur="this['_gs_focus']=0"/></div><inputclass="g-search-submit"type="submit"value="搜索"/><inputtype="hidden"value="td.t"name="cid"disabled="disabled"/></form></div><divclass="g-mini-user"><ulclass="g-user"id="uInfo"><liclass="g-viewlistview_record"id="viewRecordNav"><spanclass="handle"><bclass="view_icon"></b><atarget="_blank">观看历史</a></span><divclass="g-viewlist-nav"id="viewRecordWrap"><divclass="sub_tp"></div><divclass="sub_bd"><pid="viewRecordNotify"class="viewRecord_notify"><imgsrc="http://css.tudouui.com/skin/__g/img/loading3.gif"></p><divid="viewRecordContainer"class="viewRecord_container"></div><divid="viewRecordDo"class="viewRecord_do"><aid="viewRecordSave"target="_blank"class="save">永久保存观看记录</a></div></div><divclass="sub_ft"><atarget="_blank">我的点播单(<emid="quickNum">0</em>)</a></div></div></li><li><atarget="_blank"id="reg">注册</a></li><li><atarget="_blank"id="login">登录</a></li></ul><aclass="g-upload"target="_blank">上传视频</a></div></div></div><divclass="videowrap"><divclass="auto"><divclass="vcate_2"><divclass="vct"><h4class="vcate_title"id="vcate_title"></h4><ahref="#"class="pop_player"id="popPlayer">小窗口播放</a></div><ulclass="vci"><li><atitle="电影频道"target="_blank"coords="LLA">电影</a></li><li><atarget="_blank">大陆</a></li><li><atarget="_blank">喜剧</a><atarget="_blank">爱情</a></li><li><atarget="_blank"title="车在囧途">车在囧途</a></li></ul></div><divid="player"class="player"><h1>车在囧途</h1><divid="playerPlaceholder"></div><script>/*
- *@modified$Author:wkli$
- *@version$Rev:25700$
- *@pathSTATIC/js/fn/flashloader2.js
- */
- functionMash(){varb=4022871197;vara=function(e){e=e.toString();for(varc=0;c<e.length;c++){b+=e.charCodeAt(c);vard=0.02519603282416938*b;b=d>>>0;d-=b;d*=b;b=d>>>0;d-=b;b+=d*4294967296}return(b>>>0)*2.3283064365386963e-10};a.version="Mash0.9";returna}functionMRG32k3a(){return(function(h){varn=4294967087;varm=4294944443;varl=12345,k=12345,j=123,g=12345,f=12345,e=123;if(h.length===0){h=[+newDate()]}vara=Mash();for(vard=0;d<h.length;d++){l+=a(h[d])*4294967296;k+=a(h[d])*4294967296;j+=a(h[d])*4294967296;g+=a(h[d])*4294967296;f+=a(h[d])*4294967296;e+=a(h[d])*4294967296}l%=n;k%=n;j%=n;g%=m;f%=m;e%=m;a=null;varc=function(){varw=4294967087;varv=4294944443;vars=1403580;varq=810728;varp=527612;vari=1370589;varo,u,r;u=s*k-q*l;o=u/w|0;u-=o*w;if(u<0){u+=w}l=k;k=j;j=u;r=p*e-i*g;o=r/v|0;r-=o*v;if(r<0){r+=v}g=f;f=e;e=r;if(u<=r){returnu-r+w}else{returnu-r}};varb=function(){returnc()*2.3283064365386963e-10};b.uint32=c;b.fract53=function(){returnb()+(c()&2097151)*1.1102230246251565e-16};b.version="MRG32k3a0.9";b.args=h;returnb}(Array.prototype.slice.call(arguments)))}varTUI={browser:(function(){vara=navigator.userAgent.toLowerCase();return{webkit:/webkit/.test(a)?(a.match(/webkit\/(\d+)/)||[])[1]:0,ie:!+"\v1",iOS:(a.match(/(ipad|iphone|ipod)/)||[])[0],iOSVersion:(a.match(/os\s+([\d_]+)\s+like\s+mac\s+os/)||[0,"0_0_0"])[1].split("_"),wphone:parseFloat((a.match(/windows\sphone\sos\s([\d.]+)/)||["","0"])[1]),android:parseFloat((a.match(/android\s([\d.]+)/)||["","0"])[1])}})(),renderTpl:function(a,b){returna.replace(/<%\=(\w+)%>/g,function(d,c){returnb[c]!=null?b[c]:""})},cookie:function(g,c,h,f){if(typeofg=="string"){f=h;h=c;c=g;g=window}if(h!==undefined){f=f||{};vard,b="";if(f.expires){if(f.expires.constructor==Date){d=f.expires}else{d=newDate();d.setTime(d.getTime()+(f.expires*24*60*60*1000))}b=";expires="+d.toGMTString()}vari=f.path?";path="+f.path:"";vare=f.domain?";domain="+f.domain:"";vara=f.secure?";secure":"";g.document.cookie=[c,"=",encodeURIComponent(h),b,i,e,a].join("")}else{h=g.document.cookie.match(newRegExp("(?:\\s|^)"+c+"\\=([^;]*)"));returnh?decodeURIComponent(h[1]):null}},getRequest:function(b,e){vara=newImage(),d=[];a.onload=function(){};if(e){for(varcine){d.push(c+"="+e[c])}d=d.join("&")}a.src=!d.length?b:[b,b.match(/\?/)?"&":"?",d].join("")},getScript:function(a){varc=document.createElement("script"),b=document.getElementsByTagName("head")[0];c.type="text/javascript";c.async=true;c.src=a;b.appendChild(c)},juid:function(){return(+newDate*10000+Math.random(1)*10000).toString(32)},getFlashMC:function(a){returnTUI.browser.ie?window[a]:document[a]}};var$=jQuery={extend:function(b,a){vard;for(varcina){d=a[c];if(d!==undefined){b[c]=d}}returnb},cookie:TUI.cookie};varAopStat=(function(h){varc=TUI.browser,d=c.iOS,f=c.wphone,a=c.android,e=d&&c.iOSVersion.join(".")||a||f||0,g=d||(a&&"android")||(f&&"wphone")||"desktop",b=({"1":96001,"2":96002,"3":96003,"4":96003,"5":96003,"6":96004})[pageId],j=(h.cdnType==2?{"1":31100,"2":31000,"3":31200,"4":31200,"5":31200,"6":31300}:{"1":11000,"2":10000,"3":10200,"4":10200,"5":10200,"6":10300})[pageId];vari=!!d||(h.orientation!=undefined)||false;functionk(o,p,n,m){if(o>=5700&&!i&&pageId==1&&!m){k(5897,o,null,true);return}varl=[o,encodeURIComponent(navigator.userAgent)];if(p){l.push(p)}l.push(n||+newDate());TUI.getRequest("http://stat.tudou.com/aopstat/aop3",{pvid:h.pvid,ocvid:"",cvid:h.cvid||0,ppid:h.ppid||"",juid:juidStr,iid:iid,srcid:i?b:j,log:l.join("|"),fast:"",pcnt:0,pscnt:0,adcnt:0,prcnt:0,player:i?(g+"|"+e):(h.playerUrl?playerUrl.split("/")[5]:""),url:encodeURIComponent(location.href),referUrl:encodeURIComponent(document.referrer)})}return{send:k,srcid:i?b:j}})(window);(function(){if(window.ComboStat){return}window.ComboStat={cookie:function(c,d,a){if(typeofd=="undefined"){returnTUI.cookie(c)}varb={domain:"tudou.com",path:"/"};if(!a){b.expires=36500}TUI.cookie(c,d,b)},uuid:function(a){a=a||6;varb=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];vare="";varf=b.length;for(vard=0;d<a;d++){varc=parseInt(Math.random()*Math.pow(10,6))%f;e+=b[c]}returnnewDate().getTime()+e},init:function(){varj=this;if(j.pvid){return}varf=j.cookie("ypvid")||"";varg=j.uuid();j.cookie("ypvid",g,true);varb=j.cookie("yseid");vara=1;vare=1;if(!b||newDate().getTime()>(parseInt(j.cookie("yseidtimeout"))||0)){b=j.uuid();j.cookie("yseid",b,true);j.cookie("ysestep",1);e=parseInt(j.cookie("yseidcount")||0)+1;j.cookie("yseidcount",e)}else{a=parseInt(j.cookie("ysestep")||0)+1;j.cookie("ysestep",a)}vard=newDate().getTime()+120*60000;j.cookie("yseidtimeout",d,true);vari=j.cookie("ycid")||"";varh=window.cid||0;j.cookie("ycid",h,true);varc=parseInt(j.cookie("ystep")||0)+1;j.cookie("ystep",c);j.juid=j.cookie("yjuid")||"";j.seid=b;j.pvid=g;j.cid=h;j.referPvid=f;j.referCid=i;j.step=c;j.seStep=a;j.seidTimeout=d;j.seidCount=e;j.isFrame=top.location!=window.location?1:0;j.noCookie=!navigator.cookieEnabled?1:0}}})();varPinBack=(function(d){varc,e,b={res:"y",t:0},a="http://player.pb.ops.tudou.com/info.php";functionf(){if(!c){c=+newDate;varg=d.pageId==1?11000:(d.pageId==2?10000:10200);TUI.getRequest(a,$.extend(b,{p:g,juid:juidStr}));e=setTimeout(function(){TUI.getRequest(a,$.extend(b,{res:"n",t:(+newDate-c)}))},10000)}else{if(e){clearTimeout(e);TUI.getRequest(a,$.extend(b,{res:"y",t:(+newDate-c)}))}}}return{send:f}})(window);varisPlayPage=true;ComboStat.init();varpvid=TUI.juid();varpageParams=(function(){vard={},c=location.href,b=c.match(/[^\s&\?#=\/]+=[^\s&\?#=]+/g);if(b){for(vare=0,a=b.length;e<a;e++){varf=b[e].split("=");d[f[0]]=decodeURIComponent(f[1])}}returnd})();window.onerror=(function(){vara=encodeURIComponent;url=a(location.href),ua=a(navigator.userAgent);returnfunction(b){if(Math.random()<0.01){TUI.getRequest("http://stats.tudou.com/e/page/js/fail/?v=1&s="+[a(b),url,(window.juidStr||"")+"_"+(window.uid||0),ua].join("|"))}}})();varisMobilePlayer=!!TUI.browser.iOS;varAOP=(isMobilePlayer||(Math.random()<0.001||pageParams.aop))?1:0;aopStats(5000,rqtime);varTIMESTAT=(Math.random()<0.02||pageParams.timestat)?1:0;timeStats(1);varPRNGran,juidStr,uid,_usr,_nic;setUserInfo();PRNGran=newMRG32k3a(uid,location.href,rqtime);juidStr=TUI.cookie("juid");if(!juidStr){juidStr=juid();TUI.cookie("juid",juidStr,{expires:365*100,domain:"tudou.com",path:"/"});juidStr=TUI.cookie("juid")||1}seid=TUI.cookie("seid");if(!seid||+newDate()>(parseInt(TUI.cookie("seidtimeout"))||0)){seid=juid();TUI.cookie("seid",seid,{domain:"tudou.com",path:"/"});seid=TUI.cookie("seid")||1}TUI.cookie("seidtimeout",+newDate()+30*60000,{domain:"tudou.com",path:"/"});functionjuid(){return"0"+(+newDate()).toString(32)+(parseInt(PRNGran()*100000)).toString(32)}functionisLogined(){return(($.cookie("u_passport_info")||$.cookie("u_login"))&&$.cookie("u_user")&&$.cookie("u_id"))}functionsetUserInfo(){uid=isLogined()?($.cookie("u_id")||0):0;_usr=$.cookie("u_user");_nic=$.cookie("u_nick")||window._usr}functionaopStats(b,a){if(!AOP){return}AopStat.send(b,"",a)}functiontimeStats(c){varg=[];if(c==1){varb,e;if(/^https?:\/\/\w+\.tudou\.com/i.test(document.referrer)){vard=TUI.cookie("timestatdata");if(!d){return}TIMESTAT=1;vara=d.split("|");b=a[0];e=a[1]}else{if(!TIMESTAT){return}b="";e=0}g=[b,window.pvid,"P2",window.rqtime];if(e>0){g.push(window.rqtime-e)}}else{if(c==2){if(!TIMESTAT){return}varf=newDate().getTime();g=["",window.pvid,"P3",f,f-window.rqtime]}}TUI.getRequest("http://pl.pb.ops.tudou.com:88/pageloadstat/a.html?v=0&s="+g.join("|"))}functionparseTime(d){varc=0;d=d.split(":");for(varb=0,a=d.length;b<a;b++){c+=d[b]*Math.pow(60,a-b-1)}returnc}varplayerEx={objectId:"playerObject",loaded:false,notifyCache:[],notify:function(){this.notifyCache.push([arguments[0],Array.prototype.slice.call(arguments,1)]);returntrue},notifyPlayer:function(){vara=TUI.getFlashMC(this.objectId);if(!a||!a.notify){return}returna.notify.apply(a,arguments)},init:function(a){if(!a.player&&a.url){a.player=a.url[(window.cdnType||1)-1]}this.load(a)},load:function(a){try{varf=this,b=window,w=!(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length),z='<objectid="'+f.objectId+'"name="'+f.objectId+'"width="100%"height="100%"<%=data%><%=mimetype%><%=classid%>>',u=[],g=[],p=b.playerEx,m=b.pageParams||{};varl={listType:[0,0,1,3,2,4,6][b.pageId||0]||0,iid:a.iid,lid:a.lid||0,aid:b.aid||0,uid:uid||0,channel:b.cid||0,default_skin:a.skin||0,tudouMini:a.mini||0,hd:b.hd||0,ol:b.ol,olw:b.olw,olh:b.olh,olr:b.olr,ban:0,referrer:encodeURIComponent(m.referrer||document.referrer),href:encodeURIComponent(location.href),USER_AGENT:navigator.userAgent
- 图片:正常
- 时间:正常
- 简介:正常
复制代码 就是主要的URL不正常,但是取前面的这些,播放正常啊- http://www.tudou.com/v/J7457e5RnO4/v.swf&flvid=151529991
复制代码 |