KiLMaN / T411-Torznab

A NodeJs proxy to download from T411 in Sonarr
26 stars 15 forks source link

Search seems to be broken #30

Closed bg-o closed 7 years ago

bg-o commented 7 years ago

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...

KiLMaN commented 7 years ago

Hi. From the log you provided it seems that the script was unable to get the seasons / episodes terms from t411. Can you restart the script a check if it's able to retrieve the informations? It should write

'' 2016-09-28T10:34:57.666Z - info: Starting T411 proxy 2016-09-28T10:34:57.668Z - info: Running in : xxxxxxxx 2016-09-28T10:34:57.673Z - info: Trying to log into T411 with user : 'zzzzz' 2016-09-28T10:34:57.804Z - debug: Got token from T411 : xxxxxxx 2016-09-28T10:34:57.805Z - info: T411 login successfull ! 2016-09-28T10:34:57.929Z - debug: Got 53 categories from T411 ! ''

If it fails to get the categories then it cannot search with the season /episode number. Le 8 janv. 2017, à 20:17, Boris Gougeon notifications@github.com<mailto:notifications@github.com> a écrit:

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...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/KiLMaN/T411-Torznab/issues/30, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABArj4jdEtvnfhkF_21_2wKpdZNmcWcAks5rQTZGgaJpZM4LdxQ0.

bg-o commented 7 years ago

OK works after restart. I have changed the categories from Sonarr interface, must be related. Thanks for the help ! Closing the issue.