{"id":18098282,"url":"https://github.com/sayem314/torrent-indexer","last_synced_at":"2025-06-21T15:03:21.658Z","repository":{"id":44014468,"uuid":"233655653","full_name":"sayem314/torrent-indexer","owner":"sayem314","description":"Yet another node.js torrent scraper made especially for movie, series, anime and music (scrape from 1337x, eztv, limetorrents, rarbg, skytorrents, thepiratebay, torrentproject, yts and zooqle)","archived":false,"fork":false,"pushed_at":"2024-11-20T13:32:09.000Z","size":183,"stargazers_count":65,"open_issues_count":4,"forks_count":12,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-14T03:24:14.211Z","etag":null,"topics":["download","index","movie","nodejs","search","seek","series","show","torrent","tracker","tv"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sayem314.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"sayem314","patreon":"sayem314","ko_fi":"sayemchowdhury","custom":"buymeacoffee.com/sayem","liberapay":"sayem"}},"created_at":"2020-01-13T17:41:35.000Z","updated_at":"2025-04-08T08:40:24.000Z","dependencies_parsed_at":"2025-04-13T12:27:21.074Z","dependency_job_id":"f36e1dc0-2ec6-4b16-9409-60c92624823b","html_url":"https://github.com/sayem314/torrent-indexer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sayem314/torrent-indexer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayem314%2Ftorrent-indexer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayem314%2Ftorrent-indexer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayem314%2Ftorrent-indexer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayem314%2Ftorrent-indexer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sayem314","download_url":"https://codeload.github.com/sayem314/torrent-indexer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayem314%2Ftorrent-indexer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260166461,"owners_count":22968646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["download","index","movie","nodejs","search","seek","series","show","torrent","tracker","tv"],"created_at":"2024-10-31T20:09:20.706Z","updated_at":"2025-06-21T15:03:16.631Z","avatar_url":"https://github.com/sayem314.png","language":"JavaScript","funding_links":["https://github.com/sponsors/sayem314","https://patreon.com/sayem314","https://ko-fi.com/sayemchowdhury","buymeacoffee.com/sayem","https://liberapay.com/sayem","https://ko-fi.com/Z8Z5KDA6","https://www.buymeacoffee.com/sayem"],"categories":[],"sub_categories":[],"readme":"## torrent-indexer [![Test](https://github.com/sayem314/torrent-indexer/workflows/Test/badge.svg)](https://github.com/sayem314/torrent-indexer/actions) [![npm downloads per month](https://img.shields.io/npm/dm/torrent-indexer.svg)](https://www.npmjs.com/package/torrent-indexer) [![npm version](https://img.shields.io/npm/v/torrent-indexer?label=version)](https://www.npmjs.com/package/torrent-indexer)\n\nFinds the best torrents (Movies, Series, Anime, Music and Other stuff) across multiple sources.\n\n## Installation\n\n```bash\n$ yarn add torrent-indexer\n```\n\n## Usage\n\nHere's a simple example to search for torrents.\n\n```js\nconst TorrentIndexer = require(\"torrent-indexer\");\nconst torrentIndexer = new TorrentIndexer();\n\nconst torrents = await torrentIndexer.search(\"rick and morty s04e04\");\n\nconsole.log(results);\n\n/*\n[\n  {\n    fileName: 'Rick.and.Morty.S04E01.1080p.WEBRip.x264-TBS[TGx]',\n    seeders: 7900,\n    leechers: 3198,\n    uploaded: \"Nov. 11th '19\",\n    size: '736.0 MB',\n    site: 'https://...',\n    resolution: '1080p',\n    source: 'webrip',\n    codec: 'x264',\n    group: 'TBS[TGx]',\n    season: 4,\n    episode: 1,\n    score: 24.281,\n    title: 'Rick and Morty',\n    sourceName: '1337x'\n  },\n  {\n    fileName: 'Rick and Morty S04E01 720p HDTV x264-W4F [eztv]',\n    seeders: 170,\n    leechers: 0,\n    uploaded: '4 mo',\n    size: '500.68 MB',\n    link: 'magnet:?xt=urn:btih:...',\n    resolution: '720p',\n    source: 'hdtv',\n    codec: 'x264',\n    season: 4,\n    episode: 1,\n    score: 23.357,\n    title: 'Rick and Morty',\n    sourceName: 'Eztv'\n  },\n  ...\n]\n*/\n```\n\nSearch method returns array of objects:\n\n| Property   |   Type   | Optional |                                                                                                                                        Description |\n| ---------- | :------: | -------: | -------------------------------------------------------------------------------------------------------------------------------------------------: |\n| `fileName` | `string` |       No |                                                                          torrent name found in the scraped sites, might be stripped for some sites |\n| `seeders`  | `number` |       No |                                                                                                                            total amount of seeders |\n| `leechers` | `number` |       No |                                                                                                                        total leechers (0 for eztv) |\n| `uploaded` | `string` |       No |                                                                                                             upload dates, non standard date format |\n| `link`     | `string` |   Yes/No |                                                                                         contains either downloadable torrent url or magnet address |\n| `site`     | `string` |   Yes/No | if magnet or direct link of .torrent cannot be extracted this property will contain specific page address to extract using `.torrent(site)` method |\n\n- One of `link` or `site` will be available. Site value contains webpage address to retrive torrent magnet or hash using `.torrent(.site)` method while link contains either direct downloadable torrent link or magnet.\n\n- There are also optional additional specific property available for specially for media contents.\n\n| Property     |   Type   |          Example |\n| ------------ | :------: | ---------------: |\n| `resolution` | `string` |          `1080p` |\n| `source`     | `string` |         `bluray` |\n| `codec`      | `string` |           `x264` |\n| `group`      | `string` |          `RARBG` |\n| `season`     | `number` |              `4` |\n| `episode`    | `number` |              `1` |\n| `title`      | `string` | `Rick and Morty` |\n| `sourceName` | `string` |          `1337x` |\n\n## Methods\n\n### `.search(query, type, page);`\n\n| Parameters | Required |     Type |               Accepted Values |\n| ---------- | :------: | -------: | ----------------------------: |\n| `query`    |   Yes    | `string` |   anything, your search query |\n| `type`     |    No    | `string` | movie, series, music or anime |\n| `page`     |    No    | `number` |                          \u003e= 1 |\n\n### `.torrent(url)`\n\n| Parameters | Required |                                                                     Description |\n| ---------- | :------: | ------------------------------------------------------------------------------: |\n| `url`      |   Yes    | Using this method you can retrieve magnet or torrent hash from `.site` property |\n\nExample:\n\n```js\nawait torrentIndexer.torrent(torrents.site);\n```\n\n### Donations\n\nIf you want to show your appreciation, you can donate me on [ko-fi](https://ko-fi.com/Z8Z5KDA6) or [buy me a coffee](https://www.buymeacoffee.com/sayem). Thanks!\n\n\u003e Made with :heart: \u0026 :coffee: by Sayem\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayem314%2Ftorrent-indexer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsayem314%2Ftorrent-indexer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayem314%2Ftorrent-indexer/lists"}