name: SINematica
sceneByURL:
  - action: scrapeXPath
    url:
      - sinematica.com
    scraper: sceneScraper
sceneByName:
  action: scrapeXPath
  scraper: sceneSearch
  queryURL: "https://www.sinematica.com/search?s={}"
sceneByQueryFragment:
  action: scrapeXPath
  queryURL: "{url}"
  scraper: sceneScraper
xPathScrapers:
  sceneScraper:
    common:
      $meta: //div[@class="mediaMeta"]
    scene:
      Title:
        selector: $meta/h1[@class="title"]
      Date:
        selector: $meta//i[@class="far fa-calendar-alt"]/following-sibling::text()
        postProcess:
          - parseDate: January 02, 2006
      Performers:
        Name: $meta//div[@class="feat"]/a
      Details:
        selector: $meta/h2/text()
        concat: "\n"
      Image:
        selector: //meta[@name="twitter:image"]/@content
      Studio:
        Name:
          fixed: SINematica
      URL:
        selector: //meta[@property="og:url"]/@content
        postProcess:
          - replace:
              - regex: '\.sinematica\.com/members'
                with: ".com"
  sceneSearch:
    common:
      $post: //div[@class="post_new"]/a
    scene:
      Title:
        selector: $post/@title
      URL:
        selector: $post/@href
        postProcess:
          - replace:
              - regex: ^
                with: https://www.sinematica.com
      Image: $post/@data-media-poster
# Last Updated September 26, 2021
