- A project designed to show the latest data about Mars on a web page through the use of web scraping, MongoDB, and Flask.
- Scrape the NASA Mars News Site and collect the latest News Title and Paragraph Text.
- Visit the url for JPL Featured Space Image and scrape to find the image url for the current Featured Mars Image and assigns to the url string of the full-size image.
- Visit the Mars Weather twitter account and scrape the latest Mars weather tweet.
-
Visit the Mars Facts webpage and use Pandas to scrape the table containing facts about the planet including Diameter, Mass, etc.
-
Use Pandas to convert the data to a HTML table string.
-
Created a python script to run all of the scraping code and all of the scraped data was put into one Python Dictionary
-
Created next, '/scrape' route which will import the Python script and call the scrape function
- A new database and collection was created.
- In the created database all of the scraped data was stored
- Created a root route
/
which queried the Mongo database and passed the mars data into an HTML template to display the data.
- Created an HTML file to display all of the data.