diff --git a/wibuapi/wibuapi.py b/wibuapi/wibuapi.py index 6b73802..789f9cf 100644 --- a/wibuapi/wibuapi.py +++ b/wibuapi/wibuapi.py @@ -3,11 +3,12 @@ from requests import get + class WibuAPI: def __init__(self, apikey=None): self.base_url = "https://wibu-api.eu.org" self.deprecated_url = "https://api.wibu-api.eu.org" - self.headers = {"x-wibu-key": apikey} + self.headers = {"x-wibu-key": apikey} # Anime, Donghua, Hentai def lendrive(self, link: str): diff --git a/wibuapi/wibuapi_async.py b/wibuapi/wibuapi_async.py index b23b629..a52f8f0 100644 --- a/wibuapi/wibuapi_async.py +++ b/wibuapi/wibuapi_async.py @@ -8,7 +8,7 @@ class AsyncWibuAPI: def __init__(self, apikey=None): self.base_url = "https://wibu-api.eu.org" self.deprecated_url = "https://api.wibu-api.eu.org" - self.headers = {"x-wibu-key": apikey} + self.headers = {"x-wibu-key": apikey} # Anime, Donghua, Hentai async def lendrive(self, link: str):