#!/usr/bin/python3 # # Defines constants for MediaProcessor.py, a class to scrape videos with yt-dlp # EMAIL_RETRIES = 3 # How many times to attempt email delivery EMAIL_DELAY = 60 # Delay between attempts, in seconds EMAIL_SERVR = ["email_server.tld", 587] EMAIL_LOGIN = ["emailUser@email_server.tld", "email_server password"] EMAIL_LIST = ["list of email addresses", "to send results", "comma separated"] EMAIL_URLS = EMAIL_LIST # A separate email list to only send URLs to STATIC_DB_HASH = "IPNS hash to publish sqlite database revisions" DOWNLOAD_IP = "111.222.333.444" # The IP address to use for downloads IP_ADR_LIST = ["111.222.333.444", "555.666.777.888", "..."] IP_ADR_INDX = 0 YTDL_PROG = 'yt-dlp' EMAIL_SUB1 = 'Media Processor Results' EMAIL_SUB2 = 'URLs for content saved in IPFS' EMAIL_FROM = "emailUser@email_server.tld" SEND_EMAIL = True # Send results to email recipients SEPARATOR = "~^~" # Separates elements of the downloaded file pathname EXT_LIST = ("webm", "mp4", "mp3", "mkv", "m4v") # Download file extensions