projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8119597
)
[zingmp3:album] Skip broken items
author
Sergey M․
<dstftw@gmail.com>
Sat, 10 Oct 2015 16:09:21 +0000
(22:09 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 10 Oct 2015 16:09:21 +0000
(22:09 +0600)
youtube_dl/extractor/zingmp3.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/zingmp3.py
b/youtube_dl/extractor/zingmp3.py
index 3f46f9049398c5f3af9d7cd8432df760621c4ce4..437eecb6737161c9d730bf9a93eaed1bdb541799 100644
(file)
--- a/
youtube_dl/extractor/zingmp3.py
+++ b/
youtube_dl/extractor/zingmp3.py
@@
-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)