chrisalderson / extratorrent-api Goto Github PK
View Code? Open in Web Editor NEWAn ExtraTorrent wrapper for NodeJS.
An ExtraTorrent wrapper for NodeJS.
This is an example of what I get back from the search :
{ torrent_link: 'https://extratorrent.cc/download/***.torrent',
language: 'English',
title: '***',
sub_category: '***',
comments: 0,
size: '7h',
seeds: NaN,
leechers: NaN,
peers: NaN,
quality: 0 }
Whenever a search doesn't result in any torrents being found the data
variable in the _formatPage(res, date)
function in the RSS
module throws a TypeError exception because it tries to access the length
property in the data
variable (which is undefined) for the total_results
property in the object that the function returns.
It looks like ET have changed again.
I get this error when using the search:
Error: Malformed UTF-8 data
at Object.stringify (/lib/extratorrent-api/node_modules/crypto-js/core.js:478:24)
at WordArray.init.toString (/lib/extratorrent-api/node_modules/crypto-js/core.js:215:38)
at ExtraTorrentAPI._formatPage (/lib/extratorrent-api/extratorrent-api.js:123:8)
at _get.then.res (/lib/extratorrent-api/extratorrent-api.js:198:25)
at process._tickCallback (internal/process/next_tick.js:103:7)
Error searching extratorrent
Could you add an example like any ebook added in the last 3 days? Thanks.
The with_words
parameter for advanced search is required. But as shown in #1 using %a%
returns all the torrents with the letter a
in them. The % is a SQL wildcard used in conjunction with the LIKE
operator. But the _
and [charlist]
wildcards do not seem to work. This might be because the with_words
string gets escaped in the search process on the side of ExtraTorrent or it can be because the %
in this case is not a SQL wildcard.
If someone knows how to use the %
wildcard in order to get all the torrents with any name I can make it the default parameter for with_words
and therefor dropping the requirement of it.
So I am bumping into this error at the moment.
TypeError: Cannot read property '1' of null
at Website._formatPage (/home/djmbritt/Desktop/kickflix/node_modules/extratorrent-api/lib/Website.js:47:84)
at get.then.res (/home/djmbritt/Desktop/kickflix/node_modules/extratorrent-api/lib/Website.js:133:25)
at process._tickCallback (internal/process/next_tick.js:109:7)
Any idea what the issue could be ?
I've been using this plugins for months but it has stopped working recently, I get this error:
TypeError: Cannot read property '1' of null
at ExtraTorrentAPI._formatPage (/Users/projects/comand/lib/extratorrent-api/extratorrent-api.js:69:100)
at _get.then.res (/Users/projects/comand/lib/extratorrent-api/extratorrent-api.js:144:68)
at process._tickCallback (internal/process/next_tick.js:103:7)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.