A pdf scraper in python