Fixing fav parser in python2