Quote:
Originally Posted by ElCho
It works now, but it would be great if you can add a final additional tweak, so in case I want to grab all the found subtitles for a determined title instead just a few selected ones, they get detected automatically and without extra files. I mean, from results pages like this one:[...]
That kind of link should be processed automatically by the "clipboard observer", and just the relevant files should be added to the download list (rar/zip); they should be grouped as "Various Files" as well.
|
Using a 3rd Link Crawler Rule, this can easily be accomplished:
Code:
[ {
"enabled" : true,
"updateCookies" : true,
"logging" : false,
"maxDecryptDepth" : 1,
"name" : "subdivx.com example rule 1",
"pattern" : "https?://www\\.subdivx\\.com/index\\.php\\?buscar=.+",
"rule" : "DEEPDECRYPT",
"packageNamePattern" : null,
"passwordPattern" : null,
"formPattern" : null,
"deepPattern" : "class=\"titulo_menu_izq\" href=\"(https?://[^\"]+\\.html)",
"rewriteReplaceWith" : null
}, {
"enabled" : true,
"updateCookies" : true,
"logging" : false,
"maxDecryptDepth" : 1,
"name" : "subdivx.com example rule 2",
"pattern" : "https?://www\\.subdivx\\.com/.*?\\.html",
"rule" : "DEEPDECRYPT",
"packageNamePattern" : null,
"passwordPattern" : null,
"formPattern" : null,
"deepPattern" : "(/bajar\\.php\\?id=\\d+[^<>\"]+)",
"rewriteReplaceWith" : null
}, {
"enabled" : true,
"cookies" : null,
"updateCookies" : true,
"logging" : false,
"maxDecryptDepth" : 1,
"name" : "subdivx.com example rule 3",
"pattern" : "https?://www\\.subdivx\\.com/bajar\\.php.+",
"rule" : "DIRECTHTTP",
"packageNamePattern" : null,
"passwordPattern" : null,
"formPattern" : null,
"deepPattern" : null,
"rewriteReplaceWith" : null
} ]
Quote:
Originally Posted by ElCho
I mean, in the case I already have some previous rules over there and I want to add an additional one; it gets kind of tricky to add text the way one would do it in a regular text editor.
|
It is not complicated.
You can see the structure in my examples already.
You can also use e.g. web json editors to easier view & edit json syntax based contents e.g. jsoneditoronline.org.
-psp-