rockdaboot / wget2

The successor of GNU Wget. Contributions preferred at https://gitlab.com/gnuwget/wget2. But accepted here as well 😍
GNU Lesser General Public License v3.0
549 stars 75 forks source link

Unknown option 'exclude-directories' #320

Closed Zyles closed 4 months ago

Zyles commented 4 months ago

$ wget2 --recursive --level 100 --no-hsts --adjust-extension --span-hosts --content-disposition --trust-server-names --cut-file-get-vars --exclude-directories=/wp-content --domains sub.domain.com --no-parent sub.domain.com

Error:

Unknown option 'exclude-directories'

Wget version:

$ wget2 --version
GNU Wget2 1.99.1 - multithreaded metalink/file/website downloader

+digest +https +ssl/gnutls +ipv6 +iri +large-file +nls -ntlm -opie +psl +iconv +idn2 +zlib +lzma +brotlidec +bzip2 +http2 +gpgme

Please advice.

rockdaboot commented 4 months ago

Please update to a newer version. 1.99.1 is totally outdated.

Zyles commented 4 months ago

This is on latest Ubuntu.

Can the packages be updated?

Building from source is a real pain.

rockdaboot commented 4 months ago

This is on latest Ubuntu.

Latest Ubuntu (24.04LTS) has Wget2 v2.1.0. See also https://packages.ubuntu.com/search?keywords=wget2