mirror of
https://github.com/Jackett/Jackett
synced 2025-01-03 13:46:10 +00:00
Updated Definition format (markdown)
parent
01654b24f3
commit
26dc502a6b
1 changed files with 13 additions and 0 deletions
|
@ -631,6 +631,19 @@ download:
|
|||
filters:
|
||||
- name: trim
|
||||
```
|
||||
example of a download block using the before pathselector
|
||||
```yaml
|
||||
download:
|
||||
# if you need to do a http GET using a href in the details page in order to make a download link available then use this method
|
||||
before:
|
||||
# thankyou link: ./viewtopic.php?f=52&p=65417&thanks=65417&to_id=54&from_id=3950
|
||||
pathselector:
|
||||
selector: a[id^="lnk_thanks_post"]
|
||||
attribute: href
|
||||
selectors:
|
||||
- selector: a[href^="magnet:?xt="]
|
||||
attribute: href
|
||||
```
|
||||
# Template engine #
|
||||
The template engine is very basic, and supports the following statements.
|
||||
|
||||
|
|
Loading…
Reference in a new issue