Jackett: [Help] Add [spanish] to nyaa.si if title have [PuyaSubs!]

Created on 18 Dec 2019  路  7Comments  路  Source: Jackett/Jackett

Hi, i would like to add [spanish] tag if the title have [PuyaSubs!]

i have tried:

imagen

imagen

imagen

imagen

But all i have done isnt working, if someone can help me, because [PuyaSubs!] only upload spanish subs and i would like to mark as Spanish for Sonarr.

Most helpful comment

@doctorase just upgrade your jackett to version 0.12.1470 or newer and it will include this enhancement.

All 7 comments

replace all your title flavours with this block

      title:
        selector: td:nth-child(2) a:last-of-type
      title:
        selector: td:nth-child(2) a:last-of-type:contains("[PuyaSubs!] ")
        optional: true
        filters:
          - name: replace
            args: ["[PuyaSubs!] ", ""]
          - name: append
            args:  " Spanish"

Where I need to paste this block to setup the spanish search like this way? Thanks

@doctorase just upgrade your jackett to version 0.12.1470 or newer and it will include this enhancement.

I don't see how this is an enhancement. Before this change PuyaSubs's content was properly marked as spanish and you could even add a tag in sonarr to give it more priority. Right now it gets mixed with other content that has "spanish" in the title. Is it possible to revert this or make it optional?

I don't see how this is an enhancement. Before this change PuyaSubs's content was properly marked as spanish and you could even add a tag in sonarr to give it more priority. Right now it gets mixed with other content that has "spanish" in the title. Is it possible to revert this or make it optional?

Before this change 18 Dec 2019 (LINK TO PREVIOUS VERSION) PuyaSubs content wasnt marked as spanish,

imagen

imagen

Its true that its a bit confusing, i will try to improve it.

I did some tweaks:

      title:
        selector: td:nth-child(2) a:last-of-type
      title:
        selector: td:nth-child(2) a:last-of-type:contains("[PuyaSubs!] ")
        optional: true
        filters:
          - name: replace
            args: ["[PuyaSubs!] ", "[PuyaSubs!] [Spanish] "]

You're correct, content wasn't marked as spanish before. In my opinion to fix the problem you should append "[Spanish]" to the end of the title instead of your suggestion. It would follow the scene schema and will look more cleaner.

You're correct, content wasn't marked as spanish before. In my opinion to fix the problem you should append "[Spanish]" to the end of the title instead of your suggestion. It would follow the scene schema and will look more cleaner.

Okay so this will be better:

      title:
        selector: td:nth-child(2) a:last-of-type
      title:
        selector: td:nth-child(2) a:last-of-type:contains("[PuyaSubs!] ")
        optional: true
        filters:
          - name: append
            args: " [Spanish]"

Now will be like:

[PuyaSubs!] .......................................... [Spanish]

imagen

Was this page helpful?
0 / 5 - 0 ratings