aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/funimation.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-07-08 21:03:13 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-07-08 21:22:35 +0530
commit4bb6b02f93e633dbba7bb722c167bf3b725cd7ce (patch)
tree83b9b4b43e190fca8ae792f29422568cfd87c8e0 /yt_dlp/extractor/funimation.py
parentb5ac45b1971b39c2dc7296601516c68e7747e228 (diff)
downloadhypervideo-pre-4bb6b02f93e633dbba7bb722c167bf3b725cd7ce.tar.lz
hypervideo-pre-4bb6b02f93e633dbba7bb722c167bf3b725cd7ce.tar.xz
hypervideo-pre-4bb6b02f93e633dbba7bb722c167bf3b725cd7ce.zip
Improve `extractor_args` parsing
Diffstat (limited to 'yt_dlp/extractor/funimation.py')
-rw-r--r--yt_dlp/extractor/funimation.py4
1 files changed, 2 insertions, 2 deletions
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))