getting image from https://apod.nasa.gov/apod/ap230102.html
save album list to apod-images\album_list.txt
Traceback (most recent call last):
File "E:\py\apod-dl.py", line 136, in
url = get_apod(url, SAVEDIR)
File "E:\py\apod-dl.py", line 48, in get_apod
albumfd.write(
File "C:\Users\Michael\AppData\Local\Programs\Python\Python311\Lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u015f' in position 821: character maps to <undefined>
When parsing https://apod.nasa.gov/apod/ap230102.html, the script throw a error when encoding the unicode character 'ş'.
The error displayed: