Mining social web in Python