Browse Source

[npo] Fix typo (closes #16872)

Sergey M․ 7 years ago
parent
commit
2160768a21
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/npo.py

+ 1 - 1
youtube_dl/extractor/npo.py

@@ -282,7 +282,7 @@ class NPOIE(NPOBaseIE):
                 video_url = stream_info.get('url')
                 video_url = stream_info.get('url')
             if not video_url or video_url in urls:
             if not video_url or video_url in urls:
                 continue
                 continue
-            urls.add(item_url)
+            urls.add(video_url)
             if determine_ext(video_url) == 'm3u8':
             if determine_ext(video_url) == 'm3u8':
                 formats.extend(self._extract_m3u8_formats(
                 formats.extend(self._extract_m3u8_formats(
                     video_url, video_id, ext='mp4',
                     video_url, video_id, ext='mp4',