-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updateHostsFile.py fails to download from KADhosts under Python 2.7 #372
Labels
Comments
Unable to use it.Not working. |
Gonna try to fix it once I have time but if someone else have time to write a PR: Here's in my opinion the best way to achieve the string decoding/encoding: https://stackoverflow.com/a/15918519/5308363 |
azet12
added a commit
to FiltersHeroes/KADhosts
that referenced
this issue
Aug 21, 2017
Zawiera dane z wersji 2017081501 i 2017081801. fix #6 fix #7, StevenBlack/hosts#372 - deleted Polish letters.
Thanks Tomasz @FadeMind. We still need to fix the encoding issue on Python 2.7... |
funilrys
added a commit
to funilrys/hosts
that referenced
this issue
Feb 28, 2018
Please note that this patch also introduce which is in charge of converting a domain in a line into IDNA and/or UTF-8 format. Also note the introduction of BeautifulSoup() which helps us to decode data from the downloaded URL. Fixes (issue(s)/protocol(s) I was able to reproduce): * StevenBlack#514 (comment) Possible fix of (issue(s)/protocol(s) I wasn't able to reproduce): * StevenBlack#514 (comment) * StevenBlack#494 (comment) * StevenBlack#420 (comment) * StevenBlack#372 (comment) * StevenBlack#382 (comment)
You can also close this @StevenBlack 👍 |
faultables
pushed a commit
to evilfactorylabs/gatekeeper
that referenced
this issue
Jan 23, 2021
Please note that this patch also introduce which is in charge of converting a domain in a line into IDNA and/or UTF-8 format. Also note the introduction of BeautifulSoup() which helps us to decode data from the downloaded URL. Fixes (issue(s)/protocol(s) I was able to reproduce): * StevenBlack/hosts#514 (comment) Possible fix of (issue(s)/protocol(s) I wasn't able to reproduce): * StevenBlack/hosts#514 (comment) * StevenBlack/hosts#494 (comment) * StevenBlack/hosts#420 (comment) * StevenBlack/hosts#372 (comment) * StevenBlack/hosts#382 (comment)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seeing this under Python 2.7.
I suspect that
write_data
is failing because of newly added cyrillic characters in commit 2bb7c27.The text was updated successfully, but these errors were encountered: