Aria/qBittorrent Telegram Mirror Bot With Additional Features
Go to file
Hafitz Setya 76f9481d85
Update README.md
2021-02-11 19:45:38 +07:00
bot Update stickers.py 2021-02-11 19:23:05 +07:00
vendor Merge branch 'staging-3.0' 2020-05-09 15:55:40 +05:30
.gitignore Add support for service account 2020-03-24 15:04:24 +05:30
.gitmodules Remove broken direct download link extracters 2020-05-09 00:10:09 +05:30
Dockerfile Update Dockerfile 2021-02-11 19:29:43 +07:00
LICENSE License source under GPL v3 2019-09-29 17:24:51 +05:30
README.md Update README.md 2021-02-11 19:45:38 +07:00
add_to_team_drive.py Change default name of token file for Service account scripts 2020-04-05 14:48:34 +05:30
app.json Create app.json 2021-02-11 19:19:45 +07:00
aria.bat Specify Download Dir with RPC 2019-09-18 11:48:19 -04:00
aria.sh improved aria.sh 2020-11-28 21:37:50 +05:30
captain-definition Fix caprover file 2019-12-24 17:31:50 +05:30
config_sample.env Revert "Implement mega.nz support" 2020-07-31 20:06:01 +05:30
extract added ability of extracting .7z files (#144) 2020-07-31 20:21:42 +05:30
gen_sa_accounts.py Change default name of token file for Service account scripts 2020-04-05 14:48:34 +05:30
generate_drive_token.py Fixed files not being shown which were not uploaded by bot 2019-12-26 14:47:05 +05:30
generate_string_session.py Add support for mirror of telegram files 2020-03-22 15:04:31 +05:30
heroku.yml few changes 2020-11-13 18:12:58 +05:30
netrc fixup after e0f4c4347c 2020-04-15 14:47:33 +05:30
requirements-cli.txt Added separate requirements list for setup scripts 2020-09-13 22:28:06 +05:30
requirements.txt add nyaa and sukebei torrent search function 2020-11-28 21:31:05 +05:30
start.sh Project Rebase 2019-12-23 13:26:32 +05:30

Slam

Slam

A personal torrent leech bot for Hafitz

Fork of python-aria-mirror-bot

Original Source Ayanamileechbot

Getting Google OAuth API credential file

  • Visit the Google Cloud Console
  • Go to the OAuth Consent tab, fill it, and save.
  • Go to the Credentials tab and click Create Credentials -> OAuth Client ID
  • Choose Desktop and Create.
  • Use the download button to download your credentials.
  • Move that file to the root of mirror-bot, and rename it to credentials.json
  • Visit Google API page
  • Search for Drive and enable it if it is disabled
  • Finally, run the script to generate token file (token.pickle) for Google Drive:
pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib
python3 generate_drive_token.py

Deploying on Heroku

Deploy to Heroku

Note: Doing authorizations ( /authorize command ) through telegram wont be permanent as heroku uses ephemeral filesystem. They will be reset on each dyno boot. As a workaround you can:

  • Make a file authorized_chats.txt and write the user names and chat_id of you want to authorize, each separated by new line
  • Then force add authorized_chats.txt to git and push it to heroku