mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-12 22:25:44 -04:00
move utils and vendored libs into subfolders
This commit is contained in:
parent
8440858751
commit
a0a79cead8
9 changed files with 413 additions and 52 deletions
|
@ -1,11 +1,11 @@
|
|||
__package__ = 'archivebox'
|
||||
|
||||
import re
|
||||
from pathlib import Path
|
||||
import requests
|
||||
import json as pyjson
|
||||
|
||||
|
||||
from typing import List, Optional, Any
|
||||
from pathlib import Path
|
||||
from inspect import signature
|
||||
from functools import wraps
|
||||
from hashlib import sha256
|
||||
|
@ -13,10 +13,9 @@ from urllib.parse import urlparse, quote, unquote
|
|||
from html import escape, unescape
|
||||
from datetime import datetime
|
||||
from dateparser import parse as dateparser
|
||||
|
||||
import requests
|
||||
from requests.exceptions import RequestException, ReadTimeout
|
||||
from .base32_crockford import encode as base32_encode # type: ignore
|
||||
|
||||
from .vendor.base32_crockford import encode as base32_encode # type: ignore
|
||||
from w3lib.encoding import html_body_declared_encoding, http_content_type_encoding
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue