Fix formatting issue

This commit is contained in:
HobbyistDev 2024-08-02 18:30:11 +09:00
parent 694de75a67
commit dfc4769853

View file

@ -209,7 +209,7 @@ class ViuOTTIE(InfoExtractor):
'episode': 'Detective Conan - Episode 1150', 'episode': 'Detective Conan - Episode 1150',
'episode_number': 1150, 'episode_number': 1150,
'thumbnail': r're:https?://prod-images\.viu\.com/clip_asset_v6/\d+/\d+/[a-f0-9]+', 'thumbnail': r're:https?://prod-images\.viu\.com/clip_asset_v6/\d+/\d+/[a-f0-9]+',
} },
}] }]
_AREA_ID = { _AREA_ID = {
@ -341,7 +341,7 @@ def _real_extract(self, url):
'ccs_product_id': video_data['ccs_product_id'], 'ccs_product_id': video_data['ccs_product_id'],
'language_flag_id': self._LANGUAGE_FLAG.get(lang_code.lower()) or runtime_info.get('languageFlagId') or '3', 'language_flag_id': self._LANGUAGE_FLAG.get(lang_code.lower()) or runtime_info.get('languageFlagId') or '3',
'platform_flag_label': 'web', 'platform_flag_label': 'web',
'countryCode': country_code.upper() 'countryCode': country_code.upper(),
} }
def download_playback(): def download_playback():
@ -432,7 +432,7 @@ def download_playback():
'thumbnails': 'thumbnails', 'thumbnails': 'thumbnails',
'title': 'title', 'title': 'title',
'episode': 'episode', 'episode': 'episode',
'episode_number': 'episode_number' 'episode_number': 'episode_number',
})) }))