#1
|
|||
|
|||
LinkCrawler Rules - passing information through DEEPDECRYPT
Hi, I'd like to crawl a webpage A (then B, then C, ...) for links but to modify those links. One of the modifications is to insert a custom_string into the links. This custom_string isn't constant, it's different for each webpage A,B,C. The webpage doesn't care what comes after the question mark in the URL, so I can make the URL look like original_url?custom_string if that helps. Besides, the webpage contains Custom_string, i.e. a version of custom_string where the first letter is capitalized.
Last edited by smilies; 16.06.2019 at 16:19. |
#2
|
||||
|
||||
@smilies:
1.) You should NOT use query to attach information as those are send to the server. you should put additional information to anchor #custom_string 2.) What exactly are you trying to achieve? We can help much better/faster if we know what you want to do. Best would be with real working example links. 3.) DEEPDECRYPT can only parse/find content but NOT modify the results. You can add multiple pattern and it must not be a contiguous string. 4.) REWRITE allows to customize the output url.
__________________
JD-Dev & Server-Admin |
#3
|
||||
|
||||
The linkcrawler is already very very powerful but it doesn't make much sense to add complex methods/stuff/wishlist to linkcrawler rules because the rule engine will become very complex/incomprehensible.
__________________
JD-Dev & Server-Admin |
#4
|
||||
|
||||
Quote:
When you can code in java, there is no real reason NOT to write plugins in java as you have access to full/complex/modern language. It's not comparatively to try to add all those full/complex/modern language possibilities to static rules (linkcrawler) or very basic/limited javascript engine. You want to add 32 to the ascii code of the first letter. next person wants to check the 2nd letter and compare to 5th letter and then add 8th letter....and so on. doesn't make any sense to add such functionality to linkcrawler rules. Either your ideas can be created with eventscripter and supported javascript or must be done with a native java plugin that has nearly *unlimited* possibilities
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|