youtube-dl

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

commit 5d6c3d6a665ed5de89bb3b056bb051b043400897
parent 1ebb4717dfc67890c66abd4274e201cafda48e79
Author: Sergey M․ <dstftw@gmail.com>
Date:   Fri, 13 Nov 2015 02:41:38 +0600

[ruutu] Skip NOT-USED URLs(Closes #7478)

Diffstat:
Myoutube_dl/extractor/ruutu.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/ruutu.py b/youtube_dl/extractor/ruutu.py @@ -57,7 +57,8 @@ class RuutuIE(InfoExtractor): extract_formats(child) elif child.tag.endswith('File'): video_url = child.text - if not video_url or video_url in processed_urls or 'NOT_USED' in video_url: + if (not video_url or video_url in processed_urls or + any(p in video_url for p in ('NOT_USED', 'NOT-USED'))): return processed_urls.append(video_url) ext = determine_ext(video_url)