🌔Using Web Scraping to collect infromation about Mars.
Using BeautifulSoup to visit and collect the most recent information about the plant Mars from four different websites.
- 📰 The first website was the NASA Mars News Site to get the featured news article title and description.
- 🖼️ The second website was to find the Featured Image from Mars.
- 🌡️ The third website was to get a table of weather facts from Mars compared to Earth.
- 🌓 The fourth website was to get images of the four hemispheres of Mars.
The follow are examples returned from the scraping.py file.
- Example of Article Title and Description:
- Example of Featured Image:
- Example of Facts:
- Example of Hemisphere Images:
The images are returned as URLs to be used in the app.py file to create a simple webpage to scrape for the most recent news about Mars.
The simple web page was created using MongoDB and Flask to scrape the web for the most recent news articles. The page html is here.