[archivedmoe] remove unnecessary logging

This commit is contained in:
NecRaul
2025-06-13 18:28:21 +04:00
parent 8b2adeb41e
commit a7aa18a8c1

View File

@@ -8,7 +8,6 @@
"""Extractors for FoolFuuka 4chan archives"""
import logging
from .common import BaseExtractor, Message
from .. import text
import itertools
@@ -85,11 +84,9 @@ class FoolfuukaExtractor(BaseExtractor):
# if it's one of these archives, slice the name
filename_slice_archives = {"b4k", "desuarchive", "palanq"}
board = next((b for b in board_domains if f"/{b}/" in url), None)
log = logging.getLogger(__name__)
if board:
domain = board_domains[board]
url = f"https://{domain}/{board}/full_image/{filename}"
log.debug(url)
elif any(archive in path for archive in filename_slice_archives):
name, _, ext = filename.rpartition(".")
if len(name) > 13: