A repository for various scripts I'll be working on based on the Hack This tutorial series by Michael Byrne
The idea is to use this series to quickly familiarise myself with Git and Github whilst also doing some cool things with Python.
This is a script that extracts Exif data from a jpg image file. This includes things like the make and model of the device that took the picture, the date when it was taken, as well as more private information like the location where it was taken, etc.If you feel like testing out the script, add your own picture (titled 'image.jpg') to a clone of the directory and then run it accordingly.
I had some fun with this. Michael decided to scrape a jail roster, whereas I picked something more lighthearted.Essentially this script scrapes the IMDb Top 250 chart and returns a list of the 'best' years for movies according to users of the website. This means the years with the highest freqeuncy on the chart.
Incidentally, these are the top 10 'best' years according to the users (paired with frequency):
- 1995: 9 movies
- 2001: 7 movies
- 2000: 7 movies
- 2003: 7 movies
- 1957: 7 movies
- 2014: 6 movies
- 2009: 6 movies
- 1975: 6 movies
- 2006: 5 movies
- 2007: 5 movies
- hmm, not sure I agree. Though to be fair, the last two spots are the most arbitrary, given the high freqeuncy of years with 5 movies.