main -> 2023.04.22 ohli24 버그 픽스 (.01. img xpath fix)

This commit is contained in:
2023-04-22 23:26:19 +09:00
parent 292a3fd388
commit 25cddecfe9

View File

@@ -1286,6 +1286,9 @@ class Ohli24QueueEntity(FfmpegQueueEntity):
} }
self.url = stream_info[1].strip() 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<quality>.*?)"').search(stream_info[0]) match = re.compile(r'NAME="(?P<quality>.*?)"').search(stream_info[0])
self.quality = "720P" self.quality = "720P"
if match is not None: if match is not None: