Hi Everyone,
Really new to Python and getting data from the web, so here it goes.
I have been able to pull data from the NYT api and parse the JSON output into a CSV file. However, depending on my search, I may get the following error when I attempt to write a row to the CSV.
UnicodeEncodeError: 'charmap' codec can't encode characters in position 20-21: character maps to
This URL has the data that I am trying to parse into a CSV. (I de-selected "Print pretty results")
I am pretty sure the error is occuring near title:"Spitzer......."
I have tried to search the web, but I can't seem to get an answer. I don't know alot about encoding, but I am guessing the data I retrieve from the JSON records are encoded in some way.
Any help you can provide will be greatly appreciated.
Many thanks in advance,
Brock