Skip to content

Commit

Permalink
Added different UserAgent for Windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
elgatito committed Jan 15, 2023
1 parent a981bae commit e50de26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions burst/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
from requests.adapters import HTTPAdapter

USER_AGENT = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
if os.name == 'nt':
USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36"
PATH_TEMP = translatePath("special://temp")

# Custom DNS default data
Expand Down

0 comments on commit e50de26

Please sign in to comment.