From c265cc074a4937e9097902b4546b895360cca429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Wed, 20 Sep 2017 16:41:39 +0200 Subject: [PATCH] [hbrowse] fix syntax for Python3.3 and 3.4 --- gallery_dl/extractor/hbrowse.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gallery_dl/extractor/hbrowse.py b/gallery_dl/extractor/hbrowse.py index 395deba7..79098061 100644 --- a/gallery_dl/extractor/hbrowse.py +++ b/gallery_dl/extractor/hbrowse.py @@ -54,10 +54,9 @@ class HbrowseMangaExtractor(MangaExtractor, HbrowseExtractor): if not url: return results title, pos = text.extract(page, '>View ', '<', pos) - results.append((url, { - "chapter": int(url.rpartition("/")[2][1:]), - "title": title, **data - })) + data["chapter"] = int(url.rpartition("/")[2][1:]) + data["title"] = title + results.append((url, data.copy())) class HbrowseChapterExtractor(HbrowseExtractor):