]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/funimation.py
[adobepass] Add MSO Sling TV (#596)
[yt-dlp.git] / yt_dlp / extractor / funimation.py
index 4690c523454d52c662691f696d2d08351bddc922..4c61d126bda4118334dbb545fc72ba0de94d4b3a 100644 (file)
@@ -186,8 +186,8 @@ def _real_extract(self, url):
         for lang, version, fmt in self._get_experiences(episode):
             experience_id = str(fmt['experienceId'])
             if (only_initial_experience and experience_id != initial_experience_id
-                    or requested_languages and lang not in requested_languages
-                    or requested_versions and version not in requested_versions):
+                    or requested_languages and lang.lower() not in requested_languages
+                    or requested_versions and version.lower() not in requested_versions):
                 continue
             thumbnails.append({'url': fmt.get('poster')})
             duration = max(duration, fmt.get('duration', 0))