name: Yanks
sceneByURL:
  - action: scrapeXPath
    url:
      - yanks.com/trailers/
    scraper: sceneScraper
xPathScrapers:
  sceneScraper:
    common:
      $scene: //div[contains(@class,"update-info ")]
    scene:
      Title:
        selector: $scene//h1
      Performers:
        Name:
          selector: $scene//strong[contains(text(),'Added')]/following-sibling::a[contains(@href, '/models/')]/text()
      Date:
        selector: ($scene//strong[contains(text(),'Added')]/following-sibling::text())[1]
        postProcess:
          - parseDate: January 2, 2006
      Image:
        # No point going for 0_2/3/4x, they're poorly upscaled versions of 0_1x
        selector: >-
          //div[@id='fakeplayer']//img/@src0_1x |
          //div[@id='fakeplayer']//img/@src
        postProcess:
          - replace:
              - regex: ^
                with: https://yanks.com
      Tags:
        Name: $scene//ul[@class='tags']/li/a/text()
      Studio:
        Name:
          fixed: Yanks
# Last Updated October 11, 2023
