-
Scrape NASA Mars News Site and colllect the latest news title and pargraph text.
-
Scrape JPL Featured Space Image by using splinter to navigate the site.
-
Scrape the table in Mars Fact webpage by using Pandas then convert the data to HTML.
-
Scrape Mars Hemispheres to obtain images foe each of Mar's hemospheres.
Use MongoDB with Flask templating to create a new HTML page that displays all of the information that was scraped from the URLs.
-
In Flask app there is two routes:
- a route called
/scrapethat will import scrape_mars.py script and call scrape function. - a root route
/that will query Mongo database and pass the mars data into an HTML template to display the data.
- a route called
-
HTML a template called
index.htmlthat will take the mars data dictionary and display all of the data in the appropriate HTML elements.


