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:
parent
d4c6876bc9
commit
f5ba2b62e7
@ -190,7 +190,7 @@ proc parseCard(js: JsonNode; urls: JsonNode): Card =
|
|||||||
result.url = vals{"player_url"}.getStrVal
|
result.url = vals{"player_url"}.getStrVal
|
||||||
if "youtube.com" in result.url:
|
if "youtube.com" in result.url:
|
||||||
result.url = result.url.replace("/embed/", "/watch?v=")
|
result.url = result.url.replace("/embed/", "/watch?v=")
|
||||||
of unified, unknown:
|
of audiospace, unified, unknown:
|
||||||
result.title = "This card type is not supported."
|
result.title = "This card type is not supported."
|
||||||
else: discard
|
else: discard
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user