Просмотр исходного кода

Add audiospace to list of unsupported cards

Zed 4 лет назад
Родитель
Сommit
f5ba2b62e7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/parser.nim

+ 1 - 1
src/parser.nim

@@ -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