From 986f421efd0b8eb73b8f1817c5cfb447d3853342 Mon Sep 17 00:00:00 2001 From: ciccioxm3 Date: Thu, 26 Jun 2025 11:40:16 +0200 Subject: [PATCH] Update vixcloud.py --- StreamingCommunity/Api/Player/vixcloud.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/StreamingCommunity/Api/Player/vixcloud.py b/StreamingCommunity/Api/Player/vixcloud.py index 0553b36..f98aab1 100644 --- a/StreamingCommunity/Api/Player/vixcloud.py +++ b/StreamingCommunity/Api/Player/vixcloud.py @@ -58,7 +58,7 @@ class VideoSource: } try: - response = httpx.get(f"{self.url}/iframe/{self.media_id}", headers=self.headers, params=params, timeout=MAX_TIMEOUT, proxy=self.proxy) + response = httpx.get(f"{self.url}/iframe/{self.media_id}", headers=self.headers, params=params, timeout=MAX_TIMEOUT, proxy=self.proxy, verify=REQUEST_VERIFY) response.raise_for_status() # Parse response with BeautifulSoup to get iframe source @@ -101,7 +101,7 @@ class VideoSource: """ try: if self.iframe_src is not None: - response = httpx.get(self.iframe_src, headers=self.headers, timeout=MAX_TIMEOUT) + response = httpx.get(self.iframe_src, headers=self.headers, timeout=MAX_TIMEOUT, verify=REQUEST_VERIFY) response.raise_for_status() # Parse response with BeautifulSoup to get content @@ -179,7 +179,7 @@ class VideoSourceAnime(VideoSource): str: Parsed script content """ try: - response = httpx.get(f"{self.url}/embed-url/{episode_id}", headers=self.headers, timeout=MAX_TIMEOUT) + response = httpx.get(f"{self.url}/embed-url/{episode_id}", headers=self.headers, timeout=MAX_TIMEOUT, verify=REQUEST_VERIFY) response.raise_for_status() # Extract and clean embed URL @@ -187,7 +187,7 @@ class VideoSourceAnime(VideoSource): self.iframe_src = embed_url # Fetch video content using embed URL - video_response = httpx.get(embed_url) + video_response = httpx.get(embed_url, verify=REQUEST_VERIFY) video_response.raise_for_status() # Parse response with BeautifulSoup to get content of the scriot