
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
kat-wrapper
Advanced tools
KAT (Kickass) api wrapper with mirror fallback and advanced search parameters.
KAT (Kickass Torrent) api wrapper with mirror fallback and advanced search parameters.
var kat = require('kat-wrapper');
kat.search('test').then(function (data) {
console.log(data);
}).catch(function (error) {
console.log(error);
});
kat.search({
query: 'Charlie Chaplin',
category: 'movies',
min_seeds: '10',
uploader: 'ettv',
sort_by: 'seeders',
order: 'desc',
verified: 1,
language: 'en'
}).then(function (data) {
console.log(data);
}).catch(function (error) {
console.log(error);
});
Output example:
page: 2
response_time: 743
results: Array[25]
total_pages: 824
total_results: 20578
Use example:
We'll display the magnet link for the most seeded 'Charlie Chaplin' movie.
var kat = require('kat-wrapper');
kat.search({
query: 'Charlie Chaplin',
sort_by: 'seeders'
}).then(function (response) {
console.log(response.results[0].magnet);
}).catch(function (error) {
console.log('an error occured');
});
KAT search requires at least 1 of the following queries: query, category, min_seeds, uploader, safety_filter, verified, language, age
Every other parameter is optionnal.
--
query
: search terms.search('string')
if you don't use any other parameter.category
: possible values: tv|movies|anime|applications|books|games|music|xxx|other * Subcategories can also be used in the category
parameter, but I won't list them.
min_seeds
: a number, integer. Can be contained in a string.
min_seeds
people.uploader
: a KickassTorrent's username.uploader
.imdb
: IMDB id - movies onlytvrage
: TVRage id - tv only
sort_by
: possible values: seeders|leechers|time_add|files_count
order
: possible values: asc|desc
safety_filter
: 0 or 1. (1=true, 0=false)
verified
: 0 or 1 (1=true, 0=false)language
: langcode or language ID (see below) - only for Movie or TVen
or 2
.age
: possible values: hour|24h|week|month|yearpage
: integer.Regular HTTP request errors.
Regular Javascript errors.
Missing a mandatory parameter
: you made an error somewhere.
No data
: this happens when the server sent back a statusCode > 400 or if the something went wrong with the request, but the server answered.
No results
: 0 results found. Catch this error to warn your user there were no results for its request, or to know when you reached last page.
About the language parameter:
FAQs
KAT (Kickass) api wrapper with mirror fallback and advanced search parameters.
The npm package kat-wrapper receives a total of 0 weekly downloads. As such, kat-wrapper popularity was classified as not popular.
We found that kat-wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.