M
M
MantisXXX2020-11-01 18:05:38
Wget
MantisXXX, 2020-11-01 18:05:38

How to download a list of files by mask from a site with authorization using Wget?

Good afternoon!
I really ask for help from knowledgeable people who are familiar with Wget. I am new to this and am very confused.
Need help with batch file upload.
You need to download files of certain formats from a known range of links that contain different types of files and you need to download all files except mp3, ogg, etc. Only pdf and zip files are needed. What kind of file type is unknown exactly.
Links in the format http://website/books/download?id=1789 and then numbering at the end. A big request to help with writing a command for Wget.
Site with authorization. Login and password are available.
I tried
wget --no-check-certificate --user=xxx --password=xxx -ic:\url-list.txt --secure-protocol=auto -nc -c -P c:\files\
, but 57kb files of this format [email protected]=6008 are saved in the folder.
I would appreciate your help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2020-11-03
@MantisXXX

if autoization is not basic auth - no way

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question