Skip to content

Outer space may be vast, but so is the internet. Take a dive into it through using an app to scrape the internet for Mars data!

Notifications You must be signed in to change notification settings

kylagelev/web-scraping-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-scraping-challenge

Outer space may be vast, but so is the internet.

This repository contains a jupyter notebook, an index.html file and a corresponding style_sheet (in static), an app (app.py), and a python file (scrape_mars.py with the scraping function).

Information on how to scrape data from the web, connect to MongoDB, and add to the html file are what follows.

Initially, web scraping was completed using a jupyter notebook. Within the folder, "Mission_to_Mars," contains the aformentioned jupyter-notebook, and an output folder of the initial html table(s) completed on the "Mars Facts!"

Using the Jupyter notebook as a guide, using Visual Studio, a python file was created with a similar means of scraping for data from a series of sites. These include:

These were then inserted into a MongoDB database (which is updated every time the app runs).

Following this, an html file was created that linked to an app in order to run the scraping and add it to the database whenever the button was pressed, and present the information formatted onto the index.html.

Screenshots of the completed, final app are included in the folder, app_screenshots.

May your scraping lead you to the great beyonds of space!

About

Outer space may be vast, but so is the internet. Take a dive into it through using an app to scrape the internet for Mars data!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published