Giter VIP home page Giter VIP logo

extratorrent-api's People

Contributors

chrisalderson avatar djmbritt avatar gpapin avatar serializator avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

extratorrent-api's Issues

TypeError: Cannot read property 'length' of undefined

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.

Malformed UTF-8 data

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

Additional Examples

Could you add an example like any ebook added in the last 3 days? Thanks.

Drop with_words requirement

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.

TypeError

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 ?

Search not working anymore

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)

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.