chore: add .oga to anthem files to download

This commit is contained in:
2022-06-23 02:25:06 +01:00
parent 3ea83c2025
commit 1ab07ff396

View File

@@ -24,5 +24,5 @@ class WikipediaCountryScraperFilesPipeline(FilesPipeline):
if isinstance(flag_filename, re.Match):
if (filename := flag_filename[1]).endswith(".svg"):
return f"files/flags/{filename}"
elif filename.endswith(".ogg"):
elif filename.endswith(".ogg") or filename.endswith("oga"):
return f"files/anthems/{filename}"