projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[spike] fix Bellator mgid extraction(closes #25195)
[youtube-dl]
/
youtube_dl
/
extractor
/
mediaset.py
diff --git
a/youtube_dl/extractor/mediaset.py
b/youtube_dl/extractor/mediaset.py
index 027a790b8b182541dd8b592b183b0dbaff505322..933df14952d5cc16857485e306be07f2d32384d3 100644
(file)
--- 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,
from .theplatform import ThePlatformBaseIE
from ..compat import (
compat_parse_qs,
- compat_str,
compat_urllib_parse_urlparse,
)
from ..utils import (
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')
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)
program_guid = _program_guid(_qs(embed_url))
if program_guid:
entries.append(embed_url)