name: PornDudeCasting
performerByURL:
  - action: scrapeXPath
    url:
      - porndudecasting.com/casting/
      - porndudecasting.com/models/
    scraper: performerScraper
sceneByURL:
  - action: scrapeXPath
    url:
      - porndudecasting.com/casting/
      - porndudecasting.com/models/
    scraper: sceneScraper
xPathScrapers:
  performerScraper:
    common:
      $sSpan: following-sibling::span/text()
      $mHead: //div[@class='model__head desctop']
      $mInfo: //ul[@class='model__info-list desctop']/li
    performer:
      Name: &pName //div[@class="model__head-name"]/text()
      Gender:
        fixed: "Female"
      URL: &pURL //head/meta[@property="og:url"]/@content
      Twitter:
        selector: $mHead//a[@class='card__user-social-link twitter']/@href
        postProcess:
          - replace:
              - regex: ([\s\S]+)twitter.com/
                with: ""
      Instagram:
        selector: $mHead//a[@class='card__user-social-link instagram']/@href
        postProcess:
          - replace:
              - regex: ([\s\S]+)instagram.com/
                with: ""
      Country:
        fixed: "United States of America"
      Height:
        selector: $mInfo/span[text()='Height:']/$sSpan
        postProcess:
          - replace:
              - regex: \d'\D\d+\D+
                with: ""
              - regex: \D
                with: ""
      Image:
        selector: //div[@class="model__img-box small"]/img/@data-src
      Details: //div[@class='model-desc']/text()
      Weight:
        selector: $mInfo/span[text()='Weight:']/$sSpan
        postProcess:
          - replace:
              - regex: \d+\Dlbs\D+
                with: ""
              - regex: \D
                with: ""
  sceneScraper:
    scene:
      Code:
        selector: /html/head/meta[@name='twitter:player']/@content
        postProcess:
          - replace:
              - regex: ^.+\/embed\/
                with: ""
      Title: //h1
      Performers:
        Name: *pName
        URL: *pURL
      Details:
        selector: //span[@class="desc icon"]/div/text()
        concat: "\n"
      Tags:
        Name: //div[contains(@class, 'video__tools-info')]/div[contains(@class, 'btn--small')]/text()
      Image:
        selector: //meta[@property="og:image"]/@content
        postProcess:
          - replace:
              - regex: 720p
                with: 2160p
      Studio:
        Name:
          fixed: "Porn Dude Casting"
      Date:
        selector: /html/head/meta[@property='article:published_time']/@content
        postProcess:
          - replace:
              - regex: \s(\d\d:){2}\d\d
                with: ""
          - parseDate: 2006-01-02
# Last Updated April 01, 2024
