Skip to content

Latest commit

 

History

History
53 lines (41 loc) · 1.79 KB

README.md

File metadata and controls

53 lines (41 loc) · 1.79 KB


toloka2python GPLv3 License



Python library for getting information from Ukrainian torrent tracker Toloka.

Note: The library is still under development and may not work in other places

Installing from git

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

Usage/Examples

  1. Authorization and getting information about yourself
    from toloka2python import Toloka
    
    toloka = Toloka("Username", "Password")
    print(toloka.me)
  2. Search torrents by title
    for torrent in toloka.search("Магія"):
      print(torrent.url)
  3. Getting information about another user
    print(toloka.get_account("https://toloka.to/u123456"))
  4. Getting information about torrent
    print(toloka.get_torrent("https://toloka.to/t71117"))

Authors

License