aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2020-12-04 18:08:08 +0100
committerRemita Amine <remitamine@gmail.com>2020-12-04 18:08:08 +0100
commitfe0c28f9569bb99f3bddd59b7f4b2be919368f22 (patch)
tree11890dcda5c7e30c50cc41d9cf6a38b5d22208a6
parent957c65b9eaeaf181d76c6aa815a8f946c090129b (diff)
[nrk] fix call to moved method
-rw-r--r--youtube_dl/extractor/nrk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/nrk.py b/youtube_dl/extractor/nrk.py
index 0f69579c5..8595f55b1 100644
--- a/youtube_dl/extractor/nrk.py
+++ b/youtube_dl/extractor/nrk.py
@@ -320,7 +320,7 @@ class NRKTVIE(NRKBaseIE):
asset_url = asset.get('url')
if not asset_url or asset_url in urls:
continue
- formats = extract_nrk_formats(asset_url, video_id)
+ formats = self._extract_nrk_formats(asset_url, video_id)
if not formats:
continue
self._sort_formats(formats)
@@ -345,7 +345,7 @@ class NRKTVIE(NRKBaseIE):
if not entries:
media_url = data.get('mediaUrl')
if media_url and media_url not in urls:
- formats = extract_nrk_formats(media_url, video_id)
+ formats = self._extract_nrk_formats(media_url, video_id)
if formats:
self._sort_formats(formats)
duration = parse_duration(data.get('duration'))