[cleanup] Fix misc bugs (#8968)

Closes #8816

Authored by: bashonly, seproDev, pukkandan, Grub4k
This commit is contained in:
pukkandan 2024-03-10 19:52:49 +05:30
parent 47ab66db0f
commit 93240fc184
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
13 changed files with 20 additions and 16 deletions

View file

@ -64,7 +64,7 @@ class MyVideoGeIE(InfoExtractor):
# translate any ka month to an en one
re.sub('|'.join(self._MONTH_NAMES_KA),
lambda m: MONTH_NAMES['en'][self._MONTH_NAMES_KA.index(m.group(0))],
upload_date, re.I))
upload_date, flags=re.I))
if upload_date else None)
return {