Mission to Mars
Interested in how web scraping works as a web app? Great!
The purpose of this project is to build a Flask application that scrapes data from various websites of the red planet, Mars.
- Flask, flask_PyMongo
- BeautifulSoup, splinter, Pandas, requests
- Google Chrome
- Jupyter Notebook (optional, for looking at testing the script)
- Run the mongo server in terminal to initialize a local connection.
- In a new terminal window, download the project and go into the directory. Run the script.
$ cd mission-to-mars $ python app.py
Open a new window in Google Chrome and type in http://localhost:5000
Click on the "Scrape New Data" button and you should see the results as shown below: