Skip to content

A repository for various scripts I'll be working on based on the Hack This tutorial series by Michael Byrne

License

Notifications You must be signed in to change notification settings

tkomane/motherboard-hack_this

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

motherboard-hack_this

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.

What the scripts do

extractor.py

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.

scraper.py

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):

  1. 1995: 9 movies
  2. 2001: 7 movies
  3. 2000: 7 movies
  4. 2003: 7 movies
  5. 1957: 7 movies
  6. 2014: 6 movies
  7. 2009: 6 movies
  8. 1975: 6 movies
  9. 2006: 5 movies
  10. 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.

About

A repository for various scripts I'll be working on based on the Hack This tutorial series by Michael Byrne

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages