|
@@ -1,7 +1,6 @@
|
|
|
__package__ = 'archivebox.extractors'
|
|
__package__ = 'archivebox.extractors'
|
|
|
|
|
|
|
|
from pathlib import Path
|
|
from pathlib import Path
|
|
|
-from tempfile import NamedTemporaryFile
|
|
|
|
|
|
|
|
|
|
from typing import Optional
|
|
from typing import Optional
|
|
|
import json
|
|
import json
|
|
@@ -10,13 +9,11 @@ from ..index.schema import Link, ArchiveResult, ArchiveError
|
|
|
from ..system import run, atomic_write
|
|
from ..system import run, atomic_write
|
|
|
from ..util import (
|
|
from ..util import (
|
|
|
enforce_types,
|
|
enforce_types,
|
|
|
- download_url,
|
|
|
|
|
is_static_file,
|
|
is_static_file,
|
|
|
|
|
|
|
|
)
|
|
)
|
|
|
from ..config import (
|
|
from ..config import (
|
|
|
TIMEOUT,
|
|
TIMEOUT,
|
|
|
- CURL_BINARY,
|
|
|
|
|
SAVE_MERCURY,
|
|
SAVE_MERCURY,
|
|
|
DEPENDENCIES,
|
|
DEPENDENCIES,
|
|
|
MERCURY_VERSION,
|
|
MERCURY_VERSION,
|