1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2024-12-22 07:43:13 +00:00

Updated Definition format (markdown)

garfield69 2023-02-24 19:15:05 +13:00
parent 385ba6ec59
commit 58a0d30052

@ -1643,7 +1643,7 @@ selector: div[class="resultdivbotton"] div[class="resulttime"] div[class="result
filters:
# input: Tue, 19 Sep 2017 21:21:52 +12
- name: hexdump
# result in the log: mm-dd hh:mm:ss Debug CardigannIndexer (trackername): strdump: T(54)u(75)e(65),(2C) (20)1(31)9(39) (20)S(53)e(65)p(70) (20)2(32)0(30)1(31)7(37) (20)2(32)1(31):(3A)2(32)1(31):(3A)5(35)2(32) (20)+(2B)1(31)2(32)
# result in the log: MM-dd hh:mm:ss Debug CardigannIndexer (trackername): strdump: T(54)u(75)e(65),(2C) (20)1(31)9(39) (20)S(53)e(65)p(70) (20)2(32)0(30)1(31)7(37) (20)2(32)1(31):(3A)2(32)1(31):(3A)5(35)2(32) (20)+(2B)1(31)2(32)
```
## strdump
@ -1659,7 +1659,7 @@ selector: div[class="resultdivbotton"] div[id^="hideinfohash"]
filters:
# input: dbbde2fc0c299c1d1aa43280b57dafc3fbf0bd39
- name: strdump
# result in the log: mm-dd hh:mm:ss Debug CardigannIndexer (trackername): strdump: dbbde2fc0c299c1d1aa43280b57dafc3fbf0bd39
# result in the log: MM-dd hh:mm:ss Debug CardigannIndexer (trackername): strdump: dbbde2fc0c299c1d1aa43280b57dafc3fbf0bd39
```
```yaml
@ -1670,7 +1670,7 @@ fields:
# input: Star Trek 1080p
- name: strdump
args: title
# result in the log: # mm-dd hh:mm:ss Debug CardigannIndexer (trackername): strdump(title): Star Trek 1080p
# result in the log: # MM-dd hh:mm:ss Debug CardigannIndexer (trackername): strdump(title): Star Trek 1080p
download:
selector: a[href^="details.php/?id="]
attribute: href
@ -1678,12 +1678,12 @@ fields:
# input: http://tracker.btnext.com/details.php/?id=123456
- name: strdump
args: dl_href_in
# result in the log: mm-dd hh:mm:ss Debug CardigannIndexer (trackername): strdump(dl_href_in): http://tracker.btnext.com/details.php/?id=123456
# result in the log: MM-dd hh:mm:ss Debug CardigannIndexer (trackername): strdump(dl_href_in): http://tracker.btnext.com/details.php/?id=123456
- name: replace
args: ["/details.php/", "/download.php/"]
- name: strdump
args: dl_href_out
# result in the log: mm-dd hh:mm:ss Debug CardigannIndexer (trackername): strdump(dl_href_out): http://tracker.btnext.com/download.php/?id=123456
# result in the log: MM-dd hh:mm:ss Debug CardigannIndexer (trackername): strdump(dl_href_out): http://tracker.btnext.com/download.php/?id=123456
```
# Proposed changes