aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-02-11 18:12:38 +0100
committerremitamine <remitamine@gmail.com>2016-02-11 18:13:03 +0100
commit3dc71d82ce628d08327a098d8e87af0905d5b59f (patch)
tree6d9ac3ede86062b71ee4dc0aedb27f1e311250dd /youtube_dl
parent8b85ac3fd95dbc3296801036f43c8d2ebfefcb6f (diff)
[theplatform] fix pid extraction in the platform feed
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/theplatform.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/theplatform.py b/youtube_dl/extractor/theplatform.py
index 10f2cad55..f2e975ab0 100644
--- a/youtube_dl/extractor/theplatform.py
+++ b/youtube_dl/extractor/theplatform.py
@@ -284,7 +284,7 @@ class ThePlatformFeedIE(ThePlatformBaseIE):
duration = None
for 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_id
duration = float_or_none(item.get('plfile$duration'))