1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-11 00:07:19 +08:00

[ciscolive] Fix bug in _check_bc_id_exists()

This commit is contained in:
Austin de Coup-Crank 2018-11-05 16:21:10 -08:00
parent 240ac9b0cc
commit 112db624e1

View File

@ -108,6 +108,7 @@ class CiscoLiveIE(InfoExtractor):
''' '''
bc_id = try_get(rf_item, lambda x: x['videos'][0]['url']) bc_id = try_get(rf_item, lambda x: x['videos'][0]['url'])
if bc_id:
mobj = re.match(r'\d+', bc_id) mobj = re.match(r'\d+', bc_id)
if mobj: if mobj:
return rf_item return rf_item