[okporn] add support (#8575)

* Add support for ok.porn
* update
    - adjust pattern/example/page_url
    - prevent unnecessary request
    - extract 'tags'
    - text.extract -> text.extr
    - return list comprehension result
* update supportedsites name
* update test results

---------

Co-authored-by: Mike Fährmann <mike_faehrmann@web.de>
This commit is contained in:
MyFinalBellyache
2025-11-19 19:49:13 +05:00
committed by GitHub
parent 157a37b053
commit cc7003a14c
5 changed files with 94 additions and 0 deletions

47
test/results/okporn.py Normal file
View File

@@ -0,0 +1,47 @@
# -*- coding: utf-8 -*-
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
from gallery_dl.extractor import okporn
__tests__ = (
{
"#url" : "https://ok.porn/albums/66141/",
"#class" : okporn.OkpornGalleryExtractor,
"#pattern" : r"https://pics\-storage\-1\.ok\.porn/contents/albums/main/1920x1080/66000/66141/\d+\.jpg",
"#count" : 100,
"count" : 100,
"num" : range(1, 100),
"description": "When Tommy Wood catches his stepmom Slimthick Vic parading her juicy ass in a thong, he takes a few pictures to show his dad. Vic begs him not to tell him but Tommy says the only way hell delete the pictures is if she gives him some naughty TLC.",
"extension" : "jpg",
"filename" : r"re:^\d+$",
"gallery_id" : 66141,
"title" : "Stepmom Likes To Flaunt It",
"tags" : [
"milf",
"big tits",
"blowjob",
"oral",
"blonde",
"doggystyle",
"cowgirl",
"big cock",
"big ass",
"missionary",
"natural tits",
"side fuck",
"short hair",
"long legs",
"curvy",
"straight hair",
"perfect body",
"bedroom",
"Slimthick Vic",
],
},
)