| | 13 | |
| | 14 | Running the tools: |
| | 15 | {{{ |
| | 16 | # Help of mirror |
| | 17 | $ ./mirror options [url] |
| | 18 | -c cookies.ini Use the cookies from this file. |
| | 19 | The cookie file is compatible with Arora. |
| | 20 | -v Show the WebView when running |
| | 21 | -k Keep the application running. |
| | 22 | |
| | 23 | # Mirror the gmail login sequence... keep it running and show the page |
| | 24 | $ ./mirror -v -k -c $HOME/.local/share/data/Arora/cookies.ini http://www.gmail.com |
| | 25 | ... |
| | 26 | CTRL-C |
| | 27 | |
| | 28 | # Mirror a set of webpages using cookies from Arora |
| | 29 | $ ./do_mirror -c $HOME/.local/share/data/Arora/cookies.ini |
| | 30 | ... |
| | 31 | |
| | 32 | # The database can be found here |
| | 33 | $ ls crawl_db.db |
| | 34 | crawl_db.db |
| | 35 | |
| | 36 | # Create a hosts entry for the database |
| | 37 | $ ./create_hosts 10.23.23.23 |
| | 38 | 10.23.23.23 www.gmail.com |
| | 39 | 10.23.23.23 mail.google.com |
| | 40 | 10.23.23.23 www.google.com |
| | 41 | 10.23.23.23 ssl.google-analytics.com |
| | 42 | 10.23.23.23 ajax.googleapis.com |
| | 43 | 10.23.23.23 clients1.google.com |
| | 44 | 10.23.23.23 www.kde.org |
| | 45 | }}} |