Skip to content

Commit

Permalink
[hentainexus] reduce line length (flake8) & update test
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Mar 31, 2020
1 parent 6f81cac commit fe96f99
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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))
Expand Down
12 changes: 9 additions & 3 deletions gallery_dl/extractor/hentainexus.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -22,7 +22,7 @@ class HentainexusGalleryExtractor(GalleryExtractor):
test = (
("https://hentainexus.com/view/5688", {
"url": "746d0043e20030f1171aae5ea113176607302517",
"keyword": "77702b42f8f76ecfe5d8a14cfbbcbd855eb14d7f",
"keyword": "5e5bb4b1553b1c6e126b198f9ae017a1a5d0a5ad",
}),
("https://hentainexus.com/read/5688"),
)
Expand Down Expand Up @@ -53,7 +53,13 @@ def metadata(self, page):
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

Expand Down
2 changes: 1 addition & 1 deletion gallery_dl/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit fe96f99

Please sign in to comment.