casafert.blogg.se

Aria2 google drive
Aria2 google drive











aria2 google drive
  1. #ARIA2 GOOGLE DRIVE ARCHIVE#
  2. #ARIA2 GOOGLE DRIVE CODE#
  3. #ARIA2 GOOGLE DRIVE DOWNLOAD#

Note:- This will create a file named credentials.json which is required in the next step

#ARIA2 GOOGLE DRIVE CODE#

Visit it, grant access, copy the code on that page, and paste it in the terminal. In the terminal, it'll ask you to visit an authentication URL. Open Telegram, and send /mirrorit to the bot. Move that file to the root of aria-telegram-mirror-bot, and rename it to client_secret.json.

#ARIA2 GOOGLE DRIVE DOWNLOAD#

Use the download button to download your credentials.Go to the Credentials tab and click Create Credentials -> OAuth Client ID.Go to the OAuth Consent tab, fill it, and save.Use the Constants description section below for reference. Now replace the placeholder values in this file with your values.Set this to whatever you want, and save the file with ctrl + x. ARIA_RPC_SECRET (defined in line 1) is the secret (password) used to connect to aria2.( Preferably Do this in termux to get the credentials.json it will automatically generate after you enter the code from the url step 10) This is the GDRIVE_PARENT_DIR_ID that you'll need in step 5 of the Installation section.

aria2 google drive

Copy the part after folders/ ( 012a_345bcdefghijk). The bot will upload files inside this folder. Not granting it will quickly fill the chat with useless messages from users. This permission is used to clean up status request messages from users. This allows the bot to be more cleaner about how it deletes status messages.Īdd the bot to your groups and optionally, give it the permission to delete messages. Optionally, also change the setprivacy attribute to disabled from BotFather.

  • /ping : Tests the connection with Telegram's APIĬreate a new bot using Telegram's BotFather and copy your TOKEN.
  • /source : Sends the source code of the bot.
  • In case of too many downloads, only show the most recent few.
  • /search : Send links to downloads with the filename substring in the name.
  • Only the person who started the task, SUDO_USERS, and chat admins can use this command.
  • /stopit : Cancel the current mirroring task.
  • /mirroritStatus : Send a status message about the current download.
  • #ARIA2 GOOGLE DRIVE ARCHIVE#

    /mirrorTar : Same as /mirror, but archive multiple files into a tar before uploading it.A status message will be shown and updated while downloading.

    aria2 google drive

    can be HTTP(S), a BitTorrent magnet, or a HTTP(S) url to a BitTorrent. /mirrorit : Download from the given URL and upload it to Google Drive.

    aria2 google drive

    Hence, make sure that only trusted groups are whitelisted in AUTHORIZED_CHATS BUT ITS CURRENTLY NOT WORKING!!!!! YOU CAN ONLY USE THE BOT IN PM Bot commands There is little preventing users from using this to mirror pirated content. Download queuing is planned, but not implemented yet. This reduces the load on the server running the bot. Also, it does not scale, so only one file can be downloaded at a time. So, once deployed, it only works in whitelisted groups. This bot is meant to be used in small, closed groups. There are some features to try to reduce piracy. This can be useful for downloading from slow servers. This is a Telegram bot that uses aria2 to download files over BitTorrent / HTTP(S) and uploads them to your Google Drive.













    Aria2 google drive