telethon_extractor.telethon_extractor#
Module Contents#
- class telethon_extractor.telethon_extractor.TelethonExtractor#
Bases:
auto_archiver.core.ExtractorBase class for implementing extractors in the media archiving framework. Subclasses must implement the download method to define platform-specific behavior.
- valid_url#
- invite_pattern#
- setup() None#
makes a copy of session_file that is removed in cleanup
trigger login process for telegram or proceed if already saved in a session file
joins channel_invites where needed
- cleanup() None#
Called when extractors are done, or upon errors, cleanup any resources
- download(item: auto_archiver.core.Metadata) auto_archiver.core.Metadata#
if this url is archivable will download post info and look for other posts from the same group with media. can handle private/public channels