strip '/' from instance root URLs

This commit is contained in:
Mike Fährmann 2021-02-17 23:07:17 +01:00
parent 595bdaa4be
commit e1a12761d7
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -543,7 +543,7 @@ class BaseExtractor(Extractor):
pattern_list = []
instance_list = cls.instances = []
for category, info in instances.items():
root = info["root"]
root = info["root"].rstrip("/")
instance_list.append((category, root))
pattern = info.get("pattern")