From 25cddecfe97954ee867bdb8a29468465452059c1 Mon Sep 17 00:00:00 2001 From: projectdx Date: Sat, 22 Apr 2023 23:26:19 +0900 Subject: [PATCH] =?UTF-8?q?main=20->=202023.04.22=20ohli24=20=EB=B2=84?= =?UTF-8?q?=EA=B7=B8=20=ED=94=BD=EC=8A=A4=20(.01.=20img=20xpath=20fix)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic_ohli24.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/logic_ohli24.py b/logic_ohli24.py index c502025..cdfcf28 100644 --- a/logic_ohli24.py +++ b/logic_ohli24.py @@ -1286,6 +1286,9 @@ class Ohli24QueueEntity(FfmpegQueueEntity): } self.url = stream_info[1].strip() + if "anibeast.com" in self.url: + self.headers["Referer"] = "https://anibeast.com/video/a3fb4fbf9a6f9cf09166aa9c20cbc1ad" + match = re.compile(r'NAME="(?P.*?)"').search(stream_info[0]) self.quality = "720P" if match is not None: