Closed rhiever closed 11 years ago
URLs can also have unicode characters in them so those need to be handled.
Here's the offending line: https://github.com/rhiever/reddit-analysis/blob/master/redditanalysis/__init__.py#L265
Is it just as simple as this?
.format(submission.permalink.encode("UTF-8")))
Yes, it should be that simple.
Seems there are some characters in /r/Sweden that crash the script.
Commented on here: http://www.reddit.com/r/MUWs/comments/19xurd/requestrsweden/c8scgyt