com.github.akosbordas.ncore.ebook.EbookTorrentDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ncore-client Show documentation
Show all versions of ncore-client Show documentation
NcoreClient is a Java client for https://ncore.cc torrent site.
This library makes it easy to automate your torrent downloads, searches from any Java program based on your needs.
package com.github.akosbordas.ncore.ebook;
import com.github.akosbordas.ncore.TorrentDetails;
import org.jsoup.nodes.Document;
public class EbookTorrentDetails extends TorrentDetails {
public String getTags() {
return tags;
}
private String tags;
@Override
public void customParse(Document document) {
tags = extractTypeSpecificInfoByName(document, "Címkék");
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("EbookTorrentDetails{");
sb.append("uploadDate='").append(uploadDate).append('\'');
sb.append(", uploader='").append(uploader).append('\'');
sb.append(", commentCount='").append(commentCount).append('\'');
sb.append(", seederCount='").append(seederCount).append('\'');
sb.append(", leecherCount='").append(leecherCount).append('\'');
sb.append(", downloadCount='").append(downloadCount).append('\'');
sb.append(", speed='").append(speed).append('\'');
sb.append(", size='").append(size).append('\'');
sb.append(", fileCount='").append(fileCount).append('\'');
sb.append(", description='").append(description).append('\'');
sb.append(", tags='").append(tags).append('\'');
sb.append('}');
return sb.toString();
}
}