#1
|
|||
|
|||
[LinkCrawler Rule] Plugin For "subdivx.com" Subtitles
Hello, would you please add support for this site?
Example links: **External links are only visible to Support Staff****External links are only visible to Support Staff** Which contains two subtitles: 1-a **External links are only visible to Support Staff****External links are only visible to Support Staff** 1-b **External links are only visible to Support Staff****External links are only visible to Support Staff** 1-c **External links are only visible to Support Staff****External links are only visible to Support Staff** 2-a **External links are only visible to Support Staff****External links are only visible to Support Staff** 2-b **External links are only visible to Support Staff****External links are only visible to Support Staff** 2-c **External links are only visible to Support Staff****External links are only visible to Support Staff** Ideally, "LinkGrabber" should get the compressed files directly after copying the parent links (1-a & 2-a). Thanks. |
#2
|
||||
|
||||
Hi,
adding these URLs from this simple website is easily possible using two LinkCrawler Rules: Code:
[ { "enabled" : true, "updateCookies" : true, "logging" : false, "maxDecryptDepth" : 1, "id" : 1583836017435, "name" : "subdivx.com example rule 1", "pattern" : "https?://(www\\.)?subdivx\\.com/.*?\\.html", "rule" : "DEEPDECRYPT", "packageNamePattern" : null, "passwordPattern" : null, "formPattern" : null, "deepPattern" : "(/bajar\\.php\\?id=\\d+[^<>"]+)", "rewriteReplaceWith" : null }, { "enabled" : true, "updateCookies" : true, "logging" : false, "maxDecryptDepth" : 1, "id" : 1583836017436, "name" : "subdivx.com example rule 2", "pattern" : "https?://(www\\.)?subdivx\\.com/bajar\\.php.+", "rule" : "DIRECTHTTP", "packageNamePattern" : null, "passwordPattern" : null, "formPattern" : null, "deepPattern" : null, "rewriteReplaceWith" : null } ]
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download Last edited by pspzockerscene; 10.03.2020 at 11:31. Reason: Fixed CODE tag |
#3
|
|||
|
|||
I have tried different ways, but still can't add that code:
Why is kind of limited the way one can add/edit the entered code into that box? I mean, for example the "Return" key has no effect at all. Moreover when some new code has to be combined with an already existing one. How that should be correctly accomplished? Last edited by ElCho; 11.03.2020 at 07:03. |
#4
|
||||
|
||||
Sorry I must have added a syntax error just before posting it.
The following should work fine: Code:
[ { "enabled" : true, "updateCookies" : true, "logging" : false, "maxDecryptDepth" : 1, "name" : "subdivx.com example rule 1", "pattern" : "https?://www\\.subdivx\\.com/.*?\\.html", "rule" : "DEEPDECRYPT", "packageNamePattern" : null, "passwordPattern" : null, "formPattern" : null, "deepPattern" : "(/bajar\\.php\\?id=\\d+[^<>\"]+)", "rewriteReplaceWith" : null }, { "enabled" : true, "updateCookies" : true, "logging" : false, "maxDecryptDepth" : 1, "name" : "subdivx.com example rule 2", "pattern" : "https?://www\\.subdivx\\.com/bajar\\.php.+", "rule" : "DIRECTHTTP", "packageNamePattern" : null, "passwordPattern" : null, "formPattern" : null, "deepPattern" : null, "rewriteReplaceWith" : null } ] Quote:
Combining more than two of such rules? Check out the json syntax (google). As you maybe can see, rules are in an Array ("[]") and comma separated. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#5
|
|||
|
|||
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:
**External links are only visible to Support Staff****External links are only visible to Support Staff** 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. Quote:
|
#6
|
||||
|
||||
Quote:
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:
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 |
#7
|
|||
|
|||
Excellent!!!
Thanks a lot. |
#8
|
||||
|
||||
Thanks for your feedback
-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#9
|
|||
|
|||
Hello, for some reason, the above rules ceased to work when using the main subtitles' links, would you please fix it?
Thanks. |
#10
|
||||
|
||||
New/fixed rule:
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 } ] pastebin.com/PjKPe7Rv This line has changed: Old: Code:
"deepPattern" : "(/bajar\\.php\\?id=\\d+[^<>\"]+)", Code:
"deepPattern" : "(bajar\\.php\\?id=\\d+[^<>\"]+)",
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#11
|
|||
|
|||
It works again, much obliged.
|
#12
|
||||
|
||||
Thanks for your feedback
-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
Thread Tools | |
Display Modes | |
|
|