mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-06 05:52:50 -05:00
[bbc] Fix FutureWarning
This commit is contained in:
@ -421,7 +421,7 @@ class BBCCoUkIE(InfoExtractor):
|
|||||||
continue
|
continue
|
||||||
title = playlist.find('./{%s}title' % self._EMP_PLAYLIST_NS).text
|
title = playlist.find('./{%s}title' % self._EMP_PLAYLIST_NS).text
|
||||||
description_el = playlist.find('./{%s}summary' % self._EMP_PLAYLIST_NS)
|
description_el = playlist.find('./{%s}summary' % self._EMP_PLAYLIST_NS)
|
||||||
description = description_el.text if description_el else None
|
description = description_el.text if description_el is not None else None
|
||||||
|
|
||||||
def get_programme_id(item):
|
def get_programme_id(item):
|
||||||
def get_from_attributes(item):
|
def get_from_attributes(item):
|
||||||
|
Reference in New Issue
Block a user