Review of get_file_by_url()
authorfunilrys <redacted>
Wed, 28 Feb 2018 22:06:58 +0000 (23:06 +0100)
committerfunilrys <redacted>
Wed, 28 Feb 2018 22:06:58 +0000 (23:06 +0100)
commitc82f69195282bda1e5c2a6d756bebf42ce92ac9d
tree47b8f6e0c21370c24ba6332becbf102d3176c7b4
parent37da299efb31a589e37db092abb805d759b477c3
Review of get_file_by_url()

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):
 * https://github.com/StevenBlack/hosts/issues/514#issuecomment-368932152

Possible fix of (issue(s)/protocol(s) I wasn't able to reproduce):
 * https://github.com/StevenBlack/hosts/issues/514#issue-300048106
 * https://github.com/StevenBlack/hosts/issues/494#issue-296166492
 * https://github.com/StevenBlack/hosts/issues/420#issue-267453114
 * https://github.com/StevenBlack/hosts/issues/372#issue-246927047
 * https://github.com/StevenBlack/hosts/issues/382#issuecomment-322010562
updateHostsFile.py
git clone https://git.99rst.org/PROJECT