We have that for Wget2:

--cut-file-get-vars   Cut HTTP GET vars from file names. (default: off)
--cut-url-get-vars    Cut HTTP GET vars from URLs. (default: off)


### `--cut-file-get-vars`

  Remove HTTP GET Variables from filenames.
  For example "main.css?v=123" will be changed to "main.css".

  Be aware that this may have unintended side effects, for example
"image.php?name=sun" will be changed
  to "image.php". The cutting happens when saving the file, after
downloading.

  File names obtained from a "Content-Disposition" header are not
affected by this setting (see --content-disposition),
  and can be a solution for this problem.

  When "--trust-server-names" is used, the redirection URL is affected
by this setting.


### `--cut-url-get-vars`

  Remove HTTP GET Variables from URLs.
  For example "main.css?v=123" will be changed to "main.css".
  Be aware that this may have unintended side effects, for example
"image.php?name=sun" will be changed
  to "image.php". The cutting happens before adding the URL to the
download queue.


Regards, Tim

On 9/29/19 12:29 AM, bugged buggy wrote:
>    i was in a situation where the website generates different access token
>    for the same file during each refresh , which was specified in the url
>    query , so wget wasn't detecting that the files already exists ,
>    causing tons of duplications each with different url query
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to