mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 13:52:36 +00:00
[zingmp3:album] Skip broken items
This commit is contained in:
parent
8119597d6f
commit
f790c43f6e
|
@ -45,7 +45,9 @@ def _extract_player_xml(self, player_xml_url, id, playlist_title=None):
|
||||||
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…
Reference in a new issue