Skip to content

HaifaNajdawi/Mission_to_Mars_web_scraping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Mission to Mars


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 /scrape that 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.
  • HTML a template called index.html that will take the mars data dictionary and display all of the data in the appropriate HTML elements.

And this is the final result...

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages