changing the Unihan.zip source from ftp to http in order to getting more stable download.
This commit is contained in:
parent
b7f93df5b8
commit
fe26b6a4d7
2 changed files with 3 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ all: ZhConversion.php tradphrases.notsure simpphrases.notsure wordlist toHans.di
|
|||
|
||||
# Download Unihan database and Traditional Chinese / Simplified Chinese phrases files
|
||||
Unihan.zip:
|
||||
wget -nc ftp://ftp.unicode.org/Public/UNIDATA/Unihan.zip
|
||||
wget -nc http://www.unicode.org/Public/UNIDATA/Unihan.zip
|
||||
|
||||
scim-tables-$(SCIM_TABLES_VER).tar.gz:
|
||||
wget -nc http://$(SF_MIRROR).dl.sourceforge.net/sourceforge/scim/scim-tables-$(SCIM_TABLES_VER).tar.gz
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@ def RemoveSameChar( src_table ):
|
|||
|
||||
def main():
|
||||
#Get Unihan.zip:
|
||||
url = 'ftp://ftp.unicode.org/Public/UNIDATA/Unihan.zip'
|
||||
url = 'http://www.unicode.org/Public/UNIDATA/Unihan.zip'
|
||||
han_dest = 'Unihan.zip'
|
||||
GetFileFromURL( url, han_dest )
|
||||
|
||||
|
|
@ -435,4 +435,4 @@ $zh2Hant = array(\n'''
|
|||
f.close()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
main()
|
||||
|
|
|
|||
Loading…
Reference in a new issue