您的位置:首页 > 其它

为 HTTrack 在下载页面的时候提供 cookies 以便下载已经登录的页面

2016-02-09 02:57 639 查看
Cookies 示范如下:


Cookies

HTTrack supports cookies. The option is on by default but may be turned off through
Options > Spider > Accept cookies
(or with
-b0
in commandline).

When HTTrack is sent a cookie by the remote server it saves the information to a file called
cookies.txt
(see specification below) in the root of the project's folder.


cookies.txt

Tab-separated columns are:
Domain, Only Sent To Creator, Path, Secure(?), Expires, Name, Value


Example cookies.txt:

# HTTrack Website Copier Cookie File
# This file format is compatible with Netscape cookies
www.httrack.com	TRUE	/	FALSE	1999999999	foo	bar
www.example.com	TRUE	/folder	FALSE	1999999999	JSESSIONID	xxx1234
www.example.com	TRUE	/hello	FALSE	1999999999	JSESSIONID	yyy1234


HTTrack 下载 http://www.httrack.com/
Q群讨论:236201801
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: