Skip to content

Instantly share code, notes, and snippets.

View geraldbaeck's full-sized avatar
💭
setting status

Gerald Bäck geraldbaeck

💭
setting status
View GitHub Profile

Keybase proof

I hereby claim:

  • I am geraldbaeck on github.
  • I am geraldbaeck (https://keybase.io/geraldbaeck) on keybase.
  • I have a public key ASAsa9S4a7LSbzOP_nphuodpqzPLMIDOuYwJWObcSZ-N0go

To claim this, I am signing this object:

@geraldbaeck
geraldbaeck / gist:3dd915b46b452f478c79
Created August 7, 2014 10:04
This gist just queries all articles from the frontpage of profil.at and counts the total number of comments made and the number of unique discussion participants.
#!/usr/bin/python
# -*- coding: utf-8 -*-
from urlparse import urljoin
from bs4 import BeautifulSoup
from requests import get
ROOT_URL = "http://www.profil.at/"