Skip to content

Commit

Permalink
Added description for scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Tshiamo Komane authored Jun 22, 2017
1 parent 8b27d69 commit f3dcf14
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,24 @@ The idea is to use this series to quickly familiarise myself with Git and Github
This is a script that extracts <a href="https://en.wikipedia.org/wiki/Exif">Exif</a> 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.

<h3>scraper.py</h3>
I had some fun with this. Michael's tut was (understandably) too undetailed, given that it's directed towards non-programmers, so because I decided to do my own thing rather than just copy word for word, I winded up getting a bit lost, but I still think what I came up with is cool.

Essentially it scrapes the <a href="http://www.imdb.com/chart/top">IMDb Top 250</a> chart and returns a list of the 'best' years for movies according to users of the website. These means the years with the highest freqeuncy on the chart.

Incidentally, these are the top 10 'best' years according to the users:
<ol>
<li>(1995): 9</li>
<li>(1957): 7</li>
<li>(2000): 7</li>
<li>(2003): 7</li>
<li>(2001): 7</li>
<li>(2009): 6</li>
<li>(1975): 6</li>
<li>(2014): 6</li>
<li>(2010): 5</li>
<li>(1997): 5</li>
</ol>

- not sure I agree.

0 comments on commit f3dcf14

Please sign in to comment.