diff --git a/waybackpy/wrapper.py b/waybackpy/wrapper.py index 0922a8c..e2c33b6 100644 --- a/waybackpy/wrapper.py +++ b/waybackpy/wrapper.py @@ -298,9 +298,9 @@ class Url: url_list = [] if subdomain: - cdx = Cdx(_cleaned_url(self.url), user_agent=self.user_agent, start_timestamp=start_timestamp, end_timestamp=end_timestamp, match_type="domain") + cdx = Cdx(_cleaned_url(self.url), user_agent=self.user_agent, start_timestamp=start_timestamp, end_timestamp=end_timestamp, match_type="domain", collapses=["urlkey"]) else: - cdx = Cdx(_cleaned_url(self.url), user_agent=self.user_agent, start_timestamp=start_timestamp, end_timestamp=end_timestamp, match_type="host") + cdx = Cdx(_cleaned_url(self.url), user_agent=self.user_agent, start_timestamp=start_timestamp, end_timestamp=end_timestamp, match_type="host", collapses=["urlkey"]) snapshots = cdx.snapshots()