From 0c39d0fe28532a7cfa865546fab0bee00e8cc4eb Mon Sep 17 00:00:00 2001 From: Mohammad Momeni Date: Fri, 15 Mar 2024 21:34:23 +0100 Subject: [PATCH] [genius] Try to fix 403 in the tests --- syncedlyrics/providers/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncedlyrics/providers/base.py b/syncedlyrics/providers/base.py index 4b72703..3423c7a 100644 --- a/syncedlyrics/providers/base.py +++ b/syncedlyrics/providers/base.py @@ -9,7 +9,7 @@ class LRCProvider: """ def __init__(self) -> None: - self.session = requests.Session() + self.session = requests.Session(impersonate="chrome") def get_lrc_by_id(self, track_id: str) -> Optional[str]: """