Giter Site home page Giter Site logo

juliobotelho / basicstorrent Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 35 KB

API to search manyTorrents engine to get TV Series Magnet link

License: GNU General Public License v3.0

C# 100.00%
api api-client api-wrapper torrents torrent-search-engine kickass-torrents katcr-torrents limetorrents x1337-torrents

basicstorrent's Introduction

BasicsTorrent

API to search many Torrents engine to get TV Series Magnet link

This is a very simple API warapper to torrents engine.

At this moment searchs: - Kickass - KATcr (yes, this has the same visual, but are diferent engine) - Limetorrents - x1337

The Pirates Bay was excluded in april/2020 due last engine update changes the way torrents are publised and there no API enpoint exposed

USAGE

You can choose to use engine especific or all in a roll.

Basic usage

Query query = new Query();
query.Words = "The Neighborhood S01E01";
List<Torrent> Result = Basics.Search(query);

This will search all engines suporteds and return a list of torrents, descendent ordered by seeds

Individual usage

Query query = new Query();
query.Words = "The Neighborhood S01E01";
query.Origem = "Lime";
List<Torrent> Result = Lime.Search(query);

This will search especific engine suporteds and return a list of torrents, descendent ordered by seeds

Torrent Data Structura

	Nome - torrent file name
    TorrentUrl - URL to open torrent
    MagnetUrl - URL to download Magnet
    Origem - ID to supported engine - Valids Lime, KATcr, x1337 and Kickass
    Seeders - Number of torrent seeders
    Leechers - Number of torrent leechers
    MinSeeders - Filter to get only torrent with Seeders greater than 
    MinLeechers - Filter to get only torrent with Leechers greater than 

All selected torrents has Nome starting with query Words

There are some constants exposed to make possible dinamic fixing in case of engine changes.

    Constants.KatBase = "https://katcr.co";
    Constants.KatMask = "{0}/katsearch/page/1/{1}";
    Constants.KikBase = "https://kickass.sx";
    Constants.KikMask = "{0}/torrent/usearch/{1}";
    Constants.x13Base = "https://www.1377x.to";
    Constants.x13Mask = "{0}/search/{1}/1/";
    Constants.LimBase = "https://www.limetorrents.info";
    Constants.LimMask = "{0}/search/all/{1}/";

These is usefull if you need use a proxy or if the engine changes url format

basicstorrent's People

Contributors

juliobotelho avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.