MCPcopy
hub / github.com/mikf/gallery-dl / images

Method images

gallery_dl/extractor/manganelo.py:72–83  ·  view source on GitHub ↗
(self, page)

Source from the content-addressed store, hash-verified

70 return data
71
72 def images(self, page):
73 extr = text.extract_from(page)
74 cdns = util.json_loads(extr("var cdns =", ";"))[0]
75 imgs = util.json_loads(extr("var chapterImages =", ";"))
76
77 if cdns[-1] != "/":
78 cdns += "/"
79
80 return [
81 (cdns + path, None)
82 for path in imgs
83 ]
84
85
86class ManganeloMangaExtractor(ManganeloExtractor, MangaExtractor):

Callers

nothing calls this directly

Calls 1

extrFunction · 0.85

Tested by

no test coverage detected