Use original Referer URL in Brightcove requests (Fixes #2110)
This commit is contained in:
parent
400e58103d
commit
79f8295303
3 changed files with 11 additions and 6 deletions
|
@ -225,7 +225,8 @@ class GenericIE(InfoExtractor):
|
|||
bc_url = BrightcoveIE._extract_brightcove_url(webpage)
|
||||
if bc_url is not None:
|
||||
self.to_screen('Brightcove video detected.')
|
||||
return self.url_result(bc_url, 'Brightcove')
|
||||
surl = smuggle_url(bc_url, {'Referer': url})
|
||||
return self.url_result(surl, 'Brightcove')
|
||||
|
||||
# Look for embedded (iframe) Vimeo player
|
||||
mobj = re.search(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue