#1
|
|||
|
|||
Copy .html to the clipboard and automatically add it to LinkGrabber
Hello.
Tell please, how to use jdownloader to do the following: need to automatically copy the links of the "h_ttp://sitename_com/page.html" type into the Link Grabber from the clipboard. For example, direct links to a file with .mp4 are automatically added from the buffer, but how to also add only .html from the buffer? Is it possible to do this? |
#2
|
||||
|
||||
JDownloader does not listen to .html file extension otherwise it will trigger on most websites. If a site is unsupported by a dedicated plugin you can add support yourself via linkcrawler rules (google: linkcrawler rules site:board.jdownloader.org), provide the listen url pattern and either specify what to search for via regex pattern.
raztoki
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
|||
|
|||
Please help me, English is not my main language. It is very difficult for me to understand and make a rule for my task.
It is necessary to capture .html links for future downloads automatically on a specific site. When copying the url and using the keyboard shortcut ctrl+v or ctrl+l, can add this link to the grabber, but how to do it without clicking the button so that it is copied to the clipboard(ctrl+c) and the grabber automatically adds to the download? |
#4
|
||||
|
||||
@veron
Try this: Code:
[ { "enabled" : true, "maxDecryptDepth" : 0, "name" : "anyname", "pattern" : "http.+?html", "rule" : "DEEPDECRYPT", "packageNamePattern" : null, "deepPattern" : null } ]
__________________
FAQ: How to upload a Log Last edited by raztoki; 15.01.2020 at 11:50. |
#5
|
|||
|
|||
Works great, thanks a lot!
Is it possible to indicate the operation of this code only for a specific domain? |
#6
|
||||
|
||||
Yes, put the domain after "http".
__________________
FAQ: How to upload a Log |
#7
|
||||
|
||||
You need to improve the regular expression pattern, its too open from tonys example it will trigger for every website that ends in html. I would add a domain at least =]
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#8
|
|||
|
|||
|
Thread Tools | |
Display Modes | |
|
|