aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/mediasite.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/mediasite.py')
-rw-r--r--youtube_dl/extractor/mediasite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mediasite.py b/youtube_dl/extractor/mediasite.py
index 694a264d6..d6eb15740 100644
--- a/youtube_dl/extractor/mediasite.py
+++ b/youtube_dl/extractor/mediasite.py
@@ -129,7 +129,7 @@ class MediasiteIE(InfoExtractor):
query = mobj.group('query')
webpage, urlh = self._download_webpage_handle(url, resource_id) # XXX: add UrlReferrer?
- redirect_url = compat_str(urlh.geturl())
+ redirect_url = urlh.geturl()
# XXX: might have also extracted UrlReferrer and QueryString from the html
service_path = compat_urlparse.urljoin(redirect_url, self._html_search_regex(