name: Plushies
sceneByName:
  action: scrapeXPath
  queryURL: "https://plushies.tv/tour/search.php?query={}"
  scraper: sceneSearch
sceneByQueryFragment:
  action: scrapeXPath
  queryURL: "{url}"
  scraper: sceneScraper
sceneByURL:
  - action: scrapeXPath
    url:
      - plushies.tv
    scraper: sceneScraper
xPathScrapers:
  sceneSearch:
    common:
      $searchItem: //div[@class='updateItem']/div[@class='updateDetails']
      $searchThumb: //div[@class='updateItem']/a/img
    scene:
      Title:
        selector: $searchItem/h4/a
      Date:
        selector: $searchItem/p/span[2]
        postProcess:
          - parseDate: 01/02/2006
      URL:
        selector: $searchItem/h4/a/@href
      Image:
        selector: $searchThumb/@src
        postProcess:
          - replace:
              - regex: ^
                with: "https://plushies.tv/tour/"
  sceneScraper:
    common:
      $ub: //div[@class="update_block_info"]
    scene:
      Title:
        selector: $ub/span[@class="update_title"]
      Date:
        selector: $ub/span[@class="update_date"]
        postProcess:
          - parseDate: 01/02/2006
      Performers:
        Name: $ub/span[@class="tour_update_models"]/a
      Tags:
        Name: $ub/span[@class="tour_update_tags"]/a
      Details:
        selector: $ub/span[@class="latest_update_description"]
      Image:
        selector: //img[@class="stdimage small_update_thumb thumbs"]/@src
        postProcess:
          - replace:
              - regex: ^
                with: "https://plushies.tv/tour/"
      Studio:
        Name:
          fixed: Plushies
# Last Updated March 30, 2023
