name: "Pornditos"
sceneByURL:
  - action: scrapeXPath
    scraper: pornditosScraper
    url:
      - pornditos.com/

  - action: scrapeXPath
    scraper: culionerosScraper
    url:
      - en.culioneros.com/videos/
xPathScrapers:
  pornditosScraper:
    common:
      $info: //div[@class="playerText-new fright"]
    scene:
      Title: $info/h2/text()
      Details: $info/p[starts-with(strong,"Description:")]/text()
      Performers:
        Name: $info/p[starts-with(text(),"Cast:")]/a
      Studio:
        Name: $info/p[starts-with(text(),"Added to")]/a
      Image:
        selector: //div[@id="js-small-thumb"]/img/@src
        postProcess:
          - replace:
              - regex: 'http://sm\.members\.khcdn\.com/shoots/([^/]+)/([^/]+)/rollover.*'
                with: "http://x-images5.bangbros.com/$1/shoots/$2/big_trailer.jpg"
              - regex: '5\.bangbros\.com/cuchimami'
                with: "4.bangbros.com/cuchimami"
      Date:
        selector: $info/p[starts-with(text(),"Added to")]/text()[last()]
        postProcess:
          - replace:
              - regex: on\s
                with:
          - parseDate: Jan 2, 2006

  culionerosScraper:
    common:
      $info: //h2[@class="h2-trailer-block"]
    scene:
      Title: $info//span[@class="h2-trailer-style"]/text()
      Details: 
        selector: //p[@class="para-class t-para"]/text()
      Performers:
        Name: $info//a[contains(@href, "/models/")]/text()
      Studio:
        Name: $info//a[contains(@href, "/latest-videos/")]/text()
      Image:
        selector: //img[contains(@src, "/shoots/")][1]/@src
        postProcess:
          - replace:
              - regex: '(http://x-images\d\.bangbros\.com/[^/]+/shoots/[^/]+).*'
                with: "$1/big_trailer.jpg"
      Date:
        selector: $info//b[@class="t-font"][not(a)]/text()
        postProcess:
          - parseDate: Jan 2, 2006
      Tags:
        Name:
          selector: //b[@class="t-font"]/a[contains(@href, "/videos-search/")]/text()
# Last Updated July 07, 2022
