martinbellander / fb_likes_riksdagspartier

fb likes riksdagspartier

Scrapes graph.facebook.com


Forked from ScraperWiki

Contributors martinbellander

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Traceback (most recent call last): File "scraper.py", line 13, in <module> html = scraperwiki.scrape(url) File "/app/.heroku/src/scraperwiki/scraperwiki/utils.py", line 31, in scrape f = urllib2.urlopen(req) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 127, in urlopen return _opener.open(url, data, timeout) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 410, in open response = meth(req, response) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 523, in http_response 'http', request, response, code, msg, hdrs) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 448, in error return self._call_chain(*args) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 382, in _call_chain result = func(*args) File "/app/.heroku/python/lib/python2.7/urllib2.py", line 531, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 400: Bad Request

Data

Downloaded 3 times by martinbellander MikeRalphson

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (712 KB) Use the API

rows 10 / 5150

Parti Likes RowId Time
moderaterna
18122
1
2012-11-18T22:39:45.320680
folkpartiet
4103
2
2012-11-18T22:39:45.320680
Kristdemokraterna
2315
3
2012-11-18T22:39:45.320680
centerpartiet
2718
4
2012-11-18T22:39:45.320680
SDjatack
43657
5
2012-11-18T22:39:45.320680
miljopartiet
15332
6
2012-11-18T22:39:45.320680
socialdemokraterna
27117
7
2012-11-18T22:39:45.320680
vansterpartiet
9667
8
2012-11-18T22:39:45.320680
moderaterna
18129
1
2012-11-19T22:39:59.210540
folkpartiet
4106
2
2012-11-19T22:39:59.210540

Statistics

Average successful run time: half a minute

Total run time: about 1 month

Total cpu time used: 15 minutes

Total disk space used: 732 KB

History

  • Auto ran revision 133e8913 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 133e8913 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 133e8913 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 133e8913 and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 133e8913 and failed .
    nothing changed in the database
    1 page scraped
  • ...
  • Forked from ScraperWiki

Show complete history

Scraper code

Python

fb_likes_riksdagspartier / scraper.py