mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 12:01:28 +00:00
[sonyliv] Respect referrer (closes #15648)
This commit is contained in:
parent
18d7aa6efa
commit
90830004c8
|
@ -33,5 +33,8 @@ class SonyLIVIE(InfoExtractor):
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
brightcove_id = self._match_id(url)
|
brightcove_id = self._match_id(url)
|
||||||
return self.url_result(
|
return self.url_result(
|
||||||
smuggle_url(self.BRIGHTCOVE_URL_TEMPLATE % brightcove_id, {'geo_countries': ['IN']}),
|
smuggle_url(self.BRIGHTCOVE_URL_TEMPLATE % brightcove_id, {
|
||||||
|
'geo_countries': ['IN'],
|
||||||
|
'referrer': url,
|
||||||
|
}),
|
||||||
'BrightcoveNew', brightcove_id)
|
'BrightcoveNew', brightcove_id)
|
||||||
|
|
Loading…
Reference in a new issue