UrleBird.js 1002 B

12345678910111213141516171819202122232425
  1. /**
  2. * 20240201 测试OK
  3. */
  4. var rule = {
  5. title:'UrleBird[飞]',
  6. host:'https://urlebird.com',
  7. homeUrl:'/trending/',
  8. url:'fyclass/page/fypage/[fyclass/]',
  9. searchUrl:'/search/?q=**',//Search @user or #hash
  10. searchable:2,
  11. quickSearch:0,
  12. class_name:'更新&人气&热搜',
  13. class_url:'videos&videos/popular&trending',
  14. headers:{
  15. 'User-Agent':'PC_UA'
  16. },
  17. play_parse:true,
  18. lazy:'js:let html=request(input);let rurl=html.match(/video src="(.*?)"/)[1];input={parse:0,url:rurl};',
  19. limit:10,
  20. 推荐:'*',
  21. 一级:"js:var d=[];pdfh=jsp.pdfh;pdfa=jsp.pdfa;pd=jsp.pd;var list=pdfa(request(input),'body&&.thumb');list.forEach(function(it){let img=pd(it,'.img img&&data-src');if(!/jpg|jpeg|webp/.test(img)){img=pd(it,'.img img&&src')};d.push({desc:pdfh(it,'.author-name&&Text'),title:'♥'+pdfh(it,'.stats div:eq(2)&&Text')+' '+pdfh(it,'.info3--div&&Text'),pic_url:img,url:pd(it,'a:eq(-1)&&href')})});setResult(d);",
  22. 二级:'*',
  23. 搜索:'*',
  24. }