New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

btdb-search

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

btdb-search - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

4

package.json
{
"name": "btdb-search",
"version": "1.0.0",
"description": "Html scraper of [Torrentz2](http://torrentz2.eu). Lets find a list of magnets links by query string. Return ArrayJson as result.",
"version": "1.1.0",
"description": "A simple way to search for torrents in btdb.to",
"main": "app.js",

@@ -6,0 +6,0 @@ "scripts": {

@@ -1,8 +0,12 @@

## TORRENTZ2 API
Html scraper of [Torrentz2](http://torrentz2.eu). Lets find a list of magnets links by query string. Return ArrayJson as result.
# btdb-search
A simple way to search for torrents in btdb.to
## BTDB-SEARCH
Html scraper of [BitTorrent Database](https://btdb.to/). Lets find a list of magnets links by query string. Return ArrayJson as result.
Based on @theroich/torrentz2
### Install
```
npm install torrentz2
npm install btdb-search
```

@@ -12,26 +16,19 @@

```javascript
const torrentz = require('torrentz2');
torrentz.searchTorrentz2('Ubuntu 15.04').then(console.log);
var btdb = require('btdb-search');
btdb.search('Ubuntu').then(function (data) {
console.log(data);
});
/*
{ magnet: 'magnet:?xt=urn:btih:7eb63698c76f30c03a74462af56163963c07b902
&dn=ubuntu-pack-14.04.2-mate&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A696
9%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannoun
ce&tr=udp%3A%2F%2Ftracker.zer0day.to%3A1337%2Fannounce&tr=udp%3A%2F%2Fexp
lodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker1.wasabii.com.tw%3A6969
%2Fannounce&tr=http%3A%2F%2F173.254.204.71%3A1096%2Fannounce',
name: 'ubuntu-pack-14.04.2-mate',
size: '2729 MB',
peers: '1',
seeds: '2' },
{ magnet: 'magnet:?xt=urn:btih:18ac50d74c61883b3ab4c40f5dd3e35f157de1a2
&dn=ubuntu-14.04-desktop-amd64.iso&tr=udp%3A%2F%2Ftracker.coppersurfer.tk
%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2F
announce&tr=udp%3A%2F%2Ftracker.zer0day.to%3A1337%2Fannounce&tr=udp%3A%2F
%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker1.wasabii.com.tw%
3A6969%2Fannounce&tr=http%3A%2F%2F173.254.204.71%3A1096%2Fannounce',
name: 'ubuntu-14.04-desktop-amd64.iso',
size: '964 MB',
peers: '1',
seeds: '2' },...
{ magnet: 'magnet:?xt=urn:btih:8D2F56F13D1C52B866B26DE726716163A01D2BB6&dn=Lubuntu+12.10+from+LXDE+and+Ubuntu&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce',
name: 'Lubuntu 12.10 from LXDE and Ubuntu',
size: '692.29 MB',
popularity: '1099' },
{ magnet: 'magnet:?xt=urn:btih:51710E9E86907981A45C785575F56F650A2F793C&dn=ubuntu-14.04&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce',
name: 'ubuntu-14.04',
size: '2.98 GB',
popularity: '47' },
{ magnet: 'magnet:?xt=urn:btih:EB16DACA02F39EDA7A8EFDE6A4D849FA5EF1BDE5&dn=Ubuntu+12.04&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce',
name: 'Ubuntu 12.04',
size: '2.69 GB',
popularity: '3' },...
*/
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc