Skip to content

Commit

Permalink
small docs update for duplicate_url_requests
Browse files Browse the repository at this point in the history
  • Loading branch information
mrname committed Oct 6, 2019
1 parent 7640c41 commit c2d7b2b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,11 @@ file (see example above) with `har_data=har_data`::
# prints 733488
# We could do this with 'css', 'js', 'html', 'audio', or 'video'

# Get duplicate requests if any
# Get duplicate requests (requests to the same URL 2 or more times) if any
har_page.duplicate_url_request
# Returns a dict of urls and its number of repetitions if any request is made more than once
# Returns a dict where the key is a string of the URL and the value is an int of the number
# of requests to that URL. Only requests with 2 or more are included.
# {'https://test.com/': 3}

# Get the transferred sizes (works only with HAR files, generated with Chrome)
har_page.page_size_trans
Expand Down

0 comments on commit c2d7b2b

Please sign in to comment.