Skip to content

Commit

Permalink
Update update_user_agents.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ShabbirHasan1 authored Dec 27, 2023
1 parent 6488977 commit 202ed4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions update_user_agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def get_latest_user_agents():
for browser in ("chrome", "firefox", "safari", "edge"):
time.sleep(1)
response = session.get("".join((base_url, browser)))
print(response.status_code, response.text)
elems = html.fromstring(response.text).cssselect("td li span.code")
browser_uas = []
for elem in elems:
Expand Down

0 comments on commit 202ed4c

Please sign in to comment.