youtube-dl

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

commit 44773ad125001ee42cba3aaf85d98d40ff840981
parent 5774ef35c4d167f7c959041bf4efc5581a98f0a4
Author: Sergey M <dstftw@gmail.com>
Date:   Mon, 15 Jun 2015 02:38:33 +0500

Merge pull request #5975 from chaoskagami/niconico_qualitynote

Quality note for niconico
Diffstat:
Myoutube_dl/extractor/niconico.py | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/youtube_dl/extractor/niconico.py b/youtube_dl/extractor/niconico.py @@ -184,6 +184,11 @@ class NiconicoIE(InfoExtractor): extension = determine_ext(video_real_url) video_format = extension.upper() + if video_real_url.endswith('low'): + format_note = 'low' + else: + format_note = 'src' + thumbnail = ( xpath_text(video_info, './/thumbnail_url') or self._html_search_meta('image', webpage, 'thumbnail', default=None) or @@ -242,6 +247,7 @@ class NiconicoIE(InfoExtractor): 'title': title, 'ext': extension, 'format': video_format, + 'format_note' : format_note, 'thumbnail': thumbnail, 'description': description, 'uploader': uploader,