From 81d766aba19f201213d7a8853860c0a42f233ef5 Mon Sep 17 00:00:00 2001 From: Cristian Date: Fri, 11 Dec 2020 16:03:50 -0500 Subject: [PATCH] refactor: Remove setup_django from title.py --- archivebox/extractors/title.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/archivebox/extractors/title.py b/archivebox/extractors/title.py index ff70f689..28cb128f 100644 --- a/archivebox/extractors/title.py +++ b/archivebox/extractors/title.py @@ -20,7 +20,6 @@ from ..config import ( CURL_ARGS, CURL_VERSION, CURL_USER_AGENT, - setup_django, ) from ..logging_util import TimedProgress @@ -81,7 +80,6 @@ def extract_title_with_regex(html): def save_title(link: Link, out_dir: Optional[Path]=None, timeout: int=TIMEOUT) -> ArchiveResult: """try to guess the page's title from its content""" - setup_django(out_dir=out_dir) from core.models import Snapshot output: ArchiveOutput = None