mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-10 20:47:21 +08:00
[ciscolive] Fix bug in _check_bc_id_exists()
This commit is contained in:
parent
240ac9b0cc
commit
112db624e1
@ -108,9 +108,10 @@ 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'])
|
||||||
mobj = re.match(r'\d+', bc_id)
|
if bc_id:
|
||||||
if mobj:
|
mobj = re.match(r'\d+', bc_id)
|
||||||
return rf_item
|
if mobj:
|
||||||
|
return rf_item
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
mobj = re.match(self._VALID_URL, url)
|
mobj = re.match(self._VALID_URL, url)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user