Open punpunkore opened 4 years ago
RE: https://github.com/nasa/apod-api/pull/34 but unrelated to that pr
There are some issues with \r \n popping up with Credit or Credit and Copyright in the title fields...
e.g. https://api.nasa.gov/planetary/apod?api_key=ENTER_YOUR_DEV_API_KEY&date=1996-09-25 "title": "Bright Stars and Dark Clouds\nCredit:",
https://api.nasa.gov/planetary/apod?api_key=ENTER_YOUR_DEV_API_KEY&date=1996-09-26 "title": "Tonight: A Total Lunar Eclipse \r\nCredit and Copyright:",
If my API request failed to get copyright data, I'm posting and let people know that API request failed to get copyright holder. I also atach the link to APOD, so if they want to know who took the shot.
RE: https://github.com/nasa/apod-api/pull/34 but unrelated to that pr
There are some issues with \r \n popping up with Credit or Credit and Copyright in the title fields...
e.g. https://api.nasa.gov/planetary/apod?api_key=ENTER_YOUR_DEV_API_KEY&date=1996-09-25 "title": "Bright Stars and Dark Clouds\nCredit:",
https://api.nasa.gov/planetary/apod?api_key=ENTER_YOUR_DEV_API_KEY&date=1996-09-26 "title": "Tonight: A Total Lunar Eclipse \r\nCredit and Copyright:",