drop ratio replace

cardigann does not process the ratio block anyway
and none of the other yml source do any validation for this value
This commit is contained in:
Garfield69 2019-02-11 15:09:05 +13:00
parent 1762e6e02d
commit d4f16d96f1
2 changed files with 0 additions and 5 deletions

View File

@ -56,9 +56,6 @@
ratio: ratio:
path: / path: /
selector: td:has(a[href="/articles.php?topic=ratio"]) > td selector: td:has(a[href="/articles.php?topic=ratio"]) > td
filters:
- name: replace
args: ["∞", "2147483647"] # max int32
search: search:
paths: paths:

View File

@ -104,8 +104,6 @@
path: index.php path: index.php
selector: div#top div:nth-child(2) span:nth-child(2) selector: div#top div:nth-child(2) span:nth-child(2)
filters: filters:
- name: replace
args: ["Inf.", "2147483647"] # max int32
- name: regexp - name: regexp
args: "Ratio: (.+?) Bonus:" args: "Ratio: (.+?) Bonus:"