SHARE
TWEET

Untitled

a guest Sep 19th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var request = require("request"),
  2.     cheerio = require("cheerio"),
  3.     url = "CАЙТ" + 02888;
  4.  
  5. request(url, function (error, response, body) {
  6.     if (!error) {
  7.         var $ = cheerio.load(body),
  8.             info = $("элемент").html();
  9.  
  10.         console.log(info);
  11.     } else {
  12.         console.log("Произошла ошибка: " + error);
  13.     }
  14. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top