shaief/phr-scraper — pull request #1 by Nagasaki45 (2014-10-08 09:39:42+00:00)
Title: Many minor improvments and... CONCURRENCY!!!

The old script runs in ~48 seconds whereas the new one in only ~15 seconds

The other minor changes are all related to bugs I've found in the script.
1) Windows specific issue (unicode printing).
2) Running the script where the directory doesn't exist.
3) Moving the main logic into a function is a good approach most of the time. In addition, it allowed me to import the module and run %time phr_scraper.main()...