Skip to content

Commit

Permalink
Update user agent string
Browse files Browse the repository at this point in the history
  • Loading branch information
glubsy committed Jul 21, 2024
1 parent 06fcd29 commit ec9f197
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions livestream_saver/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ def get_system_ua():
# TODO dynamically generate instead of static strings
SYSTEM = system()
if SYSTEM == 'Windows':
return 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0'
return 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0'
if SYSTEM == 'Darwin':
return 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:89.0) Gecko/20100101 Firefox/89.0'
return 'Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0'
return 'Mozilla/5.0 (Macintosh; Intel Mac OS X 14.5; rv:128.0) Gecko/20100101 Firefox/128.0'
return 'Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0'


def none_filtered_out(
Expand Down

0 comments on commit ec9f197

Please sign in to comment.