Due Wed Jan 30 at 11:59pm in your git repository. Your repo should look like this:
I will be automating the testing of your code, if you don't follow this convention, my tests will fail you won't get credit.
This project is intended to get you familiar with Python and some of built-in functions and modules.
Your goal is to write a Python program called, find_links.py, that takes one or more HTML files as arguments and find all of the anchor links, e.g.,
<a href="http://www.cs.usfca.edu">USF Computer Science</a>
Your program should also do the following:
$ ./find_links foo.html bar.html
$ ./find_links -bycount foo.html bar.html
Finally, you need to provided a a function called
def get_links(files, bycount=False):
that returns a list of tuples, where each tuple is in the form of (link, count), e.g.,:
[('http://www.google.com', 2), ('http://www.cs.usfca.edu', 7)]
This will be used for automated testing of your solution.