youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 91dcde8a381d1c442e5b56fa1d3652fdd3f4496d
parent 11f3471c4be16d0f848c72a4b4915f5f81d4f337
Author: Remita Amine <remitamine@gmail.com>
Date:   Mon, 16 Nov 2020 21:27:51 +0100

[lrt] fix extraction with empty tags(closes #20264)

Diffstat:
Myoutube_dl/extractor/lrt.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/lrt.py b/youtube_dl/extractor/lrt.py @@ -61,7 +61,7 @@ class LRTIE(InfoExtractor): json_ld_data = self._search_json_ld(webpage, video_id) tags = [] - for tag in media.get('tags', []): + for tag in (media.get('tags') or []): tag_name = tag.get('name') if not tag_name: continue