Skip to content

Commit

Permalink
fixing bug with browsr key
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Jul 23, 2022
1 parent c03d280 commit c55fc34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions urlchecker/core/urlproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def get_faux_headers(browser) -> Dict[Any, Any]:
"Upgrade-Insecure-Requests": "1",
},
}
return headers["browser"]
return headers[browser]


class UrlCheckResult:
Expand Down Expand Up @@ -175,7 +175,7 @@ def check_urls(
if excluded(url, self.exclude_urls, self.exclude_patterns)
]
urls = list(set(urls).difference(set(self.excluded)))

# if no urls are found, mention it if required
if not urls:
if self.print_all:
Expand Down

0 comments on commit c55fc34

Please sign in to comment.