mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-12 13:18:28 +03:00
Update manifests and modules
This commit is contained in:
@@ -0,0 +1 @@
|
||||
from .telethon_archiver import TelethonArchiver
|
||||
@@ -1,4 +1,4 @@
|
||||
# TODO rm dependency on json
|
||||
import json
|
||||
{
|
||||
"name": "telethon_extractor",
|
||||
"type": ["extractor"],
|
||||
@@ -19,8 +19,7 @@
|
||||
"channel_invites": {
|
||||
"default": {},
|
||||
"help": "(JSON string) private channel invite links (format: t.me/joinchat/HASH OR t.me/+HASH) and (optional but important to avoid hanging for minutes on startup) channel id (format: CHANNEL_ID taken from a post url like https://t.me/c/CHANNEL_ID/1), the telegram account will join any new channels on setup",
|
||||
# TODO
|
||||
"cli_set": lambda cli_val, cur_val: dict(cur_val, **json.loads(cli_val))
|
||||
"type": lambda x: json.loads(x),
|
||||
}
|
||||
},
|
||||
"description": """
|
||||
|
||||
@@ -8,7 +8,7 @@ from loguru import logger
|
||||
from tqdm import tqdm
|
||||
import re, time, json, os
|
||||
|
||||
from auto_archiver.base_modules import Extractor
|
||||
from auto_archiver.base_processors import Extractor
|
||||
from auto_archiver.core import Metadata, Media, ArchivingContext
|
||||
from auto_archiver.utils import random_str
|
||||
|
||||
|
||||
Reference in New Issue
Block a user