2024.08.21 patch.01
This commit is contained in:
@@ -1211,7 +1211,7 @@ class Ohli24QueueEntity(FfmpegQueueEntity):
|
||||
# Get episode info from OHLI24 site
|
||||
def make_episode_info(self):
|
||||
try:
|
||||
base_url = "https://a21.ohli24.com"
|
||||
base_url = "https://a24.ohli24.com"
|
||||
base_url = P.ModelSetting.get("ohli24_url")
|
||||
iframe_url = ""
|
||||
|
||||
@@ -1233,7 +1233,7 @@ class Ohli24QueueEntity(FfmpegQueueEntity):
|
||||
text = LogicOhli24.get_html(
|
||||
url, headers=headers, referer=f"{ourls.scheme}://{ourls.netloc}"
|
||||
)
|
||||
# logger.debug(text)
|
||||
logger.debug(text)
|
||||
soup1 = BeautifulSoup(text, "lxml")
|
||||
pattern = re.compile(r"url : \"\.\.(.*)\"")
|
||||
script = soup1.find("script", text=pattern)
|
||||
|
||||
Reference in New Issue
Block a user