• 0 Posts
  • 5 Comments
Joined 2 years ago
cake
Cake day: July 5th, 2023

help-circle
  • Heres a python script I made up from just modifying another script I use, it depends on qbittorrent-api, but to use just fill out the connection info and add all the trackers you want to remove in the TRACKERS array, I’ve included 2 rarbg trackers just as an example.

    #!/usr/bin/env python3
    import qbittorrentapi
    import sys
    
    TRACKERS = [
            "udp://9.rarbg.to:2770/announce",
            "udp://9.rarbg.me:2730/announce"
     ]
    
    conn_info = dict(
        host     = "qbittorrent.localhost",
        port     = 80,
        username = "admin",
        password = "PASSWORD"
    )
    
    def main (argv, argc):
        qbt_client = qbittorrentapi.Client(**conn_info)
    
        try:
            qbt_client.auth_log_in()
        except qbittorrentapi.LoginFailed as e:
            print(e)
            return 1
    
        for torrent in qbt_client.torrents_info():
            #urls = []
            #for tracker in torrent.trackers:
                #print(tracker)
                #urls.append(tracker.url)
            
            torrent.remove_trackers(urls=TRACKERS)
    
            #torrent.add_trackers(urls=TRACKERS)
    
        qbt_client.auth_log_out()
        return 0
    
    if __name__ == "__main__":
        sys.exit(main(sys.argv, len(sys.argv)))
    


  • Ive been torrenting on I2P with qBittorrent for a lil while now, its not as fast as the clearnet, the fastest speed down ive ever got so far is 1.7MB/s, and this was on a torrent with loads of seeders. Its possible to increase your tunnel quantity and lower the amount of hops each tunnel has for better performance, but you will have less anonymity with less tunnel length.

    But so far its been nice, there is no need to think about NAT/Firewall, as all peers can communicate with each other, but it doesnt have as much content as the clearnet, so I try to cross-seed what I can. But when im torrenting, I try to go I2P-first, and then fallback on the clearnet if I couldnt find what I was looking for.