1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-06-04 19:43:38 +08:00

[brightcove:new] can't .rpartition video_id if it's None

This commit is contained in:
John Hawkinson
2017-03-07 01:50:18 -05:00
Unverified
parent 15859c6845
commit 99474c6510
+1 -1
View File
@@ -519,7 +519,7 @@ class BrightcoveNewIE(InfoExtractor):
if not embed: embed = attrs.get('data-embed')
# According to [5] data-video-id may be prefixed with 'ref:'
video_id = video_id.rpartition('ref:')[2]
if video_id: video_id = video_id.rpartition('ref:')[2]
if video_id and account_id and player_id and embed:
entries.append(