aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/tennistv.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/tennistv.py')
-rw-r--r--hypervideo_dl/extractor/tennistv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hypervideo_dl/extractor/tennistv.py b/hypervideo_dl/extractor/tennistv.py
index bc64226..c1b4a33 100644
--- a/hypervideo_dl/extractor/tennistv.py
+++ b/hypervideo_dl/extractor/tennistv.py
@@ -86,7 +86,7 @@ class TennisTVIE(InfoExtractor):
})
self.get_token(None, {
- 'code': urllib.parse.parse_qs(handle.geturl())['code'][-1],
+ 'code': urllib.parse.parse_qs(handle.url)['code'][-1],
'grant_type': 'authorization_code',
'client_id': 'tennis-tv-web',
'redirect_uri': 'https://www.tennistv.com/resources/v1.1.10/html/silent-check-sso.html'