Skip to content

Commit

Permalink
Update user-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
ndragon798 committed Apr 29, 2024
1 parent ab8c3be commit d2f60b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mealie/services/recipe/recipe_data_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from mealie.schema.recipe.recipe import Recipe
from mealie.services._base_service import BaseService

_FIREFOX_UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0"
_FIREFOX_UA = ("Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0")


async def gather_with_concurrency(n, *coros, ignore_exceptions=False):
Expand Down
2 changes: 1 addition & 1 deletion mealie/services/scraper/scraper_strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

from . import cleaner

_FIREFOX_UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0"
_FIREFOX_UA = "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
SCRAPER_TIMEOUT = 15


Expand Down

0 comments on commit d2f60b6

Please sign in to comment.