projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18806e3
)
[6play] use geo verfication headers
author
Remita Amine
<remitamine@gmail.com>
Tue, 19 Jun 2018 09:35:42 +0000
(10:35 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Tue, 19 Jun 2018 09:35:57 +0000
(10:35 +0100)
youtube_dl/extractor/sixplay.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/sixplay.py
b/youtube_dl/extractor/sixplay.py
index 1f8469a90876673a21cbd3d436fde3081c3e015c..a363221bc8eb60e76284e24aabea4d9ae12c815d 100644
(file)
--- a/
youtube_dl/extractor/sixplay.py
+++ b/
youtube_dl/extractor/sixplay.py
@@
-71,7
+71,9
@@
class SixPlayIE(InfoExtractor):
if container == 'm3u8' or ext == 'm3u8':
if protocol == 'usp':
if compat_parse_qs(compat_urllib_parse_urlparse(asset_url).query).get('token', [None])[0]:
- urlh = self._request_webpage(asset_url, video_id, fatal=False)
+ urlh = self._request_webpage(
+ asset_url, video_id, fatal=False,
+ headers=self.geo_verification_headers())
if not urlh:
continue
asset_url = urlh.geturl()