projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc3810f
)
[theplatform] remove unused import and change smil url for ThePlatformFeedIE
author
remitamine
<remitamine@gmail.com>
Thu, 11 Feb 2016 17:50:14 +0000
(18:50 +0100)
committer
remitamine
<remitamine@gmail.com>
Thu, 11 Feb 2016 17:50:14 +0000
(18:50 +0100)
youtube_dl/extractor/theplatform.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/theplatform.py
b/youtube_dl/extractor/theplatform.py
index f2e975ab0d3e3c4672e16cb0d35214161e097614..755f816fff95bbe3567afe0168936eb6adb53095 100644
(file)
--- 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