- Rapid API - Webtor.io (starting at $2/month)
- Rebrandly - Free Plan - Just to hide the long unfriendly URL's returned by Webtor
- Not really an API - We scrape the first search page of https://ext.torrentbay.to/
API Keys have been removed for security. They are found on all the outer python files
- Bot.py has the telegram bot api key -- Get that from bot father - Line 80
- main.py has the rapid api key: Search for 'X-RapidAPI-Key' and give it your key
- shorten.py has the rebrandly API key - make a free account to obtain it
SLEZ is a class i wrote to make things simpler and easier. The search_torrents function inside of torrent_search/main is very important when running on windows vs an ubunutu server
In windows not much problems would occur. but in ubunutu:
- make sure you are not the root user.
- Make sure you do not run the bot in sudo mode
- There is no need for a virtual display really
- for any reason if you get an Error right after SLEZ starts the driver download, there is a chance that it did not complete it fully so it would be best to delete that manually
I have not used virtualenv but it is most recommended to start one. (for the whole project)
the outer requirements.txt file has all you would need - so do a
pip install -r requirements.txt
The bot is not tested at all. There maybe definitely are a lot of problems that happen and a lot of improvements that can be done to improve the user-experience. That in mind, to run you just do a python3 bot.py