This commit is contained in:
Christoph Califice
2025-10-09 20:05:31 -03:00
parent ed22ef22bc
commit 0a5f88d75a
1442 changed files with 101562 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
name: TransModelDatabase
performerByName:
action: scrapeXPath
queryURL: "https://transmodeldatabase.com/?s={}"
scraper: performerSearch
performerByURL:
- action: scrapeXPath
url:
- transmodeldatabase.com/model
scraper: performerScraper
xPathScrapers:
performerSearch:
common:
$listAnchor: //article[@class="tease tease-model"]/a
performer:
Name: $listAnchor/@title
URL: $listAnchor/@href
performerScraper:
common:
$infoPiece: //div[@class="stats"]/table/tbody
performer:
Name:
selector: //span[@itemprop="name"]/@title
postProcess:
- replace:
- regex: "-"
with: " "
Aliases: $infoPiece/tr/td[text()="Other names"]/following-sibling::td
Birthdate:
selector: $infoPiece/tr/td[text()="Birthday"]/following-sibling::td
postProcess:
- parseDate: 2 January, 2006
Country:
selector: $infoPiece/tr/td[text()="birthplace"]/following-sibling::td
postProcess:
- replace:
- regex: .+,\s+([^,]+)$
with: $1
EyeColor: $infoPiece/tr/td[text()="Eye color"]/following-sibling::td
HairColor: $infoPiece/tr/td[text()="Hair color"]/following-sibling::td
Ethnicity: $infoPiece/tr/td[text()="ethnicity"]/following-sibling::td
Height:
selector: $infoPiece/tr/td[text()="Height"]/following-sibling::td
postProcess:
- replace:
- regex: '^(\d*).*'
with: $1
Image: //div[@class="image"]/img/@src
Piercings: $infoPiece/tr/td[text()="Piercing"]/following-sibling::td
Tattoos: $infoPiece/tr/td[text()="Tattoos"]/following-sibling::td
Measurements: $infoPiece/tr/td[text()="Measurements"]/following-sibling::td
URL: //span[@itemprop="name"]/@href
# Last Updated October 12, 2022