Skip to content
Built Flask web application that scrapes various data about Mars using BeautifulSoup and PyMongo
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Images
static
templates
.gitignore
README.md
app.py
mission_to_mars.ipynb
scrape_mars.py

README.md

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.

Installations required

Getting started

  1. Run the mongo server in terminal to initialize a local connection.
$ monogod
  1. In a new terminal window, download the project and go into the directory. Run the script.
$ cd mission-to-mars
$ python app.py
  1. Open a new window in Google Chrome and type in http://localhost:5000

  2. Click on the "Scrape New Data" button and you should see the results as shown below:

Enjoy!

Author

Ying Li

You can’t perform that action at this time.