Complete your initial scraping using Jupyter Notebook, BeautifulSoup, Pandas, and Requests/Splinter.
mission_to_mars.ipynb
and use this to complete all of your scraping and analysis tasks. The following outlines what you need to scrape.# Example:news_title = "NASA's Next Mars Mission to Investigate Interior of Red Planet"
news_p = "Preparation of NASA's next spacecraft to Mars, InSight, has ramped up this summer, on course for launch next May from Vandenberg Air Force Base in central California -- the first interplanetary launch in history from America's West Coast."
featured_image_url
..jpg
image.# Example:featured_image_url="https://www.jpl.nasa.gov/spaceimages/images/largesize/PIA16225_hires.jpg"
mars_weather
.# Example:mars_weather="Sol 1801 (Aug 30, 2017), Sunny, high -21C/-5F, low -80C/-112F, pressure at 8.82 hPa, daylight 06:09-17:55"
img_url
and title
.# Example:hemisphere_image_urls = [
{"title": "Valles Marineris Hemisphere", "img_url": "..."},
{"title": "Cerberus Hemisphere", "img_url": "..."},
{"title": "Schiaparelli Hemisphere", "img_url": "..."},
{"title": "Syrtis Major Hemisphere", "img_url": "..."},
]
Use MongoDB with Flask templating to create a new HTML page that displays all of the information that was scraped from the URLs above.
scrape_mars.py
with a function called scrape
that will execute all of your scraping code from above and return one Python dictionary containing all of the scraped data./scrape
that will import your scrape_mars.py
script and call your scrape
function.
/
that will query your Mongo database and pass the mars data into an HTML template to display the data.index.html
that will take the mars data dictionary and display all of the data in the appropriate HTML elements. Use the following as a guide for what the final product should look like, but feel free to create your own design.To submit your work to BootCampSpot, create a new GitHub repository and upload the following:
/scrape
url is visited and new data is obtained.We offer the best custom writing services. We have done this question before; we can also do it for you…
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more