Ivan Yeromin
Ivan Yeromin

Reputation: 11

wget append the .html extension to the font files, is is possible to disable that feature for font files?

I'm trying to download the website with help of wget. I use the following wget options -p -E --no-cache --no-cookies. As the result I've got subset-Akrobat-Bold.woff2.html file instead of subset-Akrobat-Bold.woff2, for example. Is it possible to prevent the .html extention for font files?

Upvotes: 1

Views: 158

Answers (1)

jrgd
jrgd

Reputation: 530

never too late! as i'm facing a similar issue, it seems this is sorted with specifiying the additional accepted headers with

--header="Accept: font/woff2,font/woff,font/ttf,application/font-woff,application/font-woff2,application/x-font-ttf" \

https://www.gnu.org/software/wget/manual/html_node/HTTP-Options.html#index-header_002c-add

Upvotes: 0

Related Questions