Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const rp = require('request-promise');
  2.  
  3. let options = {
  4.     url: 'https://www.youtube.com/results?search_query=coucou&sp=EgIQAQ%253D%253D&pbj=1',
  5.     json: true
  6. }
  7.  
  8. rp(options).then((data) => {
  9.     console.log(data);
  10. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement