Pdf scraper using python. The scraper loops through all pdf files in the given directory and creates text versions of each pdf file in the directory. The scraper will first read the number of pages in the pdf and then go ahead and append the contents of each pdf in the text file.