1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-07-31 17:44:33 -05:00

[Hotstar] Add referer for subs (#1062)

Authored by: Ashish0804
This commit is contained in:
Ashish Gupta
2021-09-23 14:30:49 +05:30
committed by GitHub
parent 50eff38c1c
commit 388bc4a640
2 changed files with 6 additions and 1 deletions

View File

@@ -254,6 +254,9 @@ class HotStarIE(HotStarBaseIE):
'season_id': video_data.get('seasonId'),
'episode': title,
'episode_number': int_or_none(video_data.get('episodeNo')),
'http_headers': {
'Referer': 'https://www.hotstar.com/in',
}
}