Python library for getting information from Ukrainian torrent tracker Toloka.
Note: The library is still under development and may not work in other places
pip install git+https://github.com/CakesTwix/toloka2python
I don't want to upload to PyPi at the moment, I need to add more functionality first
- Authorization and getting information about yourself
from toloka2python import Toloka toloka = Toloka("Username", "Password") print(toloka.me)
- Search torrents by title
for torrent in toloka.search("Магія"): print(torrent.url)
- Getting information about another user
print(toloka.get_account("https://toloka.to/u123456"))
- Getting information about torrent
print(toloka.get_torrent("https://toloka.to/t71117"))