mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-22 20:23:12 +00:00
18 lines
426 B
Python
18 lines
426 B
Python
__package__ = 'plugins_extractor.wget'
|
|
|
|
from typing import List
|
|
|
|
|
|
from pydantic import InstanceOf
|
|
from pydantic_pkgr import BinProvider, BinName
|
|
|
|
from abx.archivebox.base_binary import BaseBinary, env, apt, brew
|
|
|
|
from .config import WGET_CONFIG
|
|
|
|
|
|
class WgetBinary(BaseBinary):
|
|
name: BinName = WGET_CONFIG.WGET_BINARY
|
|
binproviders_supported: List[InstanceOf[BinProvider]] = [apt, brew, env]
|
|
|
|
WGET_BINARY = WgetBinary()
|