From 4bb6b02f93e633dbba7bb722c167bf3b725cd7ce Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 8 Jul 2021 21:03:13 +0530 Subject: Improve `extractor_args` parsing --- yt_dlp/extractor/funimation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yt_dlp/extractor/funimation.py') diff --git a/yt_dlp/extractor/funimation.py b/yt_dlp/extractor/funimation.py index 4690c5234..4c61d126b 100644 --- a/yt_dlp/extractor/funimation.py +++ b/yt_dlp/extractor/funimation.py @@ -186,8 +186,8 @@ class FunimationIE(InfoExtractor): 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)) -- cgit v1.2.3