aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2014-12-18 22:10:55 +0100
committerPetter Reinholdtsen <pere@hungry.com>2014-12-18 22:10:55 +0100
commita3406456d0f6127b1ceefb17f6e1d698bfaf1515 (patch)
treee515d16d14c2ca56e24446893f71cc5f47cd59db
parentdea28e5aea8c849c07f03ad1cc28775148bf1116 (diff)
More typos.
-rw-r--r--scrapersources/postliste-universitetet-i-tromso4
1 files changed, 2 insertions, 2 deletions
diff --git a/scrapersources/postliste-universitetet-i-tromso b/scrapersources/postliste-universitetet-i-tromso
index e44b378..e054187 100644
--- a/scrapersources/postliste-universitetet-i-tromso
+++ b/scrapersources/postliste-universitetet-i-tromso
@@ -186,7 +186,7 @@ def find_day_urls(parser, year):
urls=[]
for month in range(12+1):
url="http://uit.no/samfunn/offjour/count?year=%d&month=%d" % (year, month)
- jsonres = scrape(url)
+ jsonres = scraperwiki.scrape(url)
res = json.loads(jsonres)
# print res
for daystr in res['month']:
@@ -228,7 +228,7 @@ urls = []
urls.extend(find_day_urls(parser, 2014))
urls.extend(find_day_urls(parser, 2015))
for url in urls:
- html = scrape(url)
+ html = scraperwiki.scrape(url)
fetch_postjournal_day(parser, url, html, saver=saver)
process_journal_pdfs(parser, "http://uit.no/om/enhet/artikkel?p_document_id=382893&p_dimension_id=88216", errors)