instagram_tbot_extractor#

Submodules#

Package Contents#

class instagram_tbot_extractor.InstagramTbotExtractor#

Bases: auto_archiver.core.Extractor

calls a telegram bot to fetch instagram posts/stories… and gets available media from it adw0rd/instagrapi https://t.me/instagram_load_bot

setup() None#
  1. makes a copy of session_file that is removed in cleanup

  2. checks if the session file is valid

cleanup() None#

Called when extractors are done, or upon errors, cleanup any resources

download(item: auto_archiver.core.Metadata) auto_archiver.core.Metadata#

Downloads the media from the given URL and returns a Metadata object with the downloaded media.

If the URL is not supported or the download fails, this method should return False.