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

Method metadata

gallery_dl/extractor/ahottie.py:55–62  ·  view source on GitHub ↗
(self, page)

Source from the content-addressed store, hash-verified

53 example = "https://ahottie.top/albums/1234567890"
54
55 def metadata(self, page):
56 extr = text.extract_from(page)
57 return {
58 "gallery_id": self.groups[1],
59 "title": text.unescape(extr("<title>", "<").rpartition(" | ")[0]),
60 "date" : self.parse_datetime_iso(extr('datetime="', '"')),
61 "tags" : text.split_html(extr('<i ', '</div>'))[1:],
62 }
63
64 def images(self, page):
65 data = {

Callers

nothing calls this directly

Calls 1

extrFunction · 0.85

Tested by

no test coverage detected