name: "Colby Knox"
sceneByURL:
  - action: scrapeXPath
    url:
      - colbyknox.com/videos/
    scraper: sceneScraper

xPathScrapers:
  sceneScraper:
    common:
      $performer: //a[contains(@class, "video-model")]
    scene:
      Title: //div[contains(@class, "video")]//h1/text()
      Date:
        selector: //div[contains(@class, "video-frame")]//video/source/@src
        postProcess:
          - replace:
              - regex: .*(\d{4})(\d{2})(\d{2})\d{6}.*
                with: $1-$2-$3
          - parseDate: 2006-01-02
      Performers:
        Name: $performer//h3/text()
        URL: $performer/@href
      Details:
        selector: //div[contains(@class, "video")]//p[contains(@class, "mb-5")]/text()
        concat: "\n\n"
      Image: //div[contains(@class, "video-frame")]//img[contains(@class, "background-img")]/@src
      Studio:
        Name:
          fixed: Colby Knox
# Last Updated September 23, 2023
