This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[viu] pass geo verification headers to auth request
totalwebcasting
Remita Amine
8 years ago
parent
9c5b5f2115
commit
f120646f04
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/extractor/viu.py
+ 1
- 1
youtube_dl/extractor/viu.py
View File
@ -25,7 +25,7 @@ class ViuBaseIE(InfoExtractor):
'
userid
'
:
'
guest
'
,
'
useridtype
'
:
'
guest
'
,
'
ver
'
:
'
1.0
'
}
)
}
,
headers
=
self
.
geo_verification_headers
(
)
)
self
.
_auth_token
=
viu_auth_res
.
info
(
)
[
'
X-VIU-AUTH
'
]
def
_call_api
(
self
,
path
,
*
args
,
*
*
kwargs
)
:
Write
Preview
Loading…
Cancel
Save