feat: reconcile RF4DB media catalog
This commit is contained in:
@@ -33,6 +33,7 @@ def test_fetch_site_key_normalizes_common_subdomains() -> None:
|
||||
assert fetch_site_key("https://download.rf4db.com/ru/catches") == "rf4db.com"
|
||||
assert fetch_site_key("https://api.rf4db.com/v1/catches") == "rf4db.com"
|
||||
assert fetch_site_key("https://cdn.rf4db.com/assets/img.jpg") == "rf4db.com"
|
||||
assert fetch_site_key("https://oss.rf4db.com/game/fish/pike.webp") == "rf4db.com"
|
||||
assert fetch_site_key("https://www.rf4db.com/") == "rf4db.com"
|
||||
# Base domain stays the same
|
||||
assert fetch_site_key("https://rf4db.com/") == "rf4db.com"
|
||||
|
||||
Reference in New Issue
Block a user