Skip to content

Commit

Permalink
Merge pull request #1495 from nsoranzo/update_user_agent
Browse files Browse the repository at this point in the history
Update browser user agent string
  • Loading branch information
mvdbeek authored Mar 3, 2025
2 parents ae58a46 + 180b172 commit 8abff24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planemo/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def lint_urls(root, lint_ctx):
urls, docs = find_urls_for_xml(root)

# This is from Google Chome on macOS, current at time of writing:
BROWSER_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36"
BROWSER_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 14_7_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36"

def validate_url(url, lint_ctx, user_agent=None):
is_valid = True
Expand Down

0 comments on commit 8abff24

Please sign in to comment.