Changes between Version 2 and Version 3 of QtWebKitPerformanceUtilities


Ignore:
Timestamp:
Sep 29, 2009 10:14:10 PM (11 years ago)
Author:
zecke@selfish.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • QtWebKitPerformanceUtilities

    v2 v3  
    1111
    1212The mirroring application is implemented as a QNetworkAccessManager that is creating QNetworkReply proxies and is writing out the received raw HTTP headers and the read content.
     13
     14Running 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...
     26CTRL-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
     34crawl_db.db
     35
     36# Create a hosts entry for the database
     37$ ./create_hosts 10.23.23.23
     3810.23.23.23     www.gmail.com
     3910.23.23.23     mail.google.com
     4010.23.23.23     www.google.com
     4110.23.23.23     ssl.google-analytics.com
     4210.23.23.23     ajax.googleapis.com
     4310.23.23.23     clients1.google.com
     4410.23.23.23     www.kde.org
     45}}}
    1346
    1447==== The http_server ====