projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[openload] add tests
[youtube-dl]
/
youtube_dl
/
extractor
/
sonyliv.py
diff --git
a/youtube_dl/extractor/sonyliv.py
b/youtube_dl/extractor/sonyliv.py
index c3078e285799ab9d159a072d67bf560ee03bd25b..58a8c0d4ddb2f282241af2afad37e9d4b8403085 100644
(file)
--- a/
youtube_dl/extractor/sonyliv.py
+++ b/
youtube_dl/extractor/sonyliv.py
@@
-33,5
+33,8
@@
class SonyLIVIE(InfoExtractor):
def _real_extract(self, url):
brightcove_id = self._match_id(url)
return self.url_result(
def _real_extract(self, url):
brightcove_id = self._match_id(url)
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)