name: Transerotica
sceneByURL:
  - action: scrapeXPath
    url:
      - transerotica.com/trailers
    scraper: sceneScraper
xPathScrapers:
  sceneScraper:
    common:
      $update: //div[@class="centerwrap clear"]/div[@class="updateDetails"]
    scene:
      Title: //h1[@class='title_bar']
      Image: //div[@id="player"]/video/@poster
      Date:
        selector: $update/p/span/preceding-sibling::comment()
        postProcess:
          - replace:
              - regex: .*(\d{2}/\d{2}/\d{4}).*
                with: $1
          - parseDate: "01/02/2006"
          - map:
              1970-01-01: ""
      Details:
        selector: $update/p[starts-with(text(),"Description:")]
        postProcess:
          - replace:
              - regex: '^Description:\s*'
                with:
      Performers:
        Name:
          selector: $update//span[@class="tour_update_models"]/a
      Tags:
        Name:
          selector: //meta[@name="keywords"]/@content
          split: ","
      Studio:
        Name:
          fixed: TransErotica
# Last Updated July 07, 2023
