diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-05-17 23:46:47 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-05-17 23:46:47 +0600 |
commit | 15cda1ef774e9dbc538765f59dff5b10a492eca5 (patch) | |
tree | 82890825c7e14e8c9472d128c01044bc7c1699de /youtube_dl/extractor/nfb.py | |
parent | 055f0d3d0636e343354a19cd558a3aac3cf31399 (diff) |
[nfb] Fix uploader extraction
Diffstat (limited to 'youtube_dl/extractor/nfb.py')
-rw-r--r-- | youtube_dl/extractor/nfb.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/nfb.py b/youtube_dl/extractor/nfb.py index 51e4a34f7..234e49047 100644 --- 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, |