1
0
mirror of https://github.com/zedeus/nitter synced 2024-11-22 01:45:22 +01:00

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