Git Product home page Git Product logo

t411-torznab's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

t411-torznab's Issues

What about CouchPotato ?

Hello,
Is it possible to make this thing work with CP ?
It would be so useful !
Thanks by advance,

Radarr support

The torznab api impelmented for T411 doesn't support movie search.
can you please add support for t=movie ?

Thank you !

Possible to add support for "Animation Série" ?

Hello,

I would like to know if it's possible to add a new T411Categories : "Animation Série" ?
Your indexer help me so much but just missing for use it with animation.

Thanks again for your job.

Error logging t411

Hello,
I can't login t411 with your docker.

Here the error message

info: Trying to log into T411 with user : 'XXXXX'
/usr/src/app/server.js:598
				_logger.err("Failed to login to T411 : Please verify your credentials in 'config.json'");
				        ^

TypeError: _logger.err is not a function
    at Request.callbackLoginT411 [as _callback] (/usr/src/app/server.js:598:13)
    at Request.self.callback (/usr/src/app/node_modules/request/request.js:186:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (/usr/src/app/node_modules/request/request.js:1081:10)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (/usr/src/app/node_modules/request/request.js:1001:12)
    at IncomingMessage.g (events.js:260:16)
    at emitNone (events.js:72:20)

Error : 301

Hello,
I have just installed your code on Docker (syno DS415+) and I have the following error in the log :
Response from T411 invalid. Error : 301
Do you know what it mean ?
I already chech the password and login many time and the T411 website adress is correct in ''server'' file.

Crash sur les recherches

Bonjour,

Depuis quelques temps j'ai un crash systématique sur les recherches :

debug: Query : New Girl
debug:  t=tvsearch, cat=5030,5040, extended=1, apikey=12345, offset=0, limit=50, q=New Girl, season=5, ep=10
debug:  url=http://api.t411.ch/torrents/search/New Girl?term[45][]=972&term[46][]=947&offset=0&limit=50, Authorization=99664297:68:dc804c99477921042a9e100894653540
debug: Got 0 torrents
debug:  t=tvsearch, cat=5030,5040, extended=1, apikey=12345, offset=0, limit=50, tvdbid=279536, tvmazeid=3606, season=1, ep=7
debug: Requested TvMaez Id : 3606
debug: TvMaze Cache for 3606 empty, querying tvMaze
debug: Got informations from TvRage
/opt/t411-torznav/node_modules/node-cache/lib/node_cache.js:297
      return key.length;
                ^
TypeError: Cannot read property 'length' of undefined
    at NodeCache.module.exports.NodeCache._getKeyLength (/opt/t411-torznav/node_modules/node-cache/lib/node_cache.js:297:17)
    at NodeCache.module.exports.NodeCache.set (/opt/t411-torznav/node_modules/node-cache/lib/node_cache.js:112:34)
    at NodeCache.set (/opt/t411-torznav/node_modules/node-cache/lib/node_cache.js:3:59)
    at Object.tvRageResult (/opt/t411-torznav/server.js:244:15)
    at Request._callback (/opt/t411-torznav/tvmaze.js:22:3)
    at Request.self.callback (/opt/t411-torznav/node_modules/request/request.js:198:22)
    at Request.emit (events.js:110:17)
    at Request.<anonymous> (/opt/t411-torznav/node_modules/request/request.js:1082:10)
    at Request.emit (events.js:129:20)
    at IncomingMessage.<anonymous> (/opt/t411-torznav/node_modules/request/request.js:1009:12)

Une idée d'ou ça peut venir?
Merci

issue ubuntu 16.04

npm WARN deprecated [email protected]: use uuid module instead
node server.js
module.js:428
throw err;
^

SyntaxError: /try/T411-Torznab-master/config.json: Unexpected token g
at Object.parse (native)
at Object.Module._extensions..json (module.js:425:27)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object. (/try/T411-Torznab-master/server.js:5:14)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)

T411-torznab on qnap nas

Hello,

I would like to know if you have information about how install your indexer on a qnap nas?

