Commit f609acf
committed
Fix HTTP 403 when downloading Unicode data files
unicode.org blocks requests without a User-Agent header, causing
urlretrieve to fail with HTTP 403 Forbidden. Switch to urlopen
with an explicit User-Agent.1 parent 23fbebe commit f609acf
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
961 | 961 | | |
962 | 962 | | |
963 | 963 | | |
964 | | - | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
965 | 969 | | |
966 | 970 | | |
967 | 971 | | |
| |||
0 commit comments