[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: wget: unable to resolve host address
From: |
pythonomorpha |
Subject: |
RE: wget: unable to resolve host address |
Date: |
Wed, 9 Feb 2022 13:47:53 +0300 |
Unfortunately, the lists are available only in the format I sent you.
Hopefully, one day you would be able to add support for UTF-16
-----Original Message-----
From: random.coder@gmail.com [mailto:random.coder@gmail.com]
Sent: Wednesday, February 09, 2022 1:26 AM
To: pythonomorpha@gmail.com; bug-wget@gnu.org
Subject: RE: wget: unable to resolve host address
Your list of files is saved in UTF-16 (aka UCS-2). wget cannot read that
format. If you save the file as UTF-8, with or without a BOM, wget should
be able to download all the links.
-----Original Message-----
From: Bug-wget <bug-wget-bounces+random.coder=gmail.com@gnu.org> On Behalf
Of pythonomorpha@gmail.com
Sent: Tuesday, February 8, 2022 10:26 AM
To: bug-wget@gnu.org
Subject: wget: unable to resolve host address
Hello,
I am trying to download from a list of files (jpeg images). The website
utilizes Cyrillic in its URL. I get the following error message: wget:
unable to resolve host address 'xn--h-xubc'
I've checked the links manually and the do work.
I am enclosing a shortened version of the file list.
I've tried different commands to no avail:
wget.exe -i C:\dl_files\url-list.txt --secure-protocol=auto
--remote-encoding=Windows-1251 -nc -c -P C:\dl_files\
I've used Windows-1251 as I did not see a list of encoding names in the
manual https://www.gnu.org/software/wget/manual/wget.html#Wgetrc-Commands
wget.exe -i C:\dl_files\url-list.txt --secure-protocol=auto -nc -c -P
C:\dl_files\
Apparently the problem is caused by Cyrillic characters. I have inkling that
I am not using the correct options for the program.
I would appreciate if you gave me a hint on how to solve the problem.
Regards,
Max