A feature-rich command-line audio/video downloader
[theplatform] fix pid extraction in the platform feed
remitamine3dc71d82ce62
diff --git a/youtube_dl/extractor/theplatform.py b/youtube_dl/extractor/theplatform.pyindex 10f2cad551..f2e975ab0d 100644--- a/youtube_dl/extractor/theplatform.py+++ b/youtube_dl/extractor/theplatform.py@@ -284,7 +284,7 @@ class ThePlatformFeedIE(ThePlatformBaseIE):duration = Nonefor item in entry['media$content']:smil_url = item['plfile$url'] + '&format=SMIL&Tracking=true&Embedded=true&formats=MPEG4,F4M'- cur_video_id = url_basename(smil_url)+ cur_video_id = ThePlatformIE._match_id(smil_url)if first_video_id is None:first_video_id = cur_video_idduration = float_or_none(item.get('plfile$duration'))