name: Oops Family

sceneByURL:
  - action: scrapeXPath
    url:
      - oopsfamily.com/video
    scraper: sceneScraper
xPathScrapers:
  sceneScraper:
    scene:
      Studio:
        Name:
          fixed: "Oops Family"
      Title:
        selector: //h1[@class = 'video-detail__title']//text()
      Details:
        selector: //div[@data-id="description" and @class="hidden"]//text()
      Tags:
        Name: //a[@class="tags__item"]//text()
      Performers:
        Name: //div[@class="video-info__text"]//a//text()
      Image:
        selector: //script[contains(., "pluginSettings")]/text()
        postProcess:
          - replace:
              - regex: .*url":\s*"(.*poster[^"]*).*$
                with: https:$1
      Date:
        selector: //div[@class="video-info__time"]//text()
        postProcess:
          - replace:
            - regex: (.*) • (.*)
              with: $2
          - parseDate: "2 January, 2006"
# Last Updated December 29, 2023