name: "SLROriginals"
sceneByURL:
  - action: scrapeXPath
    url: &urlAttr
      - allvr.porn
      - hardonvr.com
      - lustreality.com
      - slroriginals.com
      - vrfirsttimer.com
    scraper: sceneScraper
movieByURL:
  - action: scrapeXPath
    url: *urlAttr
    scraper: movieScraper
xPathScrapers:
  sceneScraper:
    common:
      $info: &info //div[starts-with( @class,"c-page--video-right")]
    scene:
      Title: &titleSel $info//h1[1]/text()
      Date: &dateAttr
        selector: $info//span[starts-with(@class,"u-inline-block")][1]/text()
        postProcess:
          - parseDate: Jan 2, 2006
      Details: &detailsAttr
        selector: $info//div[starts-with(@class,"u-mb--six")]
      Tags:
        Name: $info//div[starts-with(@class,"u-mt--four")]//li/a/text()
      Performers:
        Name: $info//div[starts-with(@class,"u-mt--three")]//a/text()
      Studio:
        Name: &studioName //meta[@name="application-name"]/@content
      Image: &imageSel
        selector: //div[starts-with(@style,"background-image:")]/@style
        postProcess:
          - replace:
              - regex: .+url\((.+)\).+
                with: $1
      Movies:
        Name: &movieNameAttr
          selector: //meta[@name="application-name"]/@content|//div[starts-with( @class,"c-page--video-right")]//h1[1]/text()
          concat: " - "
        Duration: &durationAttr
          selector: $info//span[contains(text(),"Duration:")]
          postProcess:
            - replace:
                - regex: Duration:\s
                  with: ""
        Date: *dateAttr
        Synopsis: *detailsAttr
  movieScraper:
    common:
      $info: *info
    movie:
      Name: *movieNameAttr
      Duration: *durationAttr
      Date: *dateAttr
      Synopsis: *detailsAttr
      Studio:
        Name: *studioName
      FrontImage: *imageSel
# Last Updated October 21, 2021
