diff --git a/addon.xml b/addon.xml index 64e4754..eafb583 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + @@ -21,6 +21,7 @@ HINWEIS: Du MUSST PREMIUM Mitglied sein um dieses Plugin zu benutzen AtenciĆ³n: Necesitas ser miembro PREMIUM para utilizar este Plugin + v3.3.0.14 (2023.01.16)[CR]- update auth, add new routing, async data fetching, updated language settings, improved bookmarking/favourite support v3.3.0.13 (2023.01.05)[CR]- improve listing, add crunchylists v3.3.0.12 (2023.12.30)[CR]- add resume watching, update settings, add skip intro v3.3.0.11 (2023.12.28)[CR]- improve series filtering, proper labels for soft subtitles diff --git a/resources/lib/api.py b/resources/lib/api.py index bbfbeb3..3521013 100644 --- a/resources/lib/api.py +++ b/resources/lib/api.py @@ -35,11 +35,11 @@ class API: """Api documentation https://github.com/CloudMax94/crunchyroll-api/wiki/Api """ - URL = "https://api.crunchyroll.com/" - VERSION = "1.1.21.0" - TOKEN = "LNDJgOit5yaRIWN" - DEVICE = "com.crunchyroll.windows.desktop" - TIMEOUT = 30 + # URL = "https://api.crunchyroll.com/" + # VERSION = "1.1.21.0" + # TOKEN = "LNDJgOit5yaRIWN" + # DEVICE = "com.crunchyroll.windows.desktop" + # TIMEOUT = 30 INDEX_ENDPOINT = "https://beta-api.crunchyroll.com/index/v2" PROFILE_ENDPOINT = "https://beta-api.crunchyroll.com/accounts/v1/me/profile" @@ -70,7 +70,7 @@ class API: CRUNCHYLISTS_LISTS_ENDPOINT = "https://beta-api.crunchyroll.com/content/v2/{}/custom-lists" CRUNCHYLISTS_VIEW_ENDPOINT = "https://beta-api.crunchyroll.com/content/v2/{}/custom-lists/{}" - AUTHORIZATION = "Basic b2VkYXJteHN0bGgxanZhd2ltbnE6OWxFaHZIWkpEMzJqdVY1ZFc5Vk9TNTdkb3BkSnBnbzE=" + AUTHORIZATION = "Basic bC1wbGZ0bmtneWFycGZxaGpoOC06TVFZX3pDeGlOUFk1RUVPX0xQRk9VNFFaZ1ktWVVZRXM=" def __init__( self, @@ -297,7 +297,7 @@ def write_to_storage(self, account: AccountData) -> bool: def default_request_headers() -> Dict: return { - "User-Agent": "Crunchyroll/3.10.0 Android/6.0 okhttp/4.9.1", + "User-Agent": "Crunchyroll/3.47.0 Android/14 okhttp/4.12.0", "Content-Type": "application/x-www-form-urlencoded" }