Advertisement
AdhityaRimba

Untitled

Jan 23rd, 2021
1,369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fetch(`https://www.youtube.com/watch?v=df_IWhWLbWQ`)
  2.         .then(res=>res.text())
  3.         .then(body=>{
  4.             link = body.match(link);
  5.             link.forEach(links => {
  6.                 if(!links.match(/(youtube|yt|youtu|%|node)/g)){
  7.                     fetch(links)
  8.                     .then(res=>res.text())
  9.                     .then(body=>{
  10.                         var hmas = body.match(hma);
  11.                         if(hmas != null){
  12.                             hmas.forEach(key => {
  13.                                 if(key.match(/[0-9]/g)){
  14.                                     console.log(links);
  15.                                     console.log(key);
  16.                                 }
  17.                             })
  18.                         }
  19.                     })
  20.                 }
  21.             });
  22.         })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement