0
0
Fork 0

[zingmp3:album] Skip broken items

main
Sergey M․ 2015-10-10 22:09:21 +06:00
parent 8119597d6f
commit f790c43f6e
1 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,9 @@ class ZingMp3BaseInfoExtractor(InfoExtractor):
entries = []
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)
entries.append(entry)