mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 11:41:52 +00:00
[bbccouk] PEP8
This commit is contained in:
parent
9d8f3a12a6
commit
327593257c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue