A Java library that provides access to RuTracker.org.
- Search for torrents by keyword
- Get topic details
- Download torrent file
See wiki on GitHub.
-
Add Jitpack repository in
<repositories>
section inpom.xml
:<repositories> <repository> <id>jitpack.io</id> <url>https://jitpack.io</url> </repository> </repositories>
-
Add RuTracker4j dependency in
<dependencies>
section inpom.xml
:<dependency> <groupId>dev.silenzzz</groupId> <artifactId>RuTracker4j</artifactId> <version>0.0.1-SNAPSHOT</version> </dependency>
import com.example.RuTracker4j;
import dev.silenzzz.rutracker4j.RuTracker4jDefaultClient;
import dev.silenzzz.rutracker4j.scrapper.net.AccountCredentials;
//...//
RuTracker4j ruTracker = new RuTracker4jDefaultClient(new AccountCredentials("user", "pass"));
///...//
//...//
Topic topic = ruTracker.findTopicById(633781);
///...//
TODO more examples
Released under the MIT License. See LICENSE for more.