Add support for multi channels

This commit is contained in:
cc1234
2024-02-13 18:34:04 +00:00
parent 139ff3f6ab
commit 32472d7d6c

View File

@@ -77,6 +77,7 @@ class PornpicsGalleryExtractor(PornpicsExtractor, GalleryExtractor):
"slug" : extr("/galleries/", "/").rpartition("-")[0],
"title" : text.unescape(extr("<h1>", "<")),
"channel" : extr('>Channel:', '</a>').rpartition(">")[2],
"channels" : text.split_html(extr(">Channel:&nbsp;", '</div>')),
"models" : text.split_html(extr(
">Models:", '<span class="suggest')),
"categories": text.split_html(extr(