Changed code to use earthtools api for sunset and sunrise and BeautifulSoup to help read xml. Was tricky figuring out how to get the content and turn into a string for BeautifulSoup. Trick is applying content method. Also strptime was a bit tricky and needed to drop import datetime and rework reference for today() based on from datetime import datetime which requires a different syntax. Last somehow the pic assignment was not working but that has been resolved.