]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/zingmp3.py
[cleanup] Misc cleanup
[yt-dlp.git] / yt_dlp / extractor / zingmp3.py
index 26eddb06a548c1f870d6342c50d7965fa30644c7..8b2d842ff4347a38caa5b3b44afc5f663834be65 100644 (file)
@@ -59,7 +59,7 @@ def _call_api(self, url_type, params, display_id=None, **kwargs):
         return (resp or {}).get('data') or {}
 
     def _real_initialize(self):
-        if not self.get_param('cookiefile') and not self.get_param('cookiesfrombrowser'):
+        if not self._cookies_passed:
             self._request_webpage(
                 self._api_url('bai-hat', {'id': ''}), None, note='Updating cookies')