BoKKeR/RSS-to-Telegram-Bot

NEW Command

horphi0815 opened this issue · 3 comments

Can you create new commands?

/load -->YT URL

I would like to trigger my YT Downloader with Curl
https://github.com/manbearwiz/youtube-dl-server

via >> curl -X POST --data-urlencode "url={{url}}" http://{{host}}:8080/youtube-dl/q

I dont really understand the load command, so you would enter a url, what would that do? execute curl inside of docker?

Yes.
you send via curl a broker message into your local network and trigger your second docker with a dedicated ip:port to execute your command. Similar like home automation.
This is my command
curl -X POST --data-urlencode "url={https://youtu.be/em1tS-RdvDc}" http://{192.168.1.40}:8080/youtube-dl/q

this is a youtube dl docker as described above

With your telegram application its great start interacting with your network devices ;-)

Yeah this bot is for RSS, I dont see how this is RSS related at all. You should check out the underlying python-telegram package and build a separate bot for this purpose.