mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-08-18 05:11:06 +02:00
[theplatform] remove unused import and change smil url for ThePlatformFeedIE
This commit is contained in:
parent
fc3810f6d1
commit
a7cab4d039
@ -20,7 +20,6 @@
|
||||
int_or_none,
|
||||
sanitized_Request,
|
||||
unsmuggle_url,
|
||||
url_basename,
|
||||
xpath_with_ns,
|
||||
)
|
||||
|
||||
@ -283,7 +282,7 @@ def _real_extract(self, url):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user