ChemiKyle Posted February 6, 2017 Posted February 6, 2017 It's around the time when my field sees a large number of results so I wrote a python program to automatically check for updates on this page: http://thegradcafe.com/survey/index.php?q=Chemistry and notify me if schools I applied to have shown up since I last checked. The code is hosted on GitHub: https://github.com/ChemiKyle/Automated-Academic-Angst I figured I'd share it here, though it's probably not as pretty as would be made by someone whose undergrad actually involved programming courses (it's MIT licensed though, so people with actual talent can do whatever they want). Happy waiting! therisingpage and Rameez 2
alexanjm Posted February 6, 2017 Posted February 6, 2017 Some of you may need to replace 'import urllib' with 'import urllib.request' if you're getting a AttributeError: module 'urllib' has no attribute 'request' message. Great stuff though, @ChemiKyle, i'll definitely be using this to feed my anxiety! Rameez and ChemiKyle 2
therisingpage Posted February 6, 2017 Posted February 6, 2017 The python 2.7. users might want to try 'import urllib2' Thanks for this @ChemiKyle!! ChemiKyle 1
TakeruK Posted February 6, 2017 Posted February 6, 2017 This is cool Just a friendly reminder to everyone using this tool and other similar tools: please be considerate of others and realise that every time you run this, you are basically loading up the webpage. So, please don't do something like set up a cron job or other automation tool to make a request every second. You can imagine if a large number of people were making a large number of requests per minute, it would ruin things for everyone! CoffeeFueledAnxiety and therisingpage 2
ChemiKyle Posted February 6, 2017 Author Posted February 6, 2017 You're welcome everyone! Hopefully it stems the stress rather than adds to it. Like @therisingpage mentioned, I wrote this for Python 3, so running it in 2.7 requires a little modification. 23 minutes ago, TakeruK said: This is cool Just a friendly reminder to everyone using this tool and other similar tools: please be considerate of others and realise that every time you run this, you are basically loading up the webpage. So, please don't do something like set up a cron job or other automation tool to make a request every second. You can imagine if a large number of people were making a large number of requests per minute, it would ruin things for everyone! I updated the readme just to be safe. TakeruK 1
TakeruK Posted February 6, 2017 Posted February 6, 2017 36 minutes ago, ChemiKyle said: I updated the readme just to be safe. Thanks!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now