Move RTL out of beta state

This commit is contained in:
Nirvana
2026-05-05 10:32:42 +02:00
parent a5440eb80a
commit cb158c37bb
3 changed files with 12 additions and 12 deletions
@@ -69,7 +69,7 @@ class RTLPlusAuthenticator(BaseOAuth2Authenticator):
@property
def oauth_redirect_uri(self) -> str:
# Used in authorize step
return "https://beta.plus.rtl.de/tv-programm"
return "https://plus.rtl.de/tv-programm"
@property
def oauth_token_redirect_uri(self) -> str:
@@ -185,7 +185,7 @@ class RTLPlusAuthenticator(BaseOAuth2Authenticator):
"grant_type": "authorization_code",
"client_id": self.oauth_client_id,
"code": authorization_code,
"redirect_uri": token_redirect, # Now matches: "https://beta.plus.rtl.de/tv-programm"
"redirect_uri": token_redirect,
"code_verifier": code_verifier,
}
@@ -193,8 +193,8 @@ class RTLPlusAuthenticator(BaseOAuth2Authenticator):
headers = self._get_auth_headers()
headers.update({
"Content-Type": "application/x-www-form-urlencoded",
"Origin": "https://beta.plus.rtl.de",
"Referer": "https://beta.plus.rtl.de/",
"Origin": "https://base.plus.rtl.de",
"Referer": "https://base.plus.rtl.de/",
})
return headers
@@ -233,7 +233,7 @@ class RTLPlusChannelManager:
layout = self._provider.fetch_layout(
layout_type="live",
content_id=channel_seo,
location=f"{self.cfg.beta_website}{channel_seo}/live"
location=f"{self.cfg.base_website}{channel_seo}/live"
)
if not layout:
@@ -255,7 +255,7 @@ class RTLPlusChannelManager:
layout = self._provider.fetch_layout(
layout_type="live",
content_id=channel_seo,
location=f"{self.cfg.beta_website}{channel_seo}/live"
location=f"{self.cfg.base_website}{channel_seo}/live"
)
if not layout:
@@ -275,7 +275,7 @@ class RTLPlusChannelManager:
layout = self._provider.fetch_layout(
layout_type="live",
content_id=channel_seo,
location=f"{self.cfg.beta_website}{channel_seo}/live"
location=f"{self.cfg.base_website}{channel_seo}/live"
)
if not layout:
@@ -298,7 +298,7 @@ class RTLPlusChannelManager:
layout = self._provider.fetch_layout(
layout_type="live",
content_id=channel_seo,
location=f"{self.cfg.beta_website}{channel_seo}/live"
location=f"{self.cfg.base_website}{channel_seo}/live"
)
if not layout:
@@ -130,7 +130,7 @@ class RTLPlusVodManager:
layout = self._provider.fetch_layout(
layout_type="video",
content_id=clip_id,
location=f"{self.cfg.beta_website}{clip_id}",
location=f"{self.cfg.base_website}{clip_id}",
)
if not layout:
@@ -192,7 +192,7 @@ class RTLPlusVodManager:
layout = self._provider.fetch_layout(
layout_type="video",
content_id=clip_id,
location=f"{self.cfg.beta_website}{clip_id}",
location=f"{self.cfg.base_website}{clip_id}",
)
if not layout:
return None
@@ -229,7 +229,7 @@ class RTLPlusVodManager:
layout = self._provider.fetch_layout(
layout_type="alias",
content_id="home",
location=f"{self.cfg.beta_website}",
location=f"{self.cfg.base_website}",
)
if not layout:
@@ -346,7 +346,7 @@ class RTLPlusVodManager:
program_id format: "68137" (numeric)
"""
seo = slug or f"p_{program_id}"
location = f"{self.cfg.beta_website}{seo}-p_{program_id}"
location = f"{self.cfg.base_website}{seo}-p_{program_id}"
layout = self._provider.fetch_layout(
layout_type="program",