From 75a44d61ff2f254d841f0c5148d481422a65675d Mon Sep 17 00:00:00 2001 From: yngveny <31400411+yngveny@users.noreply.github.com> Date: Mon, 25 Sep 2017 12:11:20 +0200 Subject: [PATCH] Update scraper.py --- scraper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scraper.py b/scraper.py index de78591..df277c4 100644 --- a/scraper.py +++ b/scraper.py @@ -16,8 +16,8 @@ def scrape_dof(url): record = {} a = row.cssselect("a") #grab all tags within our
title = a[0].text - print a[0].text - print a[1].text + print(a[0].text.encode("utf-8")) + print(a[1].text.encode("utf-8")) #company = a[1].text #repeat process for