kopia lustrzana https://github.com/bellingcat/auto-archiver
Remove unused atlos util functions
rodzic
756f46012b
commit
1b976f4c09
|
@ -1,13 +0,0 @@
|
||||||
def get_atlos_config_options():
|
|
||||||
return {
|
|
||||||
"api_token": {
|
|
||||||
"default": None,
|
|
||||||
"help": "An Atlos API token. For more information, see https://docs.atlos.org/technical/api/",
|
|
||||||
"type": str
|
|
||||||
},
|
|
||||||
"atlos_url": {
|
|
||||||
"default": "https://platform.atlos.org",
|
|
||||||
"help": "The URL of your Atlos instance (e.g., https://platform.atlos.org), without a trailing slash.",
|
|
||||||
"type": str
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -2,7 +2,6 @@
|
||||||
# we need to explicitly expose the available imports here
|
# we need to explicitly expose the available imports here
|
||||||
from .misc import *
|
from .misc import *
|
||||||
from .webdriver import Webdriver
|
from .webdriver import Webdriver
|
||||||
from .atlos import get_atlos_config_options
|
|
||||||
|
|
||||||
# handy utils from ytdlp
|
# handy utils from ytdlp
|
||||||
from yt_dlp.utils import (clean_html, traverse_obj, strip_or_none, url_or_none)
|
from yt_dlp.utils import (clean_html, traverse_obj, strip_or_none, url_or_none)
|
|
@ -1,13 +0,0 @@
|
||||||
def get_atlos_config_options():
|
|
||||||
return {
|
|
||||||
"api_token": {
|
|
||||||
"default": None,
|
|
||||||
"help": "An Atlos API token. For more information, see https://docs.atlos.org/technical/api/",
|
|
||||||
"cli_set": lambda cli_val, _: cli_val
|
|
||||||
},
|
|
||||||
"atlos_url": {
|
|
||||||
"default": "https://platform.atlos.org",
|
|
||||||
"help": "The URL of your Atlos instance (e.g., https://platform.atlos.org), without a trailing slash.",
|
|
||||||
"cli_set": lambda cli_val, _: cli_val
|
|
||||||
},
|
|
||||||
}
|
|
Ładowanie…
Reference in New Issue