Skip to content

Commit

Permalink
Fix Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondpete committed Sep 22, 2023
1 parent 453b47d commit b3ed715
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Contents/Code/siteBoxTruckSex.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def search(results, lang, siteNum, searchData):
searchData.encoded = searchData.title.replace(' ', '+').replace('--', '+').lower()
req = PAutils.HTTPRequest(PAsearchSites.getSearchSearchURL(siteNum) + searchData.encoded)
searchResults = HTML.ElementFromString(req.text)

for searchResult in searchResults.xpath('//ul[@class="slides"]/li'):
titleNoFormatting = PAutils.parseTitle(searchResult.xpath('.//h5')[0].text_content().strip(), siteNum)
sceneURL = searchResult.xpath('.//@href')[0]
Expand Down
1 change: 0 additions & 1 deletion Contents/Code/siteVIPissy.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def update(metadata, lang, siteNum, movieGenres, movieCastCrew, art):
req = PAutils.HTTPRequest(sceneURL)
detailsPageElements = HTML.ElementFromString(req.text)


# Title
metadata.title = detailsPageElements.xpath('//section[@class="downloads"]/strong')[0].text_content().strip()

Expand Down
2 changes: 0 additions & 2 deletions Contents/Code/siteXSinsVR.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ def search(results, lang, siteNum, searchData):
req = PAutils.HTTPRequest(url)
searchResults = HTML.ElementFromString(req.text)


for searchResult in searchResults.xpath('//div[@class="tn-video tn-video--horizontal"]'):
titleNoFormatting = searchResult.xpath('.//div/a[@class="tn-video-name"]')[0].text_content().strip()
sceneURL = searchResult.xpath('.//a[@class="tn-video-media"]')[0].get('href')
Expand All @@ -26,7 +25,6 @@ def search(results, lang, siteNum, searchData):
return results



def update(metadata, lang, siteNum, movieGenres, movieCastCrew, art):
metadata_id = str(metadata.id).split('|')
sceneURL = PAutils.Decode(metadata_id[0])
Expand Down
6 changes: 3 additions & 3 deletions Contents/Code/siteXart.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,15 +332,15 @@ def update(metadata, lang, siteNum, movieGenres, movieCastCrew, art):
'curID': '/videos/black_&_white',
'name': 'Black & White [X-Art]',
},
'Fashion Models':{
'Fashion Models': {
'curID': '/videos/fashion_models',
'name': 'Fashion Models [X-Art]',
},
'Francesca Angelic':{
'Francesca Angelic': {
'curID': '/videos/angelic',
'name': 'Francesca Angelic [X-Art]',
},
'Green Eyes':{
'Green Eyes': {
'curID': '/videos/green_eyes',
'name': 'Green Eyes [X-Art]',
},
Expand Down

0 comments on commit b3ed715

Please sign in to comment.