mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	| @@ -230,6 +230,11 @@ class HotStarIE(HotStarBaseIE): | |||||||
|             if tags and 'encryption:plain' not in tags: |             if tags and 'encryption:plain' not in tags: | ||||||
|                 for f in current_formats: |                 for f in current_formats: | ||||||
|                     f['has_drm'] = True |                     f['has_drm'] = True | ||||||
|  |             if tags and 'language' in tags: | ||||||
|  |                 lang = re.search(r'language:(?P<lang>[a-z]+)', tags).group('lang') | ||||||
|  |                 for f in current_formats: | ||||||
|  |                     if not f.get('langauge'): | ||||||
|  |                         f['language'] = lang | ||||||
|             formats.extend(current_formats) |             formats.extend(current_formats) | ||||||
|             subs = self._merge_subtitles(subs, current_subs) |             subs = self._merge_subtitles(subs, current_subs) | ||||||
|         if not formats and geo_restricted: |         if not formats and geo_restricted: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ashish Gupta
					Ashish Gupta