mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[bbc] Fix FutureWarning
This commit is contained in:
parent
6744f36db7
commit
8daeeedc06
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@ def _extract_from_legacy_playlist(self, playlist, playlist_id):
|
|||
continue
|
||||
title = playlist.find('./{%s}title' % self._EMP_PLAYLIST_NS).text
|
||||
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_from_attributes(item):
|
||||
|
|
Loading…
Reference in a new issue