Skip to content

Commit

Permalink
Update scraper.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Mraleksa committed Nov 3, 2017
1 parent 6cc1f62 commit a6170f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scraper.js
Expand Up @@ -43,7 +43,8 @@ function run(db) {
// Use request to read in pages.
fetchPage("http://w1.c1.rada.gov.ua/pls/radan_gs09/ns_golos?g_id=15122", function (body) {
// Use cheerio to find things in the page with css selectors.
var $ = cheerio.load(body);
var $ = cheerio.load(body,
{ decodeEntities: false });

//var elements = $("div.media-body span.p-name").each(function () {
var value = $("#0idd386").text();
Expand Down

0 comments on commit a6170f3

Please sign in to comment.