name: Paco (EN)
sceneByURL:
  - action: scrapeJson
    url:
      - en.pacopacomama.com
    scraper: sceneScraper
    queryURL: "{url}"
    queryURLReplace:
      url:
        - regex: .*/movie(s|pages)/([^/]+).*
          with: https://en.pacopacomama.com/dyn/phpauto/movie_details/movie_id/$2.json

sceneByFragment:
  action: scrapeJson
  queryURL: https://en.pacopacomama.com/dyn/phpauto/movie_details/movie_id/{filename}.json
  # constructs the movie URL from the filename, provided that the filename includes the movie id
  queryURLReplace:
    filename:
      - regex: .*(\d{6}_\d{3}).* # paco uses ids with form like 062212_055
        with: $1
  scraper: sceneScraper
jsonScrapers:
  sceneScraper:
    scene:
      Title:
        selector: "[TitleEn,Title]"
        concat: "|" # get rid of empty result
        split: "|"
      Date:
        selector: Release
        postProcess:
          - parseDate: 2006-01-02
      Performers:
        Name: ActressesEn
      Image: ThumbHigh
      Tags:
        Name: UCNAMEEn
      Details: DescEn
      URL:
        selector: MovieID
        postProcess:
          - replace:
              - regex: ^
                with: "https://en.pacopacomama.com/movies/"
              - regex: $
                with: "/"
      Studio:
        Name:
          fixed: PacoPacoMama
# Last Updated March 26, 2024
