JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 14.01.2020, 12:29
veron veron is offline
Junior Loader
 
Join Date: Aug 2018
Posts: 12
Question 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?
Reply With Quote
  #2  
Old 14.01.2020, 14:24
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

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. :]
Reply With Quote
  #3  
Old 14.01.2020, 16:44
veron veron is offline
Junior Loader
 
Join Date: Aug 2018
Posts: 12
Default

Quote:
Originally Posted by raztoki View Post
linkcrawler rules
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?
Reply With Quote
  #4  
Old 15.01.2020, 10:22
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,507
Default

@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 12:50.
Reply With Quote
  #5  
Old 15.01.2020, 10:26
veron veron is offline
Junior Loader
 
Join Date: Aug 2018
Posts: 12
Default

Quote:
Originally Posted by tony2long View Post
@veron
Try this:
Works great, thanks a lot!
Is it possible to indicate the operation of this code only for a specific domain?
Reply With Quote
  #6  
Old 15.01.2020, 10:43
tony2long's Avatar
tony2long tony2long is offline
English Supporter
 
Join Date: Jun 2009
Posts: 6,507
Default

Yes, put the domain after "http".
__________________
FAQ: How to upload a Log
Reply With Quote
  #7  
Old 15.01.2020, 12:53
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

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. :]
Reply With Quote
  #8  
Old 15.01.2020, 13:20
veron veron is offline
Junior Loader
 
Join Date: Aug 2018
Posts: 12
Thumbs up

Quote:
Originally Posted by tony2long View Post
Yes, put the domain after "http".
Thanks!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 21:04.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.