File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,8 @@ def cli_subdomains(args: argparse.Namespace): # pragma: no cover
4040
4141 with err_console .status (f"Querying { args .domain } subdomains" ):
4242 query = client .search (
43- certificate_query ,
44- per_page = 100 , # 100 is the max per page
45- pages = args .pages ,
46- fields = ["names" ], # TODO: Remove this when names is returned by default
47- )
43+ certificate_query , per_page = 100 , pages = args .pages
44+ ) # 100 is the max per page
4845
4946 # Flatten the result, and remove duplicates
5047 for hits in query :
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ def test_search_subdomains(self):
6060 json = CERT_SEARCH_RESPONSE ,
6161 match = [
6262 responses .matchers .json_params_matcher (
63- {"per_page" : 100 , "q" : "names: censys.io" , "fields" : [ "names" ] }
63+ {"per_page" : 100 , "q" : "names: censys.io" }
6464 )
6565 ],
6666 )
You can’t perform that action at this time.
0 commit comments