feat: expand RF4 media inventory
This commit is contained in:
@@ -36,6 +36,7 @@ def test_fetch_site_key_normalizes_common_subdomains() -> None:
|
||||
assert fetch_site_key("https://www.rf4db.com/") == "rf4db.com"
|
||||
# Base domain stays the same
|
||||
assert fetch_site_key("https://rf4db.com/") == "rf4db.com"
|
||||
assert fetch_site_key("https://gw.rf4map.ru/public/images/fish.webp") == "rf4map.ru"
|
||||
# Non-normalized subdomains stay as-is
|
||||
assert fetch_site_key("https://rf4map.ru/point/1") == "rf4map.ru"
|
||||
assert fetch_site_key("https://rf4-posts.com/spots/") == "rf4-posts.com"
|
||||
|
||||
Reference in New Issue
Block a user