Add performer/scene search to Ashemaletube scraper (#1148)

This commit is contained in:
kozobot 2022-10-07 18:10:55 -04:00 committed by GitHub
parent 826a553ce3
commit dbca26d425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +1,42 @@
name: AShemaleTube
performerByName:
action: scrapeXPath
queryURL: "https://www.ashemaletube.com/models/?modelsearchSubmitCheck=FORM_SENDED&key=models&mode=model-search&searchName={}&submitModelSearch=Search&filterCountry=&filterHair=&filterEthnicity=&filterEyes=&filterPenis=&filterBreast=&mode=model-search"
scraper: performerSearch
performerByURL:
- action: scrapeXPath
url:
- ashemaletube.com/model/
scraper: performerScraper
sceneByName:
action: scrapeXPath
queryURL: "https://www.ashemaletube.com/search/{}/?sort=re"
scraper: sceneSearch
sceneByQueryFragment:
action: scrapeXPath
queryURL: "{url}"
scraper: sceneScraper
sceneByURL:
- action: scrapeXPath
url:
- ashemaletube.com/videos
scraper: sceneScraper
xPathScrapers:
performerSearch:
common:
$listAnchor: //div[@class="models-list"]//div[@class="modelspot modelItem"]/a
performer:
Name:
selector: $listAnchor/@title
URL:
selector: $listAnchor/@href
postProcess:
- replace:
- regex: ^
with: https://www.ashemaletube.com
performerScraper:
common:
$infoPiece: //div[@class="info-box info"]
@ -49,6 +76,21 @@ xPathScrapers:
- regex: ^/
with: https://www.ashemaletube.com/
- subScraper: //link[@rel="alternate"][1]/@href
URL: //link[@rel="canonical"]/@href
sceneSearch:
common:
$scenerow: //div[@id="maincolumn"]/ul/li
scene:
Title: $scenerow//p/a/@title
URL:
selector: $scenerow//p/a/@href
postProcess:
- replace:
- regex: ^
with: https://www.ashemaletube.com
Image: $scenerow/div/span/a/img/@src
sceneScraper:
common:
$infoPiece: //div[@id="item-info"]
@ -77,4 +119,5 @@ xPathScrapers:
- regex: ^/
with: https://www.ashemaletube.com/
Image: //meta[@property="og:image"]/@content
# Last Updated May 08, 2022
URL: //meta[@property="og:url"]/@content
# Last Updated September 29, 2022