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

Method posts

gallery_dl/extractor/agnph.py:105–108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

103 example = "https://agn.ph/gallery/post/show/12345/"
104
105 def posts(self):
106 url = f"{self.root}/gallery/post/show/{self.groups[0]}/?api=xml"
107 post = self.request_xml(url)
108 return (self._xml_to_dict(post),)

Callers

nothing calls this directly

Calls 2

request_xmlMethod · 0.80
_xml_to_dictMethod · 0.80

Tested by

no test coverage detected