Q
Q
QQ2016-05-11 01:32:43
Wget
QQ, 2016-05-11 01:32:43

How to remove file versions when downloading a site using wget?

Hello.
I download sites with this command:
wget -E -H -k -K -p downloadsite.com
And when styles or js with versions are found, for example:

<link media="screen" href="/style.css?1" type="text/css" rel="stylesheet">
<script type="text/javascript" src="/bootstrap.js?1"></script>

It downloads the file - [email protected] and [email protected]
Yes, it certainly changes the names in the code to the appropriate ones.
How to make it download files with normal names?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question