mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
[mangadex] fix manga extraction (closes #84)
Chapter listings for manga now use https://mangadex.org/manga/<id>/_/chapters/2/ as URL instead of https://mangadex.org/manga/<id>/_//2/
This commit is contained in:
parent
82c50fa609
commit
e2157f594e
@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
# Unreleased
|
||||
- Fixed extraction of `mangadex` manga with more than 100 chapters (#84)
|
||||
|
||||
## 1.3.5 - 2018-05-04
|
||||
- Added support for:
|
||||
- `smugmug` - https://www.smugmug.com/
|
||||
|
@ -91,8 +91,8 @@ class KomikcastMangaExtractor(KomikcastBase, MangaExtractor):
|
||||
"""Extractor for manga from komikcast.com"""
|
||||
pattern = [r"(?:https?://)?(?:www\.)?(komikcast\.com/[^/?&#]+/?)$"]
|
||||
test = [("https://komikcast.com/tonari-no-kashiwagi-san/", {
|
||||
"url": "ae862f22eb17fa97adf49222377ebe4412719771",
|
||||
"keyword": "cd1ec571feacbc32e3b72c437d2e93e6b825be60",
|
||||
"url": "c3c7a9233904d1c9e12dbb20911934af4b255ff8",
|
||||
"keyword": "a4c7c24c87df41ff1d11da21e65df13d3a912691",
|
||||
})]
|
||||
|
||||
def chapters(self, page):
|
||||
|
@ -116,6 +116,9 @@ class MangadexMangaExtractor(MangadexExtractor, MangaExtractor):
|
||||
"language": str,
|
||||
},
|
||||
}),
|
||||
("https://mangadex.org/manga/13318/dagashi-kashi/chapters/2/", {
|
||||
"count": ">= 100",
|
||||
}),
|
||||
]
|
||||
scheme = "https"
|
||||
per_page = 100
|
||||
@ -166,4 +169,4 @@ class MangadexMangaExtractor(MangadexExtractor, MangaExtractor):
|
||||
return results
|
||||
|
||||
num += 1
|
||||
page = self.request("{}/_/{}/".format(self.url, num)).text
|
||||
page = self.request("{}/_/chapters/{}/".format(self.url, num)).text
|
||||
|
@ -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.3.5"
|
||||
__version__ = "1.3.6-dev"
|
||||
|
@ -21,6 +21,7 @@ TRAVIS_SKIP = {
|
||||
|
||||
# temporary issues, etc.
|
||||
BROKEN = {
|
||||
"pixiv", # API requests sometimes fail
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user