[hentainexus] reduce line length (flake8) & update test
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
## 1.13.3 - 2020-03-28
|
## 1.13.3 - 2020-03-28
|
||||||
### Additions
|
### Additions
|
||||||
- [instagram] Add support for user's saved medias ([#644](https://github.com/mikf/gallery-dl/issues/644))
|
- [instagram] Add support for user's saved medias ([#644](https://github.com/mikf/gallery-dl/issues/644))
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- 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
|
# 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
|
# it under the terms of the GNU General Public License version 2 as
|
||||||
@@ -22,7 +22,7 @@ class HentainexusGalleryExtractor(GalleryExtractor):
|
|||||||
test = (
|
test = (
|
||||||
("https://hentainexus.com/view/5688", {
|
("https://hentainexus.com/view/5688", {
|
||||||
"url": "746d0043e20030f1171aae5ea113176607302517",
|
"url": "746d0043e20030f1171aae5ea113176607302517",
|
||||||
"keyword": "77702b42f8f76ecfe5d8a14cfbbcbd855eb14d7f",
|
"keyword": "5e5bb4b1553b1c6e126b198f9ae017a1a5d0a5ad",
|
||||||
}),
|
}),
|
||||||
("https://hentainexus.com/read/5688"),
|
("https://hentainexus.com/read/5688"),
|
||||||
)
|
)
|
||||||
@@ -53,7 +53,13 @@ class HentainexusGalleryExtractor(GalleryExtractor):
|
|||||||
data["lang"] = util.language_to_code(data["language"])
|
data["lang"] = util.language_to_code(data["language"])
|
||||||
data["type"] = "Doujinshi" if 'doujin' in data["tags"] else "Manga"
|
data["type"] = "Doujinshi" if 'doujin' in data["tags"] else "Manga"
|
||||||
data["title_conventional"] = self.join_title(
|
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
|
return data
|
||||||
|
|
||||||
|
|||||||
@@ -6,4 +6,4 @@
|
|||||||
# it under the terms of the GNU General Public License version 2 as
|
# it under the terms of the GNU General Public License version 2 as
|
||||||
# published by the Free Software Foundation.
|
# published by the Free Software Foundation.
|
||||||
|
|
||||||
__version__ = "1.13.3"
|
__version__ = "1.13.4-dev"
|
||||||
|
|||||||
Reference in New Issue
Block a user