Skip to content

Web-scraping App to display information about the Mission to Mars in a Single HTML Page - Python, Beautiful Soup, Splinter, MongoDB, Flask, VS Code and Python

Notifications You must be signed in to change notification settings

ramya-ramamur/Mission-to-Mars

Repository files navigation

HTML Web scraping on Mars data to create a Flask web application using Python, Beautiful Soup, Splinter and MongoDB

Mission-to-Mars

Overview

To develop an app to webscrape the following information about the planet Mars from NASA Science Mars Exploration websites:

  • Latest News
  • Featured Image
  • Facts about the planet
  • Images of the hemispheres

Resources

Results:

**Task 1

  • Used Chrome Developer tools to identified HTML components,
  • Using Beautiful Soup/Splinter to automate a web browser and perform the scrape:
    • webscrapped and retrieved latest news about Mars, feature image and facts about the planet
    • scrapped full-resolution images of Mars’s hemispheres and the titles of those images.
  • MongoDB to store the data,
  • Flask to create a web application to display the data.

Initial App Design Screen Shot 2022-01-03 at 1 13 12 AM Screen Shot 2022-01-03 at 1 13 44 AM Screen Shot 2022-01-03 at 1 14 04 AM

Task 2

  • Changed Bootstrap 3 components to customize the view of the page:
    • Updated the color and size of the scrape button from btn btn-warning btn-xs to btn btn-default btn-lg
    • Added the hemisphere images as thumbnails in a single row by changing the grid from col-md-6 to col-md-3.

Screen Shot 2022-01-03 at 2 01 28 AM

Screen Shot 2022-01-03 at 2 01 49 AM

  • Used the Bootstrap 3 grid system to update the index.html file so that the website is mobile-responsive.
  • Tested the responsiveness of the website using the DevTools.

iPad Pro

Screen Shot 2022-01-03 at 2 56 46 AM

Pixel 2XL

Screen Shot 2022-01-03 at 2 57 19 AM

Screen Shot 2022-01-03 at 2 57 44 AM

Screen Shot 2022-01-03 at 2 58 05 AM

Screen Shot 2022-01-03 at 2 58 44 AM

Screen Shot 2022-01-03 at 2 59 00 AM

Screen Shot 2022-01-03 at 2 59 16 AM

About

Web-scraping App to display information about the Mission to Mars in a Single HTML Page - Python, Beautiful Soup, Splinter, MongoDB, Flask, VS Code and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published