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

来源:互联网 发布:oracle数据库经典书籍 编辑:程序博客网 时间:2024/06/07 06:38

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 cookieswww.httrack.comTRUE/FALSE1999999999foobarwww.example.comTRUE/folderFALSE1999999999JSESSIONIDxxx1234www.example.comTRUE/helloFALSE1999999999JSESSIONIDyyy1234


HTTrack 下载 http://www.httrack.com/

Q群讨论:236201801

0 0