S
S
Sergey2020-02-20 13:57:28
Wget
Sergey, 2020-02-20 13:57:28

How to copy a site with authorization?

I tried using wget I
wrote this: wget --save-cookies cookies.txt --post-data 'login=loginuser&password=passuser' https://site.com/account
It gave an error: HTTP request sent, awaiting response... 500 Internal Server Error
2020-02-19 16:05:01 ERROR 500: Internal Server Error.
supposedly not knocking there. I'm not strong in wget, until I can understand what the problem is.

I want to try Selenium with python and scrapy. Maybe it's better than real!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2020-02-21
@dimonchik2013

if not basic auth - it won't work
but with cookies it will work log
in and use those cookies

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question