Can be an empty list, if AUTHORIZED_CHATS is not empty. SUDO_USERS: This is a list of Telegram user IDs.You will get this from step 4 of Pre-installation. GDRIVE_PARENT_DIR_ID: This is the ID of the Google Drive folder that files will be uploaded into.Safe to leave this at the default value unless something else on your system is using that port. If you change this, make sure to update your aria.sh as well. ARIA_PORT: The port for the Aria2c RPC server.ARIA_FILTERED_FILENAMES: The bot will refuse to completely download (or if already downloaded, then upload) files with any of these substrings in the file/top level directory name.ARIA_FILTERED_DOMAINS: The bot will refuse to download files from these domains.This is used internally to calculate the space available before downloading. ARIA_DOWNLOAD_LOCATION_ROOT: This is the mountpoint that contains ARIA_DOWNLOAD_LOCATION. The suggested path is /path/to/aria-telegram-mirror-bot/downloads Make sure that there is no trailing "/" in this path. ARIA_DOWNLOAD_LOCATION: This is the directory that aria2 will download files into, before uploading them.You will get this from step 4 of Installation. ARIA_SECRET: This is the password used to connect to the aria2 RPC.TOKEN: This is the Telegram bot token that you will get from Botfather in step 1 of Pre-installation.Values of max-old-space-size can be: etcĮxport NODE_OPTIONS="-max-old-space-size=2048". Try to increase the memory allocated to Node to temporarily bypass this. # You can see the following section for detailed constants.js configurationįATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory There is currently no limit for the number of concurrent uploads. Note that this does not affect the number of concurrent uploads. # MAX_CONCURRENT_DOWNLOADS is the number of download jobs that can be active at the same time. Set this to whatever you want, and save the file with ctrl + x. # ARIA_RPC_SECRET is the secret (password) used to connect to aria2. Nvm install -lts Install typescript npm install -g typescript Delopy program # Clone the repoĬp src/.constants.js.example src/.constants.js "$NVM_DIR/bash_completion" # This loads nvm bash_completion # Close and reopen your terminal to start using nvm or run the following to use it now: Sudo apt install aria2 install npm # Install NVM Deploy aria telegram mirror botĬonnect to your sever with any SSH client you want. Set this command -> nano ~/.In telegram find Botfather and create your own bot.Now add this link to the uget/idm/xdm it will start downloading.Īctually this might solve the issue in a clever & useful way.For each time/session you will get changed/new link Now goto downloads and copy real link form it, that will be like " ".File size is larger so it will show you warning just click Download anyway the file will start downloading.Open the download url for example it is " ".And now the download link generated is a different one. What I do is, I generate a shareable link and open that link in incognito mode, then just added the link to downloader and it works. The issue is when you are logged in with any Gmail account, google generates a different link. I had the same issue downloading files using downloaders.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |