Update manifests and modules

This commit is contained in:
erinhmclark
2025-01-24 12:58:16 +00:00
parent ba4b330881
commit aa7ca93a43
95 changed files with 172 additions and 115 deletions

View File

@@ -0,0 +1 @@
from .telethon_archiver import TelethonArchiver

View File

@@ -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": """

View File

@@ -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