Skip to content

Latest commit

 

History

History
 
 

Uploader

FAQ ?


How to edit config.py

Here is sample edited config.py for deploy to Locally/VPS. copy and past and edit with your variables

Go To sample_config.py and edit with your veriable

# sample config file 

class Config(object):

    # get a token from @BotFather
    BOT_TOKEN = "5568340867:AAGuPzlgwqgHtgqmdL7yt12PRLrXFjt98Zg"
    
    # Get these values from my.telegram.org
    API_ID = 12345
    API_HASH = "uPzlgwqgHtgqmdL7yt12PRLrXFj"
    
    # No need to change
    DOWNLOAD_LOCATION = "./DOWNLOADS"
    ADL_BOT_RQ = {}
    CHUNK_SIZE = 128
    TG_MAX_FILE_SIZE = 4194304000
    HTTP_PROXY = ""
    PROCESS_MAX_TIMEOUT = 3700
    
    # TG Ids
    LOG_CHANNEL = -1001798969594
    OWNER_ID = 1288398723
    
    # bot username without @
    BOT_USERNAME = "AdvanceUrlUploaderBot"
    
    # auth users
    AUTH_USERS = [OWNER_ID, 1288398722, 1288398724, 1288398725]