View Single Post
  #6  
Old 16.03.2020, 10:30
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,088
Default

Quote:
Originally Posted by ElCho View Post
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 View Post
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-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote