Browse Source

[zingmp3:album] Skip broken items

totalwebcasting
Sergey M․ 9 years ago
parent
commit
f790c43f6e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      youtube_dl/extractor/zingmp3.py

+ 3
- 1
youtube_dl/extractor/zingmp3.py View File

@ -45,7 +45,9 @@ class ZingMp3BaseInfoExtractor(InfoExtractor):
entries = [] entries = []
for i, item in enumerate(items, 1): for i, item in enumerate(items, 1):
entry = self._extract_item(item)
entry = self._extract_item(item, fatal=False)
if not entry:
continue
entry['id'] = '%s-%d' % (id, i) entry['id'] = '%s-%d' % (id, i)
entries.append(entry) entries.append(entry)


Loading…
Cancel
Save