[twitter] Add support for summary card(closes #25121)
This commit is contained in:
parent
491ee7efe4
commit
19ec468635
|
@ -488,6 +488,11 @@ class TwitterIE(TwitterBaseIE):
|
||||||
'url': get_binding_value('broadcast_url'),
|
'url': get_binding_value('broadcast_url'),
|
||||||
'ie_key': TwitterBroadcastIE.ie_key(),
|
'ie_key': TwitterBroadcastIE.ie_key(),
|
||||||
})
|
})
|
||||||
|
elif card_name == 'summary':
|
||||||
|
info.update({
|
||||||
|
'_type': 'url',
|
||||||
|
'url': get_binding_value('card_url'),
|
||||||
|
})
|
||||||
# amplify, promo_video_website, promo_video_convo, appplayer, ...
|
# amplify, promo_video_website, promo_video_convo, appplayer, ...
|
||||||
else:
|
else:
|
||||||
is_amplify = card_name == 'amplify'
|
is_amplify = card_name == 'amplify'
|
||||||
|
|
Loading…
Reference in New Issue