From a8138d4a71af346cd8f33aa605a184098b985d5b Mon Sep 17 00:00:00 2001 From: projectdx Date: Mon, 24 Oct 2022 04:42:17 +0900 Subject: [PATCH] anilife update 2022.10.24(02.) --- logic_anilife.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/logic_anilife.py b/logic_anilife.py index ff0c6d0..0784343 100644 --- a/logic_anilife.py +++ b/logic_anilife.py @@ -743,7 +743,7 @@ class LogicAniLife(LogicModuleBase): # print(scraper.get(url, headers=LogicAniLife.headers).content) # print(scraper.get(url).content) # return scraper.get(url, headers=LogicAniLife.headers).content - print(LogicAniLife.headers) + # print(LogicAniLife.headers) return sess.get( url, headers=LogicAniLife.session.headers, timeout=10, allow_redirects=True ).content.decode("utf8", errors="replace") @@ -923,8 +923,8 @@ class LogicAniLife(LogicModuleBase): "최근 방영일": "_recent_date", "개봉년도": "_release_year", } - print(main_title) - print(image) + # print(main_title) + # print(image) # print(des_items) list_body_li = tree.xpath('//div[@class="eplister"]/ul/li') @@ -1047,7 +1047,7 @@ class LogicAniLife(LogicModuleBase): # logger.debug(entity["link"]) p = re.compile(r"^[http?s://]+[a-zA-Z0-9-]+/[a-zA-Z0-9-_.?=]+$") - print(p.match(entity["link"]) != None) + # print(p.match(entity["link"]) != None) if p.match(entity["link"]) is None: entity["link"] = P.ModelSetting.get("anilife_url") + entity["link"] # real_url = LogicAniLife.get_real_link(url=entity["link"]) @@ -1197,7 +1197,7 @@ class AniLifeQueueEntity(FfmpegQueueEntity): match = re.compile(regex).search(text) jawcloud_url = None - print(match) + # print(match) if match: jawcloud_url = match.group("jawcloud_url")