JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 10.11.2016, 18:49
mweut mweut is offline
JD Alpha
 
Join Date: Jul 2015
Posts: 22
Default link crawler / 100%cpu for long time

I was editing my link crawler rules, and copied them to the clipboard, while the clipboard monitor was active.

This lead to more than a minute of 100 cpu / then I aborted it.

Below are the rules. Those rules were active, so they themself got applied too.

Steps to reproduce:
- add below rules as link crawler rules (adv setting)
- activate clipboard monitor
- copy below rules to clipboard, if not already in

jd2 should be very busy now....


btw, are there docs for "formPattern" : null, "deepPattern" : null, "rewriteReplaceWith" : null ? I googled the forum, but no success

Last edited by Jiaz; 11.11.2016 at 15:28.
Reply With Quote
  #2  
Old 11.11.2016, 15:23
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 70,725
Default

The reason is simply
The name of the rule matches the pattern of the rule. As soon as the rule is active it will do what the rule told it to Auto deep decrypt all the pages
You can abort the linkcrawler with a rightclick.

You should choose other names to avoid this
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 11.11.2016 at 15:25.
Reply With Quote
  #3  
Old 11.11.2016, 15:28
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 70,725
Default

formPattern: specify a pattern what Form to submit for SUBMITFORM rules -> in case a button(form) must be submitted

deepPattern: specify a pattern to only process matches and not the complete html source
->in case you are only interested in some specific parts of the html

rewriteReplaceWith: specify a replace pattern for REWRITE rules
->you can rewrite URLa to URLb.
__________________
JD-Dev & Server-Admin
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 00:11.
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 - 2021, Jelsoft Enterprises Ltd.