examples: fix duckduckbot regex

Each IP entry in the table is wrapped in a div.
This commit is contained in:
Alan Orth
2025-04-23 00:40:12 +03:00
parent 14c6a42e88
commit 5189dd41f9
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ networks:
jq-path: '(.prefixes[] | select(has("ipv4Prefix")) | .ipv4Prefix), (.prefixes[] | select(has("ipv6Prefix")) | .ipv6Prefix)'
duckduckbot:
- url: https://duckduckgo.com/duckduckgo-help-pages/results/duckduckbot
regex: "<li>(?P<prefix>[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)</li>"
regex: "<li><div>(?P<prefix>[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)</div></li>"
yandexbot:
# todo: detected as bot
# - url: https://yandex.com/ips