You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found this script with google, it's insane that it's only been published yesterday.
Anyway, to make it work for me, I had to add this to the open() statement: encoding="utf-8"
So that would make: with open(subreddit + '_' + thing + '_' + str(int(time.time())) + '.txt', 'w', encoding="utf-8") as f:
other than that, thanks for the script, it's great!
The text was updated successfully, but these errors were encountered:
Thank you so much for this - I will patch the issue ASAP
Also if you have issues with the data being in single quotes this seemed to fix all the data issues for me - https://gist.github.com/mbrzusto/23fe728966247f25f3ec
I found this script with google, it's insane that it's only been published yesterday.
Anyway, to make it work for me, I had to add this to the open() statement:
encoding="utf-8"
So that would make:
with open(subreddit + '_' + thing + '_' + str(int(time.time())) + '.txt', 'w', encoding="utf-8") as f:
other than that, thanks for the script, it's great!
The text was updated successfully, but these errors were encountered: