mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-21 13:22:23 +01:00
This reverts commit b827ee921f.
This commit is contained in:
@@ -528,7 +528,7 @@ class BBCCoUkIE(InfoExtractor):
|
||||
|
||||
def get_programme_id(item):
|
||||
def get_from_attributes(item):
|
||||
for p in ('identifier', 'group'):
|
||||
for p in('identifier', 'group'):
|
||||
value = item.get(p)
|
||||
if value and re.match(r'^[pb][\da-z]{7}$', value):
|
||||
return value
|
||||
|
||||
Reference in New Issue
Block a user