Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research Cardigann/Jackett definition sharing #411

Open
ldexterldesign opened this issue Dec 2, 2017 · 7 comments
Open

Research Cardigann/Jackett definition sharing #411

ldexterldesign opened this issue Dec 2, 2017 · 7 comments

Comments

@ldexterldesign
Copy link

Hey all,

Hope you're well

Thanks for everyone's ongoing contributions to this project 💞

Can Cardigann and Jackett share definitions[0]?

http://mvgroup.org is top of my definition creation hit list[1] so just checking before I invest the time

Hope to hear back

Yours faithfully

[0] #4 (comment)
[1] Jackett/Jackett#315

@kaso17
Copy link
Collaborator

kaso17 commented Dec 2, 2017

All cardigann defintions will work with Jackett. But as the cardigann development stalled most jackett "cardigann" definitions won't work with cardigann.
They should be a good start anyway but you won't be able to make all jackett definitions work in cardigann due to missing features.
See https://github.com/cardigann/cardigann/wiki/Missing-Features

@ldexterldesign
Copy link
Author

ldexterldesign commented Dec 9, 2017

Thanks for reply

Okay NP, is it possible for one to create a Cardigann http://mvgroup.org definition or are the missing features required[0]?

Hope to hear back

Yours faithfully

[0] #283 (comment)

@ldexterldesign
Copy link
Author

BUMP

1 similar comment
@ldexterldesign
Copy link
Author

BUMP

@kaso17
Copy link
Collaborator

kaso17 commented Feb 5, 2018

It uses several features which might not be supported by cardigann (optional flag and the various extra options). But it should be possible to write one based on it with reduced functionality.

@ldexterldesign
Copy link
Author

Thanks for reply

I dropped the (new) Jackett definitions[s] info Cardigann:

https://github.com/Jackett/Jackett/blob/master/src/Jackett.Common/Definitions/mvgroupforum.yml
https://github.com/Jackett/Jackett/blob/master/src/Jackett.Common/Definitions/mvgroupmain.yml

... and get the following errors:

Last login: Sat Mar 10 03:06:04 on ttys001
Lewiss-MacBook-Pro:~ ldexterldesign$ cardigann server
INFO[0000] Cardigann 1.10.1
INFO[0000] Reading config from /Users/ldexterldesign/Library/Preferences/cardigann/config.json
INFO[0000] Found 11 indexers enabled in configuration
INFO[0000] Listening on 0.0.0.0:5060
ERRO[0048] Filling input failed                          error=No input found with name 'CODE'. site=mvgroupforum
ERRO[0048] Login failed                                  error=No input found with name 'CODE'. site=mvgroupforum
ERRO[0057] Filling input failed                          error=No input found with name 'CODE'. site=mvgroupmain
ERRO[0057] Login failed                                  error=No input found with name 'CODE'. site=mvgroupmain

How would one go about fixing these errors?

Hope to hear back

Cheers

[s] Jackett/Jackett#315

@ldexterldesign
Copy link
Author

ldexterldesign commented Mar 10, 2018

"Fixed" previous issue:

    inputs:
      "UserName": "{{ .Config.username }}"
      "PassWord": "{{ .Config.password }}"
      #"Privacy": "1"
      #"CookieDate": "0"
      #"CODE": "01"
      #"referer": "http://forums.mvgroup.org/"
      #"act": "Login"
      #"submit": "Log In"

Current issue:

  search:
    paths:
      - path: maintracker.php
    inputs:
      "seed": "{{ if .Config.seed }}1{{else}}0{{end}}"
      "withsubs": "{{ re_replace .Config.withsubs \"_\" \"\" }}"
      "filter": "{{ if .Config.hidef }}hd+{{else}}{{end}}{{ .Keywords }}"
...
→ Testing indexer mvgroupforum at http://forums.mvgroup.org/
  Testing required config is available SUCCESS ✓ in 1.905ms
  Testing login with valid credentials → Testing indexer mvgroupmain at http://forums.mvgroup.org/
  Testing required config is available SUCCESS ✓ in 2.2ms
  Testing login with valid credentials SUCCESS ✓ in 1.888757s
  Testing search mode "search" INFO[0004] Searching indexer                             query=limit=3&t=search site=mvgroupforum
FAILURE ✗ in 821.64ms
→ Indexer mvgroupforum FAILED with template: search_inputs:1:13: executing "search_inputs" at <.Config.seed>: can't evaluate field Config in type struct { Query torznab.Query; Keywords string; Categories []string }
ERRO[0004] Test failed                                   error=template: search_inputs:1:13: executing "search_inputs" at <.Config.seed>: can't evaluate field Config in type struct { Query torznab.Query; Keywords string; Categories []string }
SUCCESS ✓ in 3.15681s
  Testing search mode "search" INFO[0006] Searching indexer                             query=limit=3&t=search site=mvgroupmain
FAILURE ✗ in 554.727ms
→ Indexer mvgroupmain FAILED with template: search_inputs:1:13: executing "search_inputs" at <.Config.seed>: can't evaluate field Config in type struct { Query torznab.Query; Keywords string; Categories []string }
ERRO[0006] Test failed                                   error=template: search_inputs:1:13: executing "search_inputs" at <.Config.seed>: can't evaluate field Config in type struct { Query torznab.Query; Keywords string; Categories []string }

🙁

Yours hopefully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants