This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import Optional | |
from pathlib import Path | |
from configparser import ConfigParser # type: ignore | |
DEFAULT_CONF_PATH = Path(__file__).parent / "default_conf.cfg" | |
CONFIG_FILE_NAME = "config_name.cfg" | |
class DefaultableConfigParser(ConfigParser): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import asyncio | |
import time | |
import httpx | |
from bs4 import BeautifulSoup | |
from urllib.parse import urljoin | |
from concurrent.futures import ThreadPoolExecutor, Executor, ProcessPoolExecutor | |
def get_links(): |
OlderNewer