Add audiospace to list of unsupported cards

This commit is contained in:
Zed 2022-01-06 03:37:27 +01:00
parent d4c6876bc9
commit f5ba2b62e7

View file

@ -190,7 +190,7 @@ proc parseCard(js: JsonNode; urls: JsonNode): Card =
result.url = vals{"player_url"}.getStrVal
if "youtube.com" in result.url:
result.url = result.url.replace("/embed/", "/watch?v=")
of unified, unknown:
of audiospace, unified, unknown:
result.title = "This card type is not supported."
else: discard