[hentainexus] reduce line length (flake8) & update test

pull/726/head
Mike Fährmann 5 years ago
parent 6f81cac8fa
commit fe96f99e4b
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -1,5 +1,7 @@
# Changelog
## Unreleased
## 1.13.3 - 2020-03-28
### Additions
- [instagram] Add support for user's saved medias ([#644](https://github.com/mikf/gallery-dl/issues/644))

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2019 Mike Fährmann
# Copyright 2019-2020 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@ -22,7 +22,7 @@ class HentainexusGalleryExtractor(GalleryExtractor):
test = (
("https://hentainexus.com/view/5688", {
"url": "746d0043e20030f1171aae5ea113176607302517",
"keyword": "77702b42f8f76ecfe5d8a14cfbbcbd855eb14d7f",
"keyword": "5e5bb4b1553b1c6e126b198f9ae017a1a5d0a5ad",
}),
("https://hentainexus.com/read/5688"),
)
@ -53,7 +53,13 @@ class HentainexusGalleryExtractor(GalleryExtractor):
data["lang"] = util.language_to_code(data["language"])
data["type"] = "Doujinshi" if 'doujin' in data["tags"] else "Manga"
data["title_conventional"] = self.join_title(
data["event"], data["circle"], data["artist"], data["title"], data["parody"], data["book"], data["magazine"]
data["event"],
data["circle"],
data["artist"],
data["title"],
data["parody"],
data["book"],
data["magazine"],
)
return data

@ -6,4 +6,4 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
__version__ = "1.13.3"
__version__ = "1.13.4-dev"

Loading…
Cancel
Save