projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d8f3a1
)
[bbccouk] PEP8
author
Sergey M․
<dstftw@gmail.com>
Wed, 13 May 2020 22:11:42 +0000
(
05:11
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 13 May 2020 22:11:42 +0000
(
05:11
+0700)
youtube_dl/extractor/bbc.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/bbc.py
b/youtube_dl/extractor/bbc.py
index 901c5a54fb6f9d3320fbd0827a222c2c9e9676f0..002c39c394bf5d8bd3b74600d92a594e1a8ca2b2 100644
(file)
--- a/
youtube_dl/extractor/bbc.py
+++ b/
youtube_dl/extractor/bbc.py
@@
-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