projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
055f0d3
)
[nfb] Fix uploader extraction
author
Sergey M․
<dstftw@gmail.com>
Tue, 17 May 2016 17:46:47 +0000
(23:46 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 17 May 2016 17:46:47 +0000
(23:46 +0600)
youtube_dl/extractor/nfb.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nfb.py
b/youtube_dl/extractor/nfb.py
index 51e4a34f789f0e7e9dff2eeb9ec839e655632c75..234e490476941822f6499bae7dc4c93aaf865614 100644
(file)
--- a/
youtube_dl/extractor/nfb.py
+++ b/
youtube_dl/extractor/nfb.py
@@
-37,8
+37,7
@@
class NFBIE(InfoExtractor):
uploader_id = self._html_search_regex(r'<a class="director-link" href="/explore-all-directors/([^/]+)/"',
page, 'director id', fatal=False)
- uploader = self._html_search_regex(r'<em class="director-name" itemprop="name">([^<]+)</em>',
- page, 'director name', fatal=False)
+ uploader = self._og_search_property('video:director', page, 'director name')
request = sanitized_Request(
'https://www.nfb.ca/film/%s/player_config' % video_id,