youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 8dab1e9072037daa9c6cab3da4a5dbd4daaae4c8
parent 963aea5279691affca34d220452cecfd0e291a77
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun,  3 May 2015 09:56:03 +0600

[rutv] Recognize live streams (#5584)

Diffstat:
Myoutube_dl/extractor/rutv.py | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/rutv.py b/youtube_dl/extractor/rutv.py @@ -181,12 +181,15 @@ class RUTVIE(InfoExtractor): self._sort_formats(formats) + is_live = video_type == 'live' + return { 'id': video_id, - 'title': title, + 'title': self._live_title(title) if is_live else title, 'description': description, 'thumbnail': thumbnail, 'view_count': view_count, 'duration': duration, 'formats': formats, + 'is_live': is_live, }