diff options
author | Shadab Zafar <dufferzafar0@gmail.com> | 2016-03-04 03:02:33 +0530 |
---|---|---|
committer | Shadab Zafar <dufferzafar0@gmail.com> | 2016-03-04 03:02:33 +0530 |
commit | 1c8059937927d28d620785c8e9d05d034a442ce1 (patch) | |
tree | 337af1f54277f014c0af027e1304fbf76019047c /examples/har_extractor.py | |
parent | c982f579dd755adef2456bc2ad1d3fce06cbfd58 (diff) | |
download | mitmproxy-1c8059937927d28d620785c8e9d05d034a442ce1.tar.gz mitmproxy-1c8059937927d28d620785c8e9d05d034a442ce1.tar.bz2 mitmproxy-1c8059937927d28d620785c8e9d05d034a442ce1.zip |
Use default empty page_list
Diffstat (limited to 'examples/har_extractor.py')
-rw-r--r-- | examples/har_extractor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/har_extractor.py b/examples/har_extractor.py index 43232ea9..be9b986b 100644 --- a/examples/har_extractor.py +++ b/examples/har_extractor.py @@ -16,7 +16,7 @@ class _HARLog(HAR.log): __page_count__ = 0 __page_ref__ = {} - def __init__(self, page_list): + def __init__(self, page_list=[]): self.__page_list__ = page_list self.__page_count__ = 0 self.__page_ref__ = {} @@ -66,7 +66,7 @@ def start(context, argv): '(- will output to stdout, filenames ending with .zhar ' 'will result in compressed har)' ) - context.HARLog = _HARLog(['https://github.com']) + context.HARLog = _HARLog() context.seen_server = set() |