Closed dda closed 5 years ago
Can you clarify why this change is needed? For example in my answers.json I see stuff like this:
https://www.quora.com/Why-are-the-dx-i%E2%80%99s-examples-of-1-forms-on-R-n/answer/Brian-Bi
which as you can see already has the non-ASCII character correctly encoded.
Since that was almost 2 years ago, hell if I remember...
I submitted this because I got, back then, an error using the original, and this change fixed the issue.
Whatever man...
Line #167 page_html = urllib.request.urlopen(url[0:22]+urllib.parse.quote(url[22:])).read() Ad-hoc change to fix a bug where URLs with non-ASCII chars would break urlopen()