Update hdplayer.py

This commit is contained in:
ciccioxm3 2025-06-26 11:34:55 +02:00 committed by GitHub
parent 7ea0cb4c36
commit 420161eaeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ REQUEST_VERIFY = config_manager.get_bool('REQUESTS', 'verify')
class VideoSource: class VideoSource:
def __init__(self, proxy=None): def __init__(self, proxy=None):
self.client = httpx.Client(headers={'user-agent': get_userAgent()}, timeout=MAX_TIMEOUT, proxy=proxy) self.client = httpx.Client(headers={'user-agent': get_userAgent()}, timeout=MAX_TIMEOUT, proxy=proxy, verify=REQUEST_VERIFY)
def extractLinkHdPlayer(self, response): def extractLinkHdPlayer(self, response):
"""Extract iframe source from the page.""" """Extract iframe source from the page."""