aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-02-11 18:50:14 +0100
committerremitamine <remitamine@gmail.com>2016-02-11 18:50:14 +0100
commita7cab4d03927c90b8db12fda627022996e560c78 (patch)
treea03ade1c80b3f7f5362684cc5d4e244cb18d925d /youtube_dl
parentfc3810f6d19fd61cdc91549dc9544128a1cf20e7 (diff)
[theplatform] remove unused import and change smil url for ThePlatformFeedIE
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/theplatform.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/theplatform.py b/youtube_dl/extractor/theplatform.py
index f2e975ab0..755f816ff 100644
--- a/youtube_dl/extractor/theplatform.py
+++ b/youtube_dl/extractor/theplatform.py
@@ -20,7 +20,6 @@ from ..utils import (
int_or_none,
sanitized_Request,
unsmuggle_url,
- url_basename,
xpath_with_ns,
)
@@ -283,7 +282,7 @@ class ThePlatformFeedIE(ThePlatformBaseIE):
first_video_id = None
duration = None
for item in entry['media$content']:
- smil_url = item['plfile$url'] + '&format=SMIL&Tracking=true&Embedded=true&formats=MPEG4,F4M'
+ smil_url = item['plfile$url'] + '&format=SMIL&mbr=true'
cur_video_id = ThePlatformIE._match_id(smil_url)
if first_video_id is None:
first_video_id = cur_video_id