Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6bf816db10 | ||
|
|
becfc7feef |
+5
-2
@@ -1201,7 +1201,7 @@ class Ohli24QueueEntity(FfmpegQueueEntity):
|
|||||||
|
|
||||||
iframe_src = iframe_url
|
iframe_src = iframe_url
|
||||||
|
|
||||||
# logger.debug(f"iframe_src:::> {iframe_src}")
|
logger.debug(f"iframe_src:::> {iframe_src}")
|
||||||
|
|
||||||
# resp1 = requests.get(iframe_src, headers=headers, timeout=600).text
|
# resp1 = requests.get(iframe_src, headers=headers, timeout=600).text
|
||||||
resp1 = LogicOhli24.get_html(iframe_src, headers=headers, timeout=600)
|
resp1 = LogicOhli24.get_html(iframe_src, headers=headers, timeout=600)
|
||||||
@@ -1286,8 +1286,11 @@ class Ohli24QueueEntity(FfmpegQueueEntity):
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.url = stream_info[1].strip()
|
self.url = stream_info[1].strip()
|
||||||
|
logger.info(self.url)
|
||||||
if "anibeast.com" in self.url:
|
if "anibeast.com" in self.url:
|
||||||
self.headers["Referer"] = "https://anibeast.com/video/a3fb4fbf9a6f9cf09166aa9c20cbc1ad"
|
self.headers["Referer"] = iframe_src
|
||||||
|
if "crazypatutu.com" in self.url:
|
||||||
|
self.headers["Referer"] = iframe_src
|
||||||
|
|
||||||
match = re.compile(r'NAME="(?P<quality>.*?)"').search(stream_info[0])
|
match = re.compile(r'NAME="(?P<quality>.*?)"').search(stream_info[0])
|
||||||
self.quality = "720P"
|
self.quality = "720P"
|
||||||
|
|||||||
Reference in New Issue
Block a user