Sample Header Ad - 728x90

`wget`: Cookies doesn't authenticate

0 votes
0 answers
755 views
I got some cookies from my browser where I'm well authenticated into a website. I've tried to give them to wget and make it download some internal pages, but all it downloads is authentication page
wget --load-cookies $path/cookies.txt --show-progress --no-check-certificate -p -v -U '$userAgentString'  https://$url 
How to get the target page and not authentication page?
Asked by aac (145 rep)
May 31, 2022, 07:58 AM
Last activity: May 31, 2022, 02:07 PM