name: "PervCity"
sceneByURL:
  - action: scrapeXPath
    url:
      - analoverdose.com/trailers/
      - bangingbeauties.com/trailers/
      - chocolatebjs.com/trailers/
      - oraloverdose.com/trailers/
      - pervcity.com/trailers/
      - upherasshole.com/trailers/
      - dpdiva.com/trailers/
    scraper: sceneScraper
xPathScrapers:
  sceneScraper:
    common:
      $sceneinfo: //div[@class="videoInfo"]
      $base: //head/base/@href
    scene:
      Title: $sceneinfo/div[@class="infoHeader"]
      Studio:
        Name:
          selector: //head/base/@href
          postProcess:
            - replace:
                - regex: .+/(?:www\.)?([^\.]+)\.com/.*
                  with: $1
            - map:
                analoverdose: Anal Overdose
                bangingbeauties: Banging Beauties
                chocolatebjs: Chocolate BJs
                dpdiva: DP Diva
                oraloverdose: Oral Overdose
                pervcity: PervCity
                upherasshole: Up Her Asshole
      Performers:
        Name: $sceneinfo//span[@class="tour_update_models"]/a
      Tags:
        Name: $sceneinfo//div[@class="tagcats"]/a/text()
      Details: $sceneinfo//p/text()|$sceneinfo//h3[@class="description"]
      Image:
        selector: //head/base/@href|//img[@class="posterimg stdimage thumbs"]/@src
        concat: "|"
        postProcess:
          - replace:
              - regex: ([^|]+)\|(.*)/(content/.+)
                with: $1$3
      Date:
        selector: $sceneinfo/div[@class="infoHeader"]
        postProcess:
          - replace:
              - regex: \s
                with: "_"
              - regex: ^
                with: "https://pervcity.com/search.php?query="
          - subScraper:
              selector: //div[@class="category_listing_block"]//div[@class="date"]/text()
              postProcess:
                - parseDate: 01-02-2006
# Last Updated February 13, 2022
