projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b85ac3
)
[theplatform] fix pid extraction in the platform feed
author
remitamine
<remitamine@gmail.com>
Thu, 11 Feb 2016 17:12:38 +0000
(18:12 +0100)
committer
remitamine
<remitamine@gmail.com>
Thu, 11 Feb 2016 17:13:03 +0000
(18:13 +0100)
youtube_dl/extractor/theplatform.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/theplatform.py
b/youtube_dl/extractor/theplatform.py
index 10f2cad5518d3f3627119cd09a9a812f986cc83c..f2e975ab0d3e3c4672e16cb0d35214161e097614 100644
(file)
--- 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'))