From 3fc2f269fa884abf9d1a29da47b252036f2d8200 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 7 Aug 2018 12:14:41 +0200 Subject: [PATCH] [behance] filter 'fields' list --- gallery_dl/extractor/behance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery_dl/extractor/behance.py b/gallery_dl/extractor/behance.py index 1666ce78..5a7bcf64 100644 --- a/gallery_dl/extractor/behance.py +++ b/gallery_dl/extractor/behance.py @@ -82,7 +82,7 @@ class BehanceGalleryExtractor(Extractor): "gallery_id": text.parse_int(self.gallery_id), "title": text.unescape(title), "user": ", ".join(users), - "fields": text.split_html(fields), + "fields": [f for f in text.split_html(fields) if f != ", "], "date": text.parse_int(date), "views": text.parse_int(stats[0]), "votes": text.parse_int(stats[1]),