Download if there is a video instead of image
xxczaki opened this issue · comments
Antoni Kępiński commented
Currently, where there is a video instead of an image, nasa-cli fails. We should instead download this video :)
Christian Torres commented
Hey, do you have an example to test this?
Antoni Kępiński commented
@chrux for example nasa --date 171220
returns ✖ Something went wrong :( Try again later!
, because Picture of the day from 20 December 2017 is a video (https://apod.nasa.gov/apod/ap171220.html).
Antoni Kępiński commented
@chrux note, that we do not need to download the video, instead we can:
- return a link to that video
- make a custom error saying that the APOD from this day is a video