stash
This commit is contained in:
74
stash/config/scrapers/community/RealityKings/RealityKings.py
Normal file
74
stash/config/scrapers/community/RealityKings/RealityKings.py
Normal file
@@ -0,0 +1,74 @@
|
||||
import json
|
||||
import sys
|
||||
from typing import Any
|
||||
from py_common import log
|
||||
from py_common.util import dig, replace_all, replace_at
|
||||
from AyloAPI.scrape import (
|
||||
gallery_from_url,
|
||||
scraper_args,
|
||||
scene_from_url,
|
||||
scene_search,
|
||||
scene_from_fragment,
|
||||
performer_from_url,
|
||||
performer_from_fragment,
|
||||
performer_search,
|
||||
movie_from_url,
|
||||
)
|
||||
|
||||
studio_map = {
|
||||
"rks": "RK Shorts",
|
||||
}
|
||||
|
||||
|
||||
def rk(obj: Any, _) -> Any:
|
||||
# Rename certain studios according to the map
|
||||
fixed = replace_at(
|
||||
obj, "studio", "name", replacement=lambda x: studio_map.get(x, x)
|
||||
)
|
||||
|
||||
domain = None
|
||||
match dig(fixed, "studio", "name"):
|
||||
case "Look At Her Now":
|
||||
domain = "lookathernow.com"
|
||||
case _:
|
||||
domain = "realitykings.com"
|
||||
|
||||
fixed = replace_all(
|
||||
fixed,
|
||||
"url",
|
||||
lambda x: x.replace("realitykings.com", domain),
|
||||
)
|
||||
|
||||
return fixed
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
domains = [
|
||||
"realitykings",
|
||||
"lookathernow",
|
||||
]
|
||||
op, args = scraper_args()
|
||||
result = None
|
||||
|
||||
match op, args:
|
||||
case "gallery-by-url" | "gallery-by-fragment", {"url": url} if url:
|
||||
result = gallery_from_url(url, postprocess=rk)
|
||||
case "scene-by-url", {"url": url} if url:
|
||||
result = scene_from_url(url, postprocess=rk)
|
||||
case "scene-by-name", {"name": name} if name:
|
||||
result = scene_search(name, search_domains=domains, postprocess=rk)
|
||||
case "scene-by-fragment" | "scene-by-query-fragment", args:
|
||||
result = scene_from_fragment(args, search_domains=domains, postprocess=rk)
|
||||
case "performer-by-url", {"url": url}:
|
||||
result = performer_from_url(url, postprocess=rk)
|
||||
case "performer-by-fragment", args:
|
||||
result = performer_from_fragment(args)
|
||||
case "performer-by-name", {"name": name} if name:
|
||||
result = performer_search(name, search_domains=domains, postprocess=rk)
|
||||
case "movie-by-url", {"url": url} if url:
|
||||
result = movie_from_url(url, postprocess=rk)
|
||||
case _:
|
||||
log.error(f"Operation: {op}, arguments: {json.dumps(args)}")
|
||||
sys.exit(1)
|
||||
|
||||
print(json.dumps(result))
|
||||
185
stash/config/scrapers/community/RealityKings/RealityKings.yml
Normal file
185
stash/config/scrapers/community/RealityKings/RealityKings.yml
Normal file
@@ -0,0 +1,185 @@
|
||||
name: Reality Kings
|
||||
# requires: py_common, AyloAPI
|
||||
# scrapes: 40 Inch Plus, 8th Street Latinas, Bad Tow Truck, Big Naturals, Big Tits Boss, Captain Stabbin, CFNM Secret, Crazy Asian GFs, Crazy College GFs, Cum Fiesta, Dare Dorm, Euro Sex Parties, Extreme Asses, Extreme Naturals, First Time Auditions, GF Leaks, Girls of Naked, Happy Tugs, HD Love, Horny Birds, Hot Bush, Hot Girls Game, In the VIP, Lil Humpers, Look At Her Now, Mike in Brazil, Mike's Apartment, Milf Hunter, Milf Next Door, Moms Bang Teens, Moms Lick Teens, Money Talks, Monster Curves, No Faces, Pure 18, Reckless in Miami, RK Prime, RK Shorts, See My Wife, Sneaky Sex, Street BlowJobs, Teens Love Huge Cocks, We Live Together, Wives in Pantyhose, Work Me Harder
|
||||
galleryByURL:
|
||||
- action: script
|
||||
url: &sceneUrls
|
||||
- 8thstreetlatinas.com/scene/
|
||||
- bignaturals.com/scene/
|
||||
- cumfiesta.com/scene/
|
||||
- daredorm.com/scene/
|
||||
- eurosexparties.com/scene/
|
||||
- gfleaks.com/scene/
|
||||
- happytugs.com/scene/
|
||||
- hdlove.com/scene/
|
||||
- hornybirds.com/scene/
|
||||
- hotgirlsgame.com/scene/
|
||||
- lilhumpers.com/scene/
|
||||
- lookathernow.com/scene/
|
||||
- mikeinbrazil.com/scene/
|
||||
- mikesapartment.com/scene/
|
||||
- milfhunter.com/scene/
|
||||
- momsbangteens.com/scene/
|
||||
- momslickteens.com/scene/
|
||||
- moneytalks.com/scene/
|
||||
- monstercurves.com/scene/
|
||||
- pure18.com/scene/
|
||||
- realitykings.com/scene/
|
||||
- realitykingsnetwork.com/scene/
|
||||
- recklessinmiami.com/scene/
|
||||
- rk.com/scene/
|
||||
- rkprime.com/scene/
|
||||
- sneakysex.com/scene/
|
||||
- teenslovehugecocks.com/scene/
|
||||
- welivetogether.com/scene/
|
||||
- workmeharder.com/scene/
|
||||
script:
|
||||
- python
|
||||
- RealityKings.py
|
||||
- gallery-by-url
|
||||
galleryByFragment:
|
||||
action: script
|
||||
script:
|
||||
- python
|
||||
- RealityKings.py
|
||||
- gallery-by-fragment
|
||||
sceneByURL:
|
||||
- action: script
|
||||
url: *sceneUrls
|
||||
script:
|
||||
- python
|
||||
- RealityKings.py
|
||||
- scene-by-url
|
||||
sceneByFragment:
|
||||
action: script
|
||||
script:
|
||||
- python
|
||||
- RealityKings.py
|
||||
- scene-by-fragment
|
||||
sceneByName:
|
||||
action: script
|
||||
script:
|
||||
- python
|
||||
- RealityKings.py
|
||||
- scene-by-name
|
||||
sceneByQueryFragment:
|
||||
action: script
|
||||
script:
|
||||
- python
|
||||
- RealityKings.py
|
||||
- scene-by-query-fragment
|
||||
performerByName:
|
||||
action: script
|
||||
script:
|
||||
- python
|
||||
- RealityKings.py
|
||||
- performer-by-name
|
||||
performerByURL:
|
||||
- action: script
|
||||
url:
|
||||
- 8thstreetlatinas.com/model/
|
||||
- bignaturals.com/model/
|
||||
- cumfiesta.com/model/
|
||||
- daredorm.com/model/
|
||||
- eurosexparties.com/model/
|
||||
- gfleaks.com/model/
|
||||
- happytugs.com/model/
|
||||
- hdlove.com/model/
|
||||
- hornybirds.com/model/
|
||||
- hotgirlsgame.com/model/
|
||||
- lilhumpers.com/model/
|
||||
- lookathernow.com/model/
|
||||
- mikeinbrazil.com/model/
|
||||
- mikesapartment.com/model/
|
||||
- milfhunter.com/model/
|
||||
- momsbangteens.com/model/
|
||||
- momslickteens.com/model/
|
||||
- moneytalks.com/model/
|
||||
- monstercurves.com/model/
|
||||
- pure18.com/model/
|
||||
- realitykings.com/model/
|
||||
- realitykingsnetwork.com/model/
|
||||
- recklessinmiami.com/model/
|
||||
- rk.com/model/
|
||||
- rkprime.com/model/
|
||||
- sneakysex.com/model/
|
||||
- teenslovehugecocks.com/model/
|
||||
- welivetogether.com/model/
|
||||
- workmeharder.com/model/
|
||||
script:
|
||||
- python
|
||||
- RealityKings.py
|
||||
- performer-by-url
|
||||
performerByFragment:
|
||||
action: script
|
||||
script:
|
||||
- python
|
||||
- RealityKings.py
|
||||
- performer-by-fragment
|
||||
movieByURL:
|
||||
- action: script
|
||||
url:
|
||||
- 8thstreetlatinas.com/movie/
|
||||
- bignaturals.com/movie/
|
||||
- cumfiesta.com/movie/
|
||||
- daredorm.com/movie/
|
||||
- eurosexparties.com/movie/
|
||||
- gfleaks.com/movie/
|
||||
- happytugs.com/movie/
|
||||
- hdlove.com/movie/
|
||||
- hornybirds.com/movie/
|
||||
- hotgirlsgame.com/movie/
|
||||
- lilhumpers.com/movie/
|
||||
- lookathernow.com/movie/
|
||||
- mikeinbrazil.com/movie/
|
||||
- mikesapartment.com/movie/
|
||||
- milfhunter.com/movie/
|
||||
- momsbangteens.com/movie/
|
||||
- momslickteens.com/movie/
|
||||
- moneytalks.com/movie/
|
||||
- monstercurves.com/movie/
|
||||
- pure18.com/movie/
|
||||
- realitykings.com/movie/
|
||||
- realitykingsnetwork.com/movie/
|
||||
- recklessinmiami.com/movie/
|
||||
- rk.com/movie/
|
||||
- rkprime.com/movie/
|
||||
- sneakysex.com/movie/
|
||||
- teenslovehugecocks.com/movie/
|
||||
- welivetogether.com/movie/
|
||||
- workmeharder.com/movie/
|
||||
# Since scenes link to the movie we can scrape movies from scenes
|
||||
- 8thstreetlatinas.com/scene/
|
||||
- bignaturals.com/scene/
|
||||
- cumfiesta.com/scene/
|
||||
- daredorm.com/scene/
|
||||
- eurosexparties.com/scene/
|
||||
- gfleaks.com/scene/
|
||||
- happytugs.com/scene/
|
||||
- hdlove.com/scene/
|
||||
- hornybirds.com/scene/
|
||||
- hotgirlsgame.com/scene/
|
||||
- lilhumpers.com/scene/
|
||||
- lookathernow.com/scene/
|
||||
- mikeinbrazil.com/scene/
|
||||
- mikesapartment.com/scene/
|
||||
- milfhunter.com/scene/
|
||||
- momsbangteens.com/scene/
|
||||
- momslickteens.com/scene/
|
||||
- moneytalks.com/scene/
|
||||
- monstercurves.com/scene/
|
||||
- pure18.com/scene/
|
||||
- realitykings.com/scene/
|
||||
- realitykingsnetwork.com/scene/
|
||||
- recklessinmiami.com/scene/
|
||||
- rk.com/scene/
|
||||
- rkprime.com/scene/
|
||||
- sneakysex.com/scene/
|
||||
- teenslovehugecocks.com/scene/
|
||||
- welivetogether.com/scene/
|
||||
- workmeharder.com/scene/
|
||||
script:
|
||||
- python
|
||||
- RealityKings.py
|
||||
- movie-by-url
|
||||
# Last Updated January 14, 2024
|
||||
10
stash/config/scrapers/community/RealityKings/manifest
Executable file
10
stash/config/scrapers/community/RealityKings/manifest
Executable file
@@ -0,0 +1,10 @@
|
||||
id: RealityKings
|
||||
name: Reality Kings
|
||||
metadata: {}
|
||||
version: c2abfdf
|
||||
date: "2024-02-03 17:45:33"
|
||||
requires: []
|
||||
source_repository: https://stashapp.github.io/CommunityScrapers/stable/index.yml
|
||||
files:
|
||||
- RealityKings.yml
|
||||
- RealityKings.py
|
||||
Reference in New Issue
Block a user