name: "ClubElegantAngel"
sceneByURL:
  - action: scrapeXPath
    url:
      - clubelegantangel.com/video/
    scraper: sceneScraper
movieByURL:
  - action: scrapeXPath
    url:
      - clubelegantangel.com/dvd/
    scraper: movieScraper
xPathScrapers:
  sceneScraper:
    scene:
      Studio:
        Name:
          fixed: Elegant Angel
        URL:
          fixed: https://www.clubelegantangel.com
      URL: //head/link[@rel="canonical"]/@href
      Movies:
        Name: //div[contains(.,"DVD :")]/a/text()
        URL:
          selector: //div[contains(.,"DVD :")]/a/@href
          postProcess:
            - replace:
                - regex: ^
                  with: "https://www.clubelegantangel.com"
      Title:
        selector: //head/title/text()
        postProcess:
          - replace:
              - regex: '^Video\s*-\s*'
                with: ""
      Date:
        selector: //div[@class="wrpHighlightUpdated"]/text()
        postProcess:
          - parseDate: 2006-01-02 #2012-02-18
      Performers:
        Name: //li[contains(.,"Pornstars:")]/a/text()
        URL:
          selector: //li[contains(.,"Pornstars:")]/a/@href
          postProcess:
            - replace:
                - regex: ^
                  with: "https://www.clubelegantangel.com"
      Tags:
        Name: //li[contains(.,"Categories :")]/a/text()
      Image:
        selector: //div[@class="gblViewHighlight"]/img/@src
        postProcess:
          - replace:
              - regex: /presentation/\d+x\d+/
                with: /presentation/640x480/
  movieScraper:
    movie:
      Name:
        selector: //head/title/text()
        postProcess:
          - replace:
              - regex: DVD -
                with: ""
      Duration:
        selector: //td/div/text()
        postProcess:
          - replace:
              - regex: (\d+)\s.*
                with: "$1:00"
      Date:
        selector: //tr/td[@align="right"]/text()
        postProcess:
          - parseDate: 2006-01-02 #2012-02-18
      Studio:
        Name:
          fixed: Elegant Angel
        URL:
          fixed: https://www.clubelegantangel.com
      FrontImage:
        selector: //div[@class="gblViewHighlight"]/img/@src
        postProcess:
          - replace:
              - regex: /volume/(\d+)/\d+x\d+/
                with: /volume/$1/640x960/
      BackImage:
        selector: //div[@class="gblViewHighlight"]/img/@src
        postProcess:
          - replace:
              - regex: "front"
                with: "back"
              - regex: /volume/(\d+)/\d+x\d+/
                with: /volume/$1/640x960/
# Last Updated August 04, 2022
