]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/imggaming.py
[youtube:comments] Improve comment vote count parsing (fixes #506) (#508)
[yt-dlp.git] / yt_dlp / extractor / imggaming.py
index e11f92053bce3764695d87fe786980abeddae0df..1e43ec95beabf517ffe2a938b7934387e7bf3b9a 100644 (file)
@@ -65,7 +65,7 @@ def _real_extract(self, url):
         domain, media_type, media_id, playlist_id = re.match(self._VALID_URL, url).groups()
 
         if playlist_id:
-            if self._downloader.params.get('noplaylist'):
+            if self.get_param('noplaylist'):
                 self.to_screen('Downloading just video %s because of --no-playlist' % media_id)
             else:
                 self.to_screen('Downloading playlist %s - add --no-playlist to just download video' % playlist_id)