aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/mediaset.py
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2020-02-29 19:17:27 +0700
committerSergey M․ <[email protected]>2020-02-29 19:19:24 +0700
commit7947a1f7dbc6ba47a6f22ab67fd330e57c0ef87c (patch)
tree6350972931916e7acfced5b5a9bcd2d53e932849 /youtube_dl/extractor/mediaset.py
parentfca6dba8b80286ae6d3ca0a60c4799c220a52650 (diff)
downloadyoutube-dl-7947a1f7dbc6ba47a6f22ab67fd330e57c0ef87c.tar.gz
youtube-dl-7947a1f7dbc6ba47a6f22ab67fd330e57c0ef87c.zip
Remove no longer needed compat_str around geturl
Diffstat (limited to 'youtube_dl/extractor/mediaset.py')
-rw-r--r--youtube_dl/extractor/mediaset.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/mediaset.py b/youtube_dl/extractor/mediaset.py
index 027a790b8..933df1495 100644
--- a/youtube_dl/extractor/mediaset.py
+++ b/youtube_dl/extractor/mediaset.py
@@ -6,7 +6,6 @@ import re
from .theplatform import ThePlatformBaseIE
from ..compat import (
compat_parse_qs,
- compat_str,
compat_urllib_parse_urlparse,
)
from ..utils import (
@@ -114,7 +113,7 @@ class MediasetIE(ThePlatformBaseIE):
continue
urlh = ie._request_webpage(
embed_url, video_id, note='Following embed URL redirect')
- embed_url = compat_str(urlh.geturl())
+ embed_url = urlh.geturl()
program_guid = _program_guid(_qs(embed_url))
if program_guid:
entries.append(embed_url)