name: "VRHush"
sceneByURL:
  - action: scrapeXPath
    url:
      - vrhush.com/scenes
    scraper: sceneScraper
movieByURL:
  - action: scrapeXPath
    url:
      - vrhush.com/scenes
    scraper: movieScraper
xPathScrapers:
  sceneScraper:
    common:
      $info: &infoSel //div[@class="content-container main-content"]
    scene:
      Title: &titleSel //div[@class="details__title"]/text()
      Studio: &studioAttr
        Name:
          fixed: "VRHush"
      Date: &dateAttr
        selector: //div[@class="details__info__details__label"]/text()
        concat: " "
        postProcess:
          - replace:
              - regex: \d+:\d+ ([\d/]+)
                with: $1
          - parseDate: "2006/01/02"
      Details: &detailsAttr
        selector: //p[@class="tab__about"]/text()
      Tags:
        Name:
          selector: //div[@class="tag-list"]//a[contains(@class, "tag-item")]/text()
          concat: __SEPARATOR__
          postProcess:
            - replace:
                - regex: $
                  with: __SEPARATOR__Virtual Reality
          split: __SEPARATOR__
      Performers:
        Name: //span[@class="details__info__starring__wrapper__labelWrapper__name"]//a/text()
      Image: &imageAttr
        selector: //meta[@property="og:image"]/@content
        postProcess:
          - replace:
              - regex: ^
                with: "https:"
  movieScraper:
    common:
      $info: *infoSel
    movie:
      Name:
        selector: *titleSel
        postProcess:
          - replace:
              - regex: ^
                with: "VRHush - "
      Studio: *studioAttr
      Date: *dateAttr
      Synopsis: *detailsAttr
      FrontImage: *imageAttr
# Last Updated February 16th, 2024
