mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-07-19 00:20:00 +00:00
Update hdplayer.py
This commit is contained in:
parent
7ea0cb4c36
commit
420161eaeb
@ -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."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user