Skip to content

Commit

Permalink
Add MrLuckyRAW to Spizoo
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondpete committed Oct 18, 2023
1 parent 329902b commit 925f8ca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Contents/Code/PAsiteList.py
Original file line number Diff line number Diff line change
Expand Up @@ -1848,6 +1848,7 @@
1754: ('MilfAF', 'https://www.milfaf.com', '/models/'),
1755: ('Shady Spa', 'https://www.shadyspa.com', '/models/'),
1756: ('Breed Me', 'https://www.breedme.com', '/models/'),
1757: ('MrLuckyRAW', 'https://www.mrluckyraw.com', '/search.php?query='),
}

abbreviations = (
Expand Down Expand Up @@ -2318,7 +2319,7 @@ def getProviderFromSiteNum(siteNum):
provider = network1service

# Spizoo
elif siteNum == 293 or (571 <= siteNum <= 577) or (1374 <= siteNum <= 1375):
elif siteNum == 293 or (571 <= siteNum <= 577) or (1374 <= siteNum <= 1375) or siteNum == 1757:
provider = siteSpizoo

# Private
Expand Down
11 changes: 5 additions & 6 deletions Contents/Code/siteSpizoo.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ def update(metadata, lang, siteNum, movieGenres, movieActors, art):
try:
tagline = detailsPageElements.xpath('//i[@id="site"]/@value')[0].strip()
except:
if 'rawattack' in sceneURL:
tagline = 'Raw Attack'
else:
tagline = 'Spizoo'
if 'Spizoo' not in PAsearchSites.getSearchSiteName(siteNum):
tagline = PAsearchSites.getSearchSiteName(siteNum)
metadata.tagline = tagline
metadata.collections.add(tagline)

Expand Down Expand Up @@ -104,7 +102,8 @@ def update(metadata, lang, siteNum, movieGenres, movieActors, art):

# Posters
xpaths = [
'//section[@id="photos-tour"]//img[contains(@class, "update_thumb thumbs")]/@src'
'//section[@id="photos-tour"]//img[contains(@class, "update_thumb thumbs")]/@src',
'//div[@class="content-block-video"]//img/@alt'
]

for xpath in xpaths:
Expand Down Expand Up @@ -141,5 +140,5 @@ def update(metadata, lang, siteNum, movieGenres, movieActors, art):

xPathDB = {
('293', '571', '572', '573', '574', '575', '576', '1374'): ['.//div[./h4[contains(., "date")]]/text()'],
'577': ['.//div[./h4[contains(., "date")]]/p/text()']
('577', '1757'): ['.//div[./h4[contains(., "date")]]/p/text()']
}
1 change: 1 addition & 0 deletions docs/sitelist.md
Original file line number Diff line number Diff line change
Expand Up @@ -1297,6 +1297,7 @@ If you're having difficulty finding the SceneID, double-check [PAsiteList.py](..
- IntimateLesbians
- JessicaJaymesXXX
- MrLuckyPOV
- MrLuckyRAW
- PornGoesPro
- PornstarTease
- RawAttack
Expand Down

0 comments on commit 925f8ca

Please sign in to comment.