1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-23 03:02:50 +01:00

[adultempire] consistent artist order

This commit is contained in:
Mike Fährmann 2019-08-03 21:54:15 +02:00
parent 2df050e627
commit 1ff4c4ec03
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -21,12 +21,12 @@ class AdultempireGalleryExtractor(GalleryExtractor):
test = ( test = (
("https://www.adultempire.com/5998/gallery.html", { ("https://www.adultempire.com/5998/gallery.html", {
"range": "1", "range": "1",
"keyword": "0533ef1184892be8ac02b17286797c95f389ba63", "keyword": "25c8171f5623678491a0d7bdf38a7a6ebfa4a361",
"content": "5c6beb31e5e3cdc90ee5910d5c30f9aaec977b9e", "content": "5c6beb31e5e3cdc90ee5910d5c30f9aaec977b9e",
}), }),
("https://www.adultdvdempire.com/5683/gallery.html", { ("https://www.adultdvdempire.com/5683/gallery.html", {
"url": "b12cd1a65cae8019d837505adb4d6a2c1ed4d70d", "url": "b12cd1a65cae8019d837505adb4d6a2c1ed4d70d",
"keyword": "59fe5d95929efc5040a819a5f77aba7a022bb85a", "keyword": "0fe9a6e3f0a331b95ba77f66a643705ca86e8ec5",
}), }),
) )
@ -42,8 +42,8 @@ class AdultempireGalleryExtractor(GalleryExtractor):
"studio" : extr(">studio</small>", "<").strip(), "studio" : extr(">studio</small>", "<").strip(),
"date" : text.parse_datetime(extr( "date" : text.parse_datetime(extr(
">released</small>", "<").strip(), "%m/%d/%Y"), ">released</small>", "<").strip(), "%m/%d/%Y"),
"actors" : text.split_html(extr( "actors" : sorted(text.split_html(extr(
'<ul class="item-details item-cast-list ', '</ul>'))[1:], '<ul class="item-details item-cast-list ', '</ul>'))[1:]),
} }
def images(self, page): def images(self, page):