I try to make the manipulation you make but it's not working.

I'm not familiar about coding, i'm a new beginner in nas.

Thanks a lot for your help.

Regards,

[BUG] Error in docker if password contains '&'

Hi,

The sed command you use in the startup script would fail if the username or password contains a & character. You probably need something more robust, like using process.env inside the javascript file or something.

It's possible that it also fails if username or password contain other special characters.

Thanks for your project, it helps me greatly.

Search seems to be broken

Hi,

Not sure what changed, but search no longer return any restult.

Extract from logs:

2017-01-08T18:44:35.329Z - debug: Query : American Crime Story
2017-01-08T18:44:35.330Z - debug:  t=tvsearch, cat=433, extended=1, apikey=test, offset=0, limit=50, q=American Crime Story, season=1, ep=1
2017-01-08T18:44:35.331Z - debug:  url=http://api.t411.li/torrents/search/American Crime Story?term[0][]=undefined&term[0][]=undefined&offset=0&limit=50, Authorization=...
2017-01-08T18:44:35.631Z - debug: Got 0 torrents

It seems to come form the space and cid combination. I tried directly on the t411 api replacing with dots and seems ok: /torrents/search/american.crime.story&cid=433. Although /torrents/search/american+crime+story&cid=433 won't return anything...

Missing results / manually verified

Hello,

First, thank you for your great script.

It works pretty well, but I'm experiencing an issue: it seems that it's dropping some results when querying some releases on Sonaar.

For example, I'm trying to searching one specific release of "Gintama 291", so I've manually entered the following url: "http://<"HOST-HERE">:9876/api?t=search&extended=0&apikey=<"APIKEYHERE">&offset=0&limit=100&q=gintama+291".

Here is the result:
image

But one release is missing.

I've manually tried with another torznab script (Jackett-public - not working on Sonaar) and here are the url + results:
"http://<"HOSTHERE">:9117/torznab/t411/api?t=tvsearch&extended=1&apikey=<"APIKEYHERE">&offset=0&limit=100&q=gintama+291"

image

As you can see, another result is returned (which is the one I always wanted for the beginning).

Could you help me about it?
Thank you.

Feature request: baseT411 & baseAPI from Docker parameters

Hi there,

Thanks a lot for this project I'm using daily through Docker.
Regarding frequent T411 URL changes, would it be possible to allow baseT411 and baseAPI properties to be set through Docker parameters exactly like USERNAME and PASSWORD. Source code will then be totally independent from this configuration and no push will be need on new URL change.

Best regards,

Michaël

Error researching on IMDB

Hi,
Thanks for adding Radarr support! Unfortunately I've got a bug on every IMDB search :

debug:  t=movie, cat=2000,2010,2020,2030,2035,2040,2045,2050,2060, extended=1, apikey=12345, offset=0, limit=50, imdbid=0445760
debug: Requested IMDB Id : 0445760
debug: Movie Cache for 0445760 empty, querying IMDB
debug: undefined
Unhandled rejection TypeError: Cannot read property 'title' of undefined
    at researchMovie (/opt/t411-torznav/server.js:213:21)
    at /opt/t411-torznav/server.js:387:8
    at /opt/t411-torznav/node_modules/imdb-api/lib/imdb.js:188:13
    at tryCatcher (/opt/t411-torznav/node_modules/request-promise/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/opt/t411-torznav/node_modules/request-promise/node_modules/bluebird/js/release/promise.js:510:31)
    at Promise._settlePromise (/opt/t411-torznav/node_modules/request-promise/node_modules/bluebird/js/release/promise.js:567:18)
    at Promise._settlePromise0 (/opt/t411-torznav/node_modules/request-promise/node_modules/bluebird/js/release/promise.js:612:10)
    at Promise._settlePromises (/opt/t411-torznav/node_modules/request-promise/node_modules/bluebird/js/release/promise.js:687:18)
    at Async._drainQueue (/opt/t411-torznav/node_modules/request-promise/node_modules/bluebird/js/release/async.js:133:16)
    at Async._drainQueues (/opt/t411-torznav/node_modules/request-promise/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues (/opt/t411-torznav/node_modules/request-promise/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:649:20)
    at tryOnImmediate (timers.js:622:5)
    at processImmediate [as _immediateCallback] (timers.js:594:5)

The debug: undefined comes from the lines 212 I've uncommented.

Thanks!

VFF et multi dans sonarr

Bonjour,

Quand sonarr chercher des episodes , il ne prend pas ceux qui sont marquer "Multi (Francais inclu)", est ce que cela peut être contourné par le script de T411-Torznab ou il faut jouer avec sonarr ?

si quelqu'un a une solution

Merci d'avance


Hello,

When sonarr seek episodes, it does not take those marked "Multi (French included)," is that it can be bypassed by the T411-Torznab script or you have to play with sonarr?

if anyone has a solution

thank

Kayl

Impossible de se connecter depuis ce matin

Bonjour,
Depuis ce matin j'ai l'erreur suivante :

█▓▒░foux@genplex░▒▓██▓▒░ jeu. mars 24 10:18:19
/opt/t411-torznav> node server.js
info: Starting T411 proxy
info: Running in : /opt/t411-torznav
info: Trying to log into T411 with user : 'xxxxx'
/opt/t411-torznav/server.js:584
            _logger.err("Failed to login to T411 : Please verify your credentials in 'c
                    ^
TypeError: undefined is not a function
    at Request.callbackLoginT411 [as _callback] (/opt/t411-torznav/server.js:584:12)
    at Request.self.callback (/opt/t411-torznav/node_modules/request/request.js:198:22)
    at Request.emit (events.js:110:17)
    at Request.<anonymous> (/opt/t411-torznav/node_modules/request/request.js:1082:10)
    at Request.emit (events.js:129:20)
    at IncomingMessage.<anonymous> (/opt/t411-torznav/node_modules/request/request.js:1009:12)
    at IncomingMessage.emit (events.js:129:20)
    at _stream_readable.js:908:16
    at process._tickCallback (node.js:355:11)

J'ai vérifié mes identifiants qui sont bons. Y'a t'il un problème sur l'API?

Cannot find module 'underscore'

Dear Team,

I update the server.js

and I got this error:

Error: Cannot find module 'underscore'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/sonar/T411/server.js:12:9)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)

any idea ?

Best regards

pb with last version of python ?

Hi !
It's not my first install but this time, after the last update of python :

ash-4.3# node server.js
module.js:427
throw err;
^

SyntaxError: /volume1/homes/admin/config.json: Unexpected token <
at Object.parse (native)
at Object.Module._extensions..json (module.js:424:27)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/volume1/homes/admin/server.js:5:14)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)

SyntaxError

Hello everybody,

I have an issue when I try to run the server.js node

vps:~/T411-Torznab# node server.js
module.js:591
    throw err;
    ^

SyntaxError: /root/T411-Torznab/config.json: Unexpected token < in JSON at position 87
    at JSON.parse (<anonymous>)
    at Object.Module._extensions..json (module.js:588:27)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/root/T411-Torznab/server.js:5:14)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)

I'm on Ubuntu 16.04, and I also looked at #9 (comment) as it looked similar but I found nothing that could help

If someone has any idea on how to solve that, he would be my savior ;)

Is IMDB a good idea?

Hi there,

IMDB as been added to movies search, that's great, but I wonder if it's the best idea. When searching with IMDB, Radarr sends only the IMDBID, and T411-Torznab will do an IMDB research to fetch the title name.

This would be great if T411 dealt with IMDBID, so we would just have to send the ID, but the problem is that... it doesn't. So we just send the french movie name to IMDBID (if you're on a french IP, the IMDB API sends name localized depending on your IP address). I see two problems with that :

  • First, if the wanted movie is set to french in Radarr, we would already do the same search without IMDB : Radarr would send the french name to T411-Torznab. So we're making a useless IMDB request
  • If the wanted movie is set to another language in Radarr, we still send the french name, even if we want to search with the name in another language (original name for example).

So I'm really not seeing the point of the IMDB integration. For me it brings more problems than solutions. But maybe I'm missing something?

Qnap + docker

Hi Kilman,

trying to install this on my QNAP.
I've updated NodeJS to 4.5.0 using the procedure described in the other QNAP related issue.
I've been able to run npm install in the torznab folder without any errors.
I've been able to build the docker container without any errors (I had to stop the photo station as it wanted to created @__thumb files whenever something was copied in the docker app folder in the first step of the docker build).

But, when running the installed container, I get this log (username removed):

> [email protected] start /usr/src/app                                                                                                        
> node server.js                                                                                                                               

info: Starting T411 proxy                                                                                                                      
info: Running in : /usr/src/app                                                                                                                
info: Trying to log into T411 with user : 'xxxxxxx'                                                                                               
error: Cannot log in to T411 : Error: getaddrinfo EAI_AGAIN api.t411.ch:80      

Not quite sure what to do now. Can anyone help? Thanks!

Passage à t411.ai

Je passe juste pour rappeler de faire le changement parce que chez moi ça ne fonctionne plus pour le moment.

Possibility to add automatic build on docker hub ?

Hello there,
I'm not sure that you're a french guy so I'll give a try in english :p
Could it be possible for you to add an automatic build of your project on the docker hub ? So I can add your awesome project that I use every day simply in my docker-compose file ?
It would be awesome !
Thanks a lot (and bigger thanks for your project ! :) )

Search show all results of a tv show

Hello,

I'm using this awesome proxy for several month with Sonaar and recently I got an issue,

When I manually search for a tv show episode, Sonaar show me all the episodes of this tv show instead of the one I was looking for.

I tried with an other indexer and it's working fine. Maybe the t411 search API has been updead recently?

Thanks,

Sonarr : Getting release form indexer failed

HI,

My Sonarr can't get the release from the indexer. It says:
"Getting release form indexer failed"

Any chack I can do ? I am running this in a docker and rebuilt it totally already.

Please advise,

Manual search shows irrelevant results

Hi team,

When manual searching I can see irrelevant results. For instance with season 2, episode 8 of "Braquo" serie, the manual search result is the following :

Mr.Robot.S02E08.1080p.HDTV.x264-BRISK
Borgia s02e08 french 720p hdtv x264 [JMT]
Dragons: Defenders of Berk [720p VOSTFR] S02E08 Appetite for Destruction [Addic7ed][WEB-DL x264 AAC]
Dragons : Defenders of Berk S02E08 VOSTFR
2.Broke.Girls.S02E08.HDTV.XviD-AFG
Borgia.S02E08.FRENCH.HDTV.x264-JMT T411 312.9
Dragons.Defenders.of.Berk.S02E08.FRENCH.DVDRIP.x264-BIPBIP
2.Broke.Girls.S02E08.FRENCH.DVDRip.x264-JMT
2.Broke.Girls.S02E08.FRENCH.DVDRip.XviD-MiND
Dragons.Défenseurs.de.Beurk.S02E08.FRENCH.HDTV.720P

Thank a lot.
Regards.

Failed test Torznab

Il me semble que depuis ce matin impossible de faire une recherche avec T411-Torznab via sonarr le test de connexion est en failed systématiquement.

je suis le seul peut être mais j'ai tout refais de a à z

node server.js

hello i have an issue when i launch node server.js

module.js:485 throw err; ^ SyntaxError: /home/youngcesar/T411-Torznab/config.json: Unexpected token < at Object.parse (native) at Object.Module._extensions..json (module.js:482:27) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/home/youngcesar/T411-Torznab/server.js:5:14) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32)
config.json is good credentials modified

thank you

Movie Year

Hi,

I have recently had troubles to make radarr download the movie Logan using the manual search.
If you type only the movie name "Logan" within the "Film" category, you will have a lot of unrelated results.
However, if you add the movie year to the search query, you will most likely get the correct releases only.

Is it something possible ? Would there be any downside of this ?

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.