wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wget2 | Add support for pre/post download scripts (#80)


From: Andrew White (@awhite27)
Subject: Re: wget2 | Add support for pre/post download scripts (#80)
Date: Sat, 27 Apr 2024 23:20:49 +0000



Andrew White commented: 
https://gitlab.com/gnuwget/wget2/-/issues/80#note_1884107152


I put some prints in that code and found out why it is not working. wget2 is 
writing the xattr `user.mime_type`and reading the xattr `user.mimetype`.

I still could not get wget2 to continue a partially downloaded website using 
`-nc` to only download new files. The log shows that for every file that 
already exists, wget logs "not followed (parent ascending not allowed)". I 
removed the `-np` option to see what happens and wget2 hangs. Inserting some 
printfs shows it is blocked in `wget_thread_mutex_lock(known_urls_mutex);` in 
`html_parse`.

I'm still have trouble loading a cookies file in wget2 that works in wget. The 
problem appears to be `cookie_db_load` returns the number of cookies read but 
`wget_update_file` fails if `load_func` returns non-zero.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/-/issues/80#note_1884107152
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]