Created
September 15, 2014 07:32
-
-
Save pquentin/1474f29440ac560f6c33 to your computer and use it in GitHub Desktop.
Crawl a Dokuwiki user page and suppages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -rf hostname | |
wget \ | |
-e robots=off \ | |
--recursive --level=inf \ | |
--no-verbose \ | |
--page-requisites \ | |
--convert-links \ | |
--html-extension \ | |
--accept-regex '.*user.*|lib/tpl|lib/exe/css|lib/plugins|fetch.php|js.php|lib/scripts|.*user:rapport.*' \ | |
--reject-regex 'do=' \ | |
'http://hostname/dokuwiki/doku.php?id=user:a_user' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment