name: Kin8tengoku
sceneByURL:
  - action: scrapeXPath
    url:
      - en.kin8tengoku.com/moviepages/
      - enasianmusume.kin8tengoku.com/moviepages/
    scraper: sceneScraper

xPathScrapers:
  sceneScraper:
    common:
      $tData: td[@class="movie_table_td2"]
    scene:
      Title: //p[@class="sub_title"]
      Details: //meta[@name="description"]/@content
      Image:
        selector: //script[contains(.,"imgurl")]/text()
        postProcess:
          - replace:
              - regex: ".*imgurl = '([^']+)'.+"
                with: https:$1
      Date:
        selector: //tr[contains(td,"Date")]/$tData
        postProcess:
          - parseDate: 2006-01-02
      Tags:
        Name:
          selector: //tr[contains(td,"Category")]/$tData//a
      Performers:
        Name:
          selector: //tr[contains(td,"Model")]/$tData//a
      Studio:
        Name:
          fixed: "Kinpatsutengoku"
# Last Updated February 18, 2021
