Browse Source

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

totalwebcasting
Sergey M․ 9 years ago
parent
commit
5d6c3d6a66
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/ruutu.py

+ 2
- 1
youtube_dl/extractor/ruutu.py View File

@ -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)


Loading…
Cancel
Save