diff --git a/Contents/Code/PAsiteList.py b/Contents/Code/PAsiteList.py index f7235a2b5..7549e5c8e 100644 --- a/Contents/Code/PAsiteList.py +++ b/Contents/Code/PAsiteList.py @@ -191,6 +191,7 @@ import networkPKJMedia import networkBellesa import siteBrandNewAmateurs +import sitePornbox searchSites = { 0: ('BlackedRaw', 'https://www.blackedraw.com', '/graphql'), @@ -1894,6 +1895,7 @@ 1798: ('Plants vs Cunts', 'https://plantsvscunts.com', '/?s='), 1799: ('Brand New Amateurs', 'https://brandnewamateurs.com', '/models'), 1800: ('Hot Wives Cheating', 'https://hotwivescheating.com/', '/MemberSceneSearch?q='), + 1801: ('Pornbox', 'https://www.pornbox.com', '/autocomplete/'), } abbreviations = ( @@ -2087,6 +2089,7 @@ ('^no ', 'NaughtyOffice '), ('^np ', 'NubilesPorn '), ('^nrg ', 'NaughtyRichGirls '), + ('^nrx ', 'Pornbox '), ('^nubc ', 'NubilesCasting '), ('^nubet ', 'NubilesET '), ('^nubilef ', 'NubileFilms '), @@ -3240,4 +3243,8 @@ def getProviderFromSiteNum(siteNum): elif siteNum == 1799: provider = siteBrandNewAmateurs + # Pornbox + elif siteNum == 1801: + provider = sitePornbox + return provider diff --git a/Contents/Code/PAutils.py b/Contents/Code/PAutils.py index a2323c36e..bbe5a48c6 100644 --- a/Contents/Code/PAutils.py +++ b/Contents/Code/PAutils.py @@ -436,6 +436,29 @@ def preParseTitle(input): return output +def cleanSummary(summary): + replace = [(r'“', '\"'), (r'”', '\"'), (r'’', '\''), (r'W/', 'w/'), (r'A\.\sJ\.', 'A.J.'), (r'T\.\sJ\.', 'T.J.'), (r'(? 50 and x % 10 == 0: + art.append(detailsPageElements['screenshots'][x]['xga_size']) + elif len(detailsPageElements['screenshots']) <= 50: + art.append(detailsPageElements['screenshots'][x]['xga_size']) + + Log('Artwork found: %d' % len(art)) + for idx, posterUrl in enumerate(art, 1): + if not PAsearchSites.posterAlreadyExists(posterUrl, metadata): + # Download image file for analysis + try: + image = PAutils.HTTPRequest(posterUrl) + im = StringIO(image.content) + resized_image = Image.open(im) + width, height = resized_image.size + # Add the image proxy items to the collection + if width > 1: + # Item is a poster + metadata.posters[posterUrl] = Proxy.Media(image.content, sort_order=idx) + if width > 100: + # Item is an art item + metadata.art[posterUrl] = Proxy.Media(image.content, sort_order=idx) + except: + pass + + return metadata diff --git a/docs/sitelist.md b/docs/sitelist.md index c12fff6b9..0752e41a2 100644 --- a/docs/sitelist.md +++ b/docs/sitelist.md @@ -63,6 +63,7 @@ If you're having difficulty finding the SceneID, double-check [PAsiteList.py](.. - Forbidden Fruits Films - Horny Household - Hot Wife Fun + - Hot Wives Cheating - JaysPOV - Joanna Angel - Jodi West @@ -1048,6 +1049,7 @@ If you're having difficulty finding the SceneID, double-check [PAsiteList.py](.. - SlutsAroundTown + #### Playboy Plus | ✅ + #### PlumperPass | ✅ ++ #### Pornbox | ✅ + #### PornCZ | ✓ - **Title or Actor** - Amateri Premium - Amateur From Bohemia