Skip to content

Commit

Permalink
add some info about --cookies option
Browse files Browse the repository at this point in the history
  • Loading branch information
robkam authored Jul 10, 2024
1 parent 015d851 commit 21a298b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dumpgenerator --api http://wiki.domain.org/w/api.php --index http://wiki.domain.

If you only want the XML histories, just use `--xml`. For only the images, just `--images`. For only the current version of every page, `--xml --curonly`.

To dump a private wiki you will have to use a login which has at the least read permission on that wiki. However, if the private wiki uses cookies for authentication, you'll also need to provide --cookies and keep the browser logged in. Note that the cookies.txt file needs to be in Netscape format.
To dump a private wiki you will have to use a login which has at the least read permission on that wiki. However, if the private wiki uses cookies for authentication, you'll also need to use --cookies and keep the user logged in, the web-browser itself can be closed. Note that the cookies.txt file needs to be in Netscape format.

### Resuming an incomplete dump

Expand Down

0 comments on commit 21a298b

Please sign in to comment.