Created
August 11, 2016 22:28
-
-
Save pugson/fdc9151b6645e56ef955785d4dcc0fd5 to your computer and use it in GitHub Desktop.
Send Telegram Bot Notification when a torrent finishes downloading in Transmission
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Replace chat_id value with your chat id from @myidbot | |
# Replace XXXXXXXXX:xxxxxxxxxxxxxxxxxxxxx with your bot token from @BotFather | |
curl --data chat_id=XXXXXXXXX --data-urlencode text=�~\~E\ $TR_TORRENT_NAME "https://api.telegram.org/botXXXXXXXXX:xxxxxxxxxxxxxxxxxxxxx/sendMessage" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment