Browse Source

[bbccouk] PEP8

master
Sergey M․ 4 years ago
parent
commit
327593257c
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/bbc.py

+ 1
- 1
youtube_dl/extractor/bbc.py View File

@ -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…
Cancel
Save