]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[npo] Fix typo (closes #16872)
authorSergey M․ <dstftw@gmail.com>
Sat, 30 Jun 2018 16:39:56 +0000 (23:39 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 30 Jun 2018 16:39:56 +0000 (23:39 +0700)
youtube_dl/extractor/npo.py

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