Inspiration
I hate looking at different websites for fantasy football advice, it just takes up too much time. To combat this problem, I used python and flask to build a web application that goes to all of the websites that I normally go to and puts the advice in one place.
What it does
It looks at different fantasy football advice columns, takes the players that the columns tell managers to start or sit for that week, and then makes one big list showing who to start, how many positive mentions they had, who to sit, how many negative mentions they had, and players that fantasy experts are split on.
How I built it
I used beautiful soup to parse through the HTML for every page and then stored all relevant information. I then sorted all of the information into separate lists based on what fantasy experts said to do about each player. So if a player had a lot of good press, I put him in the start list, or if he had bad press, he was put in the sit list. I then used flask to make a website that would display all of this information.
Challenges I ran into
While I have a good amount of experience with Python, I have very basic knowledge of HTML and CSS. For this project, I really had to learn a lot more about HTML and CSS to make it work. More specifically, I tried using brython to run all of my scripts in python rather than Javascript because I think Python is easier to code. While this worked for most of the scripts, it did not work for sorting the tables. Fortunately, I know Java and the Javascript syntax is not too different, I just had to go in and find a few more Javascript specific methods.
Accomplishments that I'm proud of
I made a working webpage and I don't think it looks completely terrible! I got all of the HTML to run, and I was even able to use Flask to insert some Python in there.
What I learned
I learned a lot about HTML and CSS, especially things like how events work and manipulating the DOM. I also sharpened my skills with Python.
What's next for FantasyFootballAggregator
I hope to add more functionality in the future, increase the number of sites I am going to get information, and make the website look more professional.

Log in or sign up for Devpost to join the conversation.