name: tonightsgirlfriend
sceneByURL:
  - action: scrapeXPath
    url:
      - tonightsgirlfriend.com/scene
    scraper: sceneScraper
xPathScrapers:
  sceneScraper:
    scene:
      Title: //h1
      Details: //p[@class="scene-description"]
      Date:
        selector: //script[contains(text(),"uploadDate")]/text()
        postProcess:
          - replace:
              - regex: '.+(\d{4}-\d{2}-\d{2}).+'
                with: "$1"
      Performers:
        Name:
          selector: //p[@class="grey-performers"]//text()
          postProcess:
            - replace:
                - regex: \s*,
                  with:
      Image:
        selector: //img[@class="playcard"]/@src
        postProcess:
          - replace:
              - regex: ^//
                with: "https://"
      Studio:
        Name:
          fixed: "Tonight's Girlfriend"
      URL: //link[@rel='canonical']/@href
      Tags:
        Name: //a[@class="cat-tag"]
# Last Updated August 03, 2023
