#1
|
|||
|
|||
[Link crawler rule] request : decryter for "ptscans"
Hello ,
I would like to ask for a function / plugin / decrypter to download images from ptscans (something similar to the decrypter of other manga sites) link examples: initial pag **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** chapter **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#2
|
|||
|
|||
I did some tests ... without success . But I found a procedure that works:
initial pag : **External links are only visible to Support Staff****External links are only visible to Support Staff** chapter es: **External links are only visible to Support Staff****External links are only visible to Support Staff** doing some research i found that file **External links are only visible to Support Staff****External links are only visible to Support Staff** if I "paste" this link JD finds me all the images I need (but I have to tell him to put them all in one package) now I need to know how / what to write in the class to say: << if links from the site are like **External links are only visible to Support Staff****External links are only visible to Support Staff** parse the "X" file you find **External links are only visible to Support Staff****External links are only visible to Support Staff** and put everything in a package called based on some values found in the file just analyzed ( es "issueNumber": XXX.X, "title": "Chapter XX" --> XXX.X - Chapter XX) >> any help? please |
#3
|
||||
|
||||
Hi,
a plugin for this website is not required as it contains direct-URLs which can be added via linkcrawler rules. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#4
|
|||
|
|||
I apologize if I still disturb you, but I can't understand how to use the linkcrawler
from what I understand I should copy something similar to https://board.jdownloader.org/showthread.php?t=74150 Code:
[ { "enabled": true, "maxDecryptDepth": 0, "name": "ptscan", "pattern": "https?://(?:www\.)?read.ptscans.com/read/[:alpha:-]+" "rule": "DEEPDECRYPT", "packageNamePattern": null, "deepPattern": null } ] 1) where do I paste the string I need? in the linkgrabber if I do "add" I see this window https://board.jdownloader.org/attach...1&d=1579550513 2) how do I write the rule "to the copied link add </manifest.json> and analyze it" ?? 3)"packageNamePattern" ---> how do I tell him "the name is in the manifest.json file"? |
#5
|
||||
|
||||
Go to Settings --> Advanced Settings --> Search for "link crawler rules" --> Replace what's in there with this:
Code:
[ { "enabled" : true, "maxDecryptDepth" : 1, "name" : "ptscans2", "pattern" : "**External links are only visible to Support Staff**, "rule" : "DEEPDECRYPT", "packageNamePattern" : "\"title\": \"(.*?)\"", "deepPattern" : "(http.+\\.png)" },{ "enabled" : true, "maxDecryptDepth" : 1, "name" : "ptscans1", "pattern" : "**External links are only visible to Support Staff**, "rule" : "DEEPDECRYPT", "deepPattern" : "(http.+\\.json)" } ]
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#6
|
|||
|
|||
THANK YOU !
I managed to paste it in the queue to what was already there ["stuff" not made by me, therefore reliable]. restarted JD - the pc has not exploded - if I copy the links it does what I hoped for! thank you again ! that's fine for my needs, I keep it like this ! but last curiosity, for the package name you used : Code:
"packageNamePattern" : "\"title\": \"(.*?)\"", Code:
"packageNamePattern" : "\"title\": \"(.*?)\"+\"subtitle\": \"(.*?)\"", p.s= you can mark the discussion as resolved / closed / OK |
#7
|
||||
|
||||
Thanks for your feedback!
You can simply pick a packagename via RegEx. Please keep in mind that it has to be inside the current crawler html - in this case inside the .json but as I can see you already understood that. The following should do the job: Code:
"packageNamePattern" : "\"subtitle\": \"(.*?)\"",
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download Last edited by pspzockerscene; 21.01.2020 at 19:13. Reason: Fixed typo |
Thread Tools | |
Display Modes | |
|
|