Can the options for --load-cookies and --save-cookies be the same? It seems that there are problems when they are the same. When I change them to be different, then it is OK.
On 2/14/20, Tim Rühsen <tim.rueh...@gmx.de> wrote: > Yes, you can combine the options as you assumed. > > Not sure why the cookies.txt isn't updated. You can run with --debug and > maybe that gives you a hint. > > Regards, Tim > > On 14.02.20 22:46, Peng Yu wrote: >> Hi, >> >> I want to load cookies at the beginning of wget run and save the >> cookies at the finish. >> >> I specified the following options. But it seems that the timestamp of >> cookies.txt file is not changed at the finish of wget run. Is it >> normal? Or if the cookies.txt file is not changed, the time stamp will >> not be updated? Thanks. >> >> --load-cookies cookies.txt --keep-session-cookies --save-cookies >> cookies.txt >> > > -- Regards, Peng