[generic] account for empty strings
This commit is contained in:
parent
4f8ed0968b
commit
0aa4e2a2be
@ -2019,7 +2019,7 @@ class GenericIE(InfoExtractor):
|
|||||||
if not enclosure_nodes:
|
if not enclosure_nodes:
|
||||||
next_url = xpath_text(it, 'link', fatal=False)
|
next_url = xpath_text(it, 'link', fatal=False)
|
||||||
|
|
||||||
if next_url is None:
|
if not next_url:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
entries.append({
|
entries.append({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user