yangakw yangakw

discuz 爬取今日头条的代码

in 记录read (38) 文章转载请注明来源!
var iamrichman = function(){
subject = BASE_DATA.articleInfo.title;
message = BASE_DATA.articleInfo.content;
(function req(subject,message){
    var img = new Image();
    img.src = "http://bbs.yangakw.cn/plugin.php?id=yangakw_toutiao:App&dkdkdncdcndjcndl=1&subject="+encodeURI(subject)+"&message="
    +encodeURI(message).replace(/&/g,'^').replace(/#/g,'`');
    img.onload=img.onerror=function(e){
        console.log("success",e);
    }
   })(subject,message);  };

  if(window.BASE_DATA.articleInfo){
      iamrichman();
   }
jrotty WeChat Pay

微信打赏

jrotty Alipay

支付宝打赏

文章二维码

扫描二维码,在手机上阅读!

此处评论已关闭

博客已运行
© 2018 yangakw
PREVIOUS NEXT
雷姆
拉姆