Using wget but ignore url parameters
wget2 has this built in via options --cut-url-get-vars
and --cut-file-get-vars
.
You can use --reject-regex
to specify the pattern to reject the specific URL addresses, e.g.
wget --reject-regex "(.*)\?(.*)" -m -c --content-disposition http://example.com/
This will mirror the website, but it'll ignore the addresses with question mark - useful for mirroring wiki sites.