name: SubbyHubby
sceneByURL:
  - action: scrapeXPath
    url:
      - clubdom.com/tour
      - subbyhubby.com/tour
    scraper: sceneScraper
  - action: scrapeXPath
    url:
      - clubdom.com/vod
      - subbyhubby.com/vod
    scraper: vodScraper
xPathScrapers:
  sceneScraper:
    scene:
      Title:
        selector: //span[@class="left"]/h1
      Date:
        selector: //strong[contains(.,"Release date:")]/following-sibling::text()
        postProcess:
          - parseDate: 01/02/2006
      Performers:
        Name: //span[@class="models_list"]//a
      Tags:
        Name: //span[@class="categories"]//a
      Details:
        selector: //strong[contains(.,"Description:")]/following-sibling::text()
      Image:
        selector: //div[@class="videoplayer"]/img//@src0_1x
        postProcess:
          - replace:
              - regex: ^
                with: "https:"
      Studio:
        Name:
          selector: //base/@href
          postProcess:
            - map:
                //www.clubdom.com/tour/: Club Dom
                //www.subbyhubby.com/tour/: Subby Hubby
  vodScraper:
    scene:
      Title:
        selector: //span[@class="title_bar_hilite"]
      Date:
        selector: //div[@class="gallery_info"]/div[1]//div[@class="cell update_date"]
        postProcess:
          - parseDate: 01/02/2006
      Performers:
        Name: //div[@class="gallery_info"]/span[@class="update_models"]/a
      Tags:
        Name: //span[@class="update_tags"]/a
      Details:
        selector: //span[@class="update_description"]
      Image:
        selector: //base/@href|//div[@id="download_form"]/following-sibling::script
        concat: "|"
        postProcess:
          - replace:
              - regex: '(.*)/vod/\|.*thumbnail:"(.*)",vtt_file:.*'
                with: $1$2
      Studio:
        Name:
          selector: //base/@href
          postProcess:
            - replace:
                - regex: https://(www.)?([^.]+)\..*
                  with: $2
            - map:
                clubdom: Club Dom
                subbyhubby: Subby Hubby
# Last Updated July 20, 2021
