[theplatform] remove unused import and change smil url for ThePlatformFeedIE

This commit is contained in:
remitamine 2016-02-11 18:50:14 +01:00
parent fc3810f6d1
commit a7cab4d039
1 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ from ..utils import (
int_or_none, int_or_none,
sanitized_Request, sanitized_Request,
unsmuggle_url, unsmuggle_url,
url_basename,
xpath_with_ns, xpath_with_ns,
) )
@ -283,7 +282,7 @@ class ThePlatformFeedIE(ThePlatformBaseIE):
first_video_id = None first_video_id = None
duration = None duration = None
for item in entry['media$content']: 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) cur_video_id = ThePlatformIE._match_id(smil_url)
if first_video_id is None: if first_video_id is None:
first_video_id = cur_video_id first_video_id = cur_video_id