mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-05 16:03:16 +00:00
[nfb] Fix uploader extraction
This commit is contained in:
parent
055f0d3d06
commit
15cda1ef77
|
@ -37,8 +37,7 @@ def _real_extract(self, url):
|
|||
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue