Skip to content

A web application that scrapes various websites for data related to the Mission to Mars and displays the information in a single HTML page.

Notifications You must be signed in to change notification settings

MwansaMwango/web-scraping-challenge

Repository files navigation

Mission to Mars

A web application that scrapes various websites for data related to the Mission to Mars and displays the information in a single HTML page.

mission_to_mars

Data Sources

Mars data is on the home page /index page is scraped from various sources:

Back End

The flask framework is used to create an app with scrapped data is stored in a MongoDB NoSQL database

Front End

Front end index.html uses flask html template for rendering.

Bootstrap is used for styling and html structuring.

Routes

  • Home page - '/' served by index.html
  • Scrap button - '/scrape' when clicked executes the 'scrape' function defined in the app.py server.

Running the app

Running app required local MongoDB running with a new mission_to_mars_db created.

Navigate to app.py and run python file to fire up the flask app.

Remember to start the mongoDB on your local machine by typing "mongod" in your command line.

About

A web application that scrapes various websites for data related to the Mission to Mars and displays the information in a single HTML page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published