[Wiki Loves Monuments] Download all photos

Platonides platonides at gmail.com
Sun Oct 7 20:00:07 UTC 2012

On 07/10/12 19:57, Андрій Бондаренко wrote:
>     See Platonides’ CatDown
>     <https://toolserver.org/~platonides/catdown/catdown.php>
> Sorry, Platonides, but this tool does not work correctly with names of
> files. It seems it does not understand Cyrillic. For example it writes
> "Р%9FамС%8FС%82РЅРёРє_Р·Р°С%82опленнС%8BРј_РєРѕС%80аблС%8FРј_РІ_СеваС%81С%82ополе"
> instead of "Памятник затопленным кораблям в Севастополе.JPG
> <http://commons.wikimedia.org/wiki/File:%D0%9F%D0%B0%D0%BC%D1%8F%D1%82%D0%BD%D0%B8%D0%BA_%D0%B7%D0%B0%D1%82%D0%BE%D0%BF%D0%BB%D0%B5%D0%BD%D0%BD%D1%8B%D0%BC_%D0%BA%D0%BE%D1%80%D0%B0%D0%B1%D0%BB%D1%8F%D0%BC_%D0%B2_%D0%A1%D0%B5%D0%B2%D0%B0%D1%81%D1%82%D0%BE%D0%BF%D0%BE%D0%BB%D0%B5.JPG>" 
> Could you fix this?

It's not really at my side.

The list correctly uses:

The problem seems to lie in wget when extracting to a local filename.
If you are using *nix with a utf-8 filesystem, pass the
--restrict-file-names=nocontrol parameter to wget.
If you're using Windows you will end up with utf-8 encoded filenames, so
you'd need another pass to decode them to the format used by Windows.


More information about the WikiLovesMonuments mailing list