@academyoffetishes:
Quote:
Originally Posted by academyoffetishes
So the rule is "DEEPDECRYPT", but it has a "rewriteReplaceWith". According to the table below it, this is only allowed in "rule": "REWRITE". So what does this do? Where does the field get its $1 from? I know what $1 means, but I don't know which field it's coming from.
|
it depends on the rule type (eg DEEPDECRYPT) on which fields are used for this rule. There are not different type of objects/jsons for different types of rules and thus you can set any field you want but only those used by that specific type of rule will actually get used.
Quote:
Originally Posted by academyoffetishes
Using the same example, "packageNamePattern": "<title>(.*?)</title>" But in the table below, that field uses this example: **External links are only visible to Support Staff** So does this regex look at the URL or the html, or both? I have the same question about all the other "pattern" fields.
|
pattern(URL) specifies the pattern on which the rule matches on, rewriteReplaceWith references to pattern(URL), all other pattern match on HTML, see
https://support.jdownloader.org/Know...kcrawler-rules
Quote:
Originally Posted by academyoffetishes
How do you set the name of the file in a rule? e.g., the URL //example.com/video/-210372192_456239067 should download as the page's <h1> value on the page it came from.
|
That's not possible from within a linkcrawler rule, please use packagizer for this, see
https://support.jdownloader.org/Know...paketverwalter
Quote:
Originally Posted by academyoffetishes
What kind of rule would I use for this example?
|
wait for next plugin update, this site matches existing plugin template and videos are hosted on vk.com