1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00

[mangahere] fix and improve chapter extraction

This commit is contained in:
Mike Fährmann 2018-07-09 15:22:17 +02:00
parent 764331823b
commit 6996f5c118
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
4 changed files with 9 additions and 10 deletions

View File

@ -1,12 +1,15 @@
# Changelog
## Unreleased
- Fixed chapter extraction on `mangahere`
## 1.4.2 - 2018-07-06
- Added image-pool extractors for `safebooru` and `rule34`
- Added option for extended tag information on `booru` sites ([#92](https://github.com/mikf/gallery-dl/issues/92))
- Added support for DeviantArt's new URL format
- Added support for `mangapark` mirrors
- Changed `imagefap` extractors to use HTTPS
- Fixed download-skips for files without known extension
- Fixed crash when skipping downloads for files without known extension
## 1.4.1 - 2018-06-22
- Added an `ugoira` post-processor to convert `pixiv` animations to WebM

View File

@ -111,13 +111,9 @@ class MangahereChapterExtractor(MangahereBase, ChapterExtractor):
"""Yield all image-urls for this chapter"""
pnum = 1
while True:
url, pos = text.extract(page, '<img src="', '"')
yield url, None
_ , pos = text.extract(page, '<img src="', '"', pos)
_ , pos = text.extract(page, '<img src="', '"', pos)
url, pos = text.extract(page, '<img src="', '"', pos)
yield url, None
for url in text.extract_iter(page, '<img src="', '"'):
if "/store/manga/" in url:
yield url, None
pnum += 2
page = self.request(self.url_fmt.format(self.part, pnum)).text

View File

@ -36,7 +36,7 @@ class XvideosGalleryExtractor(XvideosExtractor):
(("https://www.xvideos.com/profiles"
"/pervertedcouple/photos/751031/random_stuff"), {
"url": "4f0d992e5dc39def2c3ac8e099d17bf09e76e3c7",
"keyword": "750d462802d56eead0fe06c4f453419396d2f944",
"keyword": "8d637b372c6231cc4ada92dd5918db5fdbd06520",
}),
("https://www.xvideos.com/profiles/pervertedcouple/photos/751032/", {
"exception": exception.NotFoundError,

View File

@ -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.4.2"
__version__ = "1.4.3-dev"