name: CockyBoys
sceneByURL:
  - action: scrapeXPath
    url:
      - cockyboys.com/scenes/
    scraper: sceneScraper
performerByURL:
  - action: scrapeXPath
    url:
      - cockyboys.com/models/
    scraper: performerScraper
xPathScrapers:
  sceneScraper:
    scene:
      Title: //meta[@property="og:title"]/@content
      Date:
        selector: //strong[contains(text(),"Released:")]/following-sibling::text()
        postProcess:
          - parseDate: 01/02/2006
      Tags:
        Name: //strong[contains(text(),"Categorized Under:")]/following-sibling::a/text()
      Performers:
        Name: //div[@class="movieModels"]/span/a[@class="name gothamy"]/@title
        URL:
          selector: //div[@class="movieModels"]/span/a[@class="name gothamy"]/@href
          postProcess:
            - replace:
                - regex: ^
                  with: https://cockyboys.com
      Details:
        selector: //div[@class="movieDesc"]/.
        postProcess:
          - replace:
              - regex: Description\s*
                with:
        concat: "\n\n"
      Image:
        selector: //meta[@property="og:image"]/@content
      Studio:
        Name: //meta[@property="og:site_name"]/@content
  performerScraper:
    performer:
      Name: //h1[@class="gothamy sectionTitle"]/text()
      Gender:
        # CockyBoys only has profile pages for male performers
        fixed: Male
      Image: //div[@id="modelInfo"]/img/@src
# Last Updated October 05, 2023
