{
  "permissions": {
    "allow": [
      "Bash(ls /f/GIT_REPO/tas_councils/scrapers/*.rb)",
      "Bash(grep -c \"def \" /f/GIT_REPO/tas_councils/scrapers/*.rb)",
      "Bash(sort -t: -k2 -rn)",
      "Bash(grep -v \"next\\\\s*$\")",
      "Bash(grep -n -B3 \"^\\\\s*rescue\\\\s*$\\\\|^rescue\\\\s*$\" \"f:/GIT_REPO/tas_councils/scrapers/centralcoast.rb\" \"f:/GIT_REPO/tas_councils/scrapers/circularhead.rb\" \"f:/GIT_REPO/tas_councils/scrapers/clarence.rb\" \"f:/GIT_REPO/tas_councils/scrapers/flinders_council.rb\" \"f:/GIT_REPO/tas_councils/scrapers/georgetown.rb\" \"f:/GIT_REPO/tas_councils/scrapers/glamorgan.rb\" \"f:/GIT_REPO/tas_councils/scrapers/glenorchy.rb\" \"f:/GIT_REPO/tas_councils/scrapers/huonvalley.rb\" \"f:/GIT_REPO/tas_councils/scrapers/tasman.rb\" \"f:/GIT_REPO/tas_councils/scrapers/westtamar.rb\" \"f:/GIT_REPO/tas_councils/scrapers/meandervalley.rb\" \"f:/GIT_REPO/tas_councils/scrapers/devonportcity.rb\" \"f:/GIT_REPO/tas_councils/scrapers/dorset.rb\" \"f:/GIT_REPO/tas_councils/scrapers/launcestoncity.rb\" \"f:/GIT_REPO/tas_councils/scrapers/waratah_wynyard.rb\")",
      "Bash(ruby test/test_util.rb)",
      "Bash(docker compose:*)",
      "Bash(python3)",
      "Bash(python3 -c ':*)",
      "Bash(grep -n \"FROM \\\\`{\" /f/GIT_REPO/tas_councils/web/index.php)",
      "Bash(grep -n '\\\\$t\\\\|tableHasColumn\\\\|tableExists' /f/GIT_REPO/tas_councils/web/index.php)",
      "Bash(xargs sed:*)",
      "Bash(grep -n \"Open3\\\\|capture2\\\\|backtick\\\\|\\\\`#{\" f:/GIT_REPO/tas_councils/lib/http.rb)",
      "Bash(grep -n \"validate_table_name\\\\|FROM \\\\`{\\\\|SHOW COLUMNS\" f:/GIT_REPO/tas_councils/web/index.php)",
      "Bash(grep -l \"DB.ensure_table!\" /f/GIT_REPO/tas_councils/scrapers/*.rb)",
      "Bash(grep -L \"DB.ensure_table!\" /f/GIT_REPO/tas_councils/scrapers/*.rb)",
      "Bash(grep -A 2 \"rescue StandardError => e\" /f/GIT_REPO/tas_councils/lib/*.rb /f/GIT_REPO/tas_councils/scrapers/*.rb)",
      "Bash(grep -n \"enrich_after_upsert\" /f/GIT_REPO/tas_councils/scrapers/*.rb)",
      "Bash(wc -l /f/GIT_REPO/tas_councils/lib/*.rb /f/GIT_REPO/tas_councils/scrapers/*.rb)",
      "Bash(grep -n \"def.*$\" /f/GIT_REPO/tas_councils/lib/util.rb)",
      "Bash(grep -l \"require.*log\\\\b\" f:/GIT_REPO/tas_councils/scrapers/*.rb)",
      "Bash(grep -l \"require.*scraper_helpers\\\\b\" f:/GIT_REPO/tas_councils/scrapers/*.rb)",
      "Bash(grep -l \"Log\\\\.\" *.rb)",
      "Bash(grep -l 'require_relative.*lib/log' *.rb)",
      "Bash(grep -l \"upsert_and_enrich!\" *.rb)",
      "Bash(grep -l \"def abs_url\" *.rb)",
      "WebFetch(domain:www.southernmidlands.tas.gov.au)",
      "Bash(python3 -)",
      "WebFetch(domain:www.huonvalley.tas.gov.au)",
      "Bash(curl -s -A \"Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36\" \"https://www.huonvalley.tas.gov.au/development/planning/advertised-applications/\")",
      "Bash(python3 -c \" import sys from html.parser import HTMLParser class P\\(HTMLParser\\): def __init__\\(self\\): super\\(\\).__init__\\(\\) self.depth = 0 self.capture = False self.tag = None def handle_starttag\\(self, tag, attrs\\): d = dict\\(attrs\\) cls = d.get\\('class',''\\) if 'accordion' in cls or 'plan-file' in cls: print\\(f'<{tag} class=\\\\\"{cls}\\\\\">'\\) self.capture = True def handle_data\\(self, data\\): if self.capture and data.strip\\(\\): print\\(f' TEXT: {data.strip\\(\\)[:120]}'\\) def handle_endtag\\(self, tag\\): if tag in \\('h2','h3','a','p','div'\\) and self.capture: self.capture = False P\\(\\).feed\\(sys.stdin.read\\(\\)\\) \")",
      "Bash(curl -s -L -A 'Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/127.0.0.0 Safari/537.36' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Accept-Language: en-AU,en;q=0.9' -H 'Accept-Encoding: gzip, deflate, br' --compressed https://www.kentish.tas.gov.au/services/building-and-planning-services/planningapp)",
      "Bash(curl -sv -L --max-time 15 -A 'Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/127.0.0.0 Safari/537.36' --compressed https://www.burnie.tas.gov.au)",
      "Bash(curl -s -L --max-time 15 -A 'Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/127.0.0.0 Safari/537.36' --compressed https://www.derwentvalley.tas.gov.au/home/card-listing/development-applications)",
      "Bash(curl -s -L --max-time 15 -A 'Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/127.0.0.0 Safari/537.36' --compressed https://www.burnie.tas.gov.au/Development/Planning/Permit-applications-on-exhibition)",
      "Bash(curl -sv -L --max-time 15 -A 'Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36' --compressed https://www.burnie.tas.gov.au/Development/Planning/Permit-applications-on-exhibition)",
      "Bash(curl -s --max-time 10 -A 'Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36' 'https://www.derwentvalley.tas.gov.au/home/latest-news?f.News+category%7CnewsCategory=Public+Notice')",
      "Bash(sed -n '80,130p' f:/GIT_REPO/tas_councils/scrapers/derwentvalley.rb)",
      "Bash(sed -n '50,75p' f:/GIT_REPO/tas_councils/scrapers/centralhighlands.rb)",
      "Bash(curl -s -L --max-time 30 -A \"Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36\" \"https://kingisland.tas.gov.au/develop/planning/\")",
      "Bash(curl -s -L --max-time 30 -A \"Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/120.0.0.0 Safari/537.36\" -H \"Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\" -H \"Accept-Language: en-AU,en;q=0.9\" \"https://www.kingisland.tas.gov.au/develop/planning/\")",
      "Bash(python3 -c \"import sys; d=sys.stdin.read\\(\\); print\\('CF:', 'Just a moment' in d or 'Enable JavaScript' in d\\); print\\('403:', '403' in d[:500]\\); print\\(d[:2000]\\)\")",
      "Bash(curl -v -L --max-time 30 -H 'User-Agent: Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/124.0.0.0 Safari/537.36' -H 'Accept-Encoding: gzip,deflate' -H 'Referer: https://kingisland.tas.gov.au/' -c /tmp/ki3.txt -b /tmp/ki3.txt https://kingisland.tas.gov.au/)",
      "Bash(curl -s -H 'User-Agent: Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/124.0.0.0 Safari/537.36' -H 'Accept-Encoding: identity' https://kingisland.tas.gov.au/develop/planning/ -o /tmp/ki_plan.html)",
      "Read(//tmp/**)",
      "Bash(curl -s -H 'User-Agent: Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/124.0.0.0 Safari/537.36' -H 'Accept-Encoding: identity' https://kingisland.tas.gov.au/develop/planning/ -o C:/Users/lumion/AppData/Local/Temp/ki_plan.html)",
      "Read(//c/Users/lumion/AppData/Local/Temp/**)",
      "Bash(curl -s -L --max-time 30 -H 'User-Agent: Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/127.0.0.0 Safari/537.36' -H 'Accept-Encoding: identity' https://www.latrobe.tas.gov.au/services/building-and-planning-services/planningapp -o C:/Users/lumion/AppData/Local/Temp/latrobe.html)",
      "Bash(curl -s -L --max-time 30 -H 'User-Agent: Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/127.0.0.0 Safari/537.36' -H 'Accept-Encoding: identity' -H 'Upgrade-Insecure-Requests: 1' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: none' -H 'Sec-Fetch-User: ?1' -c C:/Users/lumion/AppData/Local/Temp/latrobe_cookies.txt https://www.latrobe.tas.gov.au/ -o /dev/null)",
      "Bash(curl -s -L --max-time 30 -H 'User-Agent: Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/127.0.0.0 Safari/537.36' -H 'Accept-Encoding: identity' -H 'Referer: https://www.latrobe.tas.gov.au/' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: same-origin' -b C:/Users/lumion/AppData/Local/Temp/latrobe_cookies.txt https://www.latrobe.tas.gov.au/services/building-and-planning-services/planningapp -o C:/Users/lumion/AppData/Local/Temp/latrobe2.html)",
      "Bash(curl -s -L --max-time 30 -H 'User-Agent: Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/127.0.0.0 Safari/537.36' -H 'Accept-Encoding: identity' -H 'Upgrade-Insecure-Requests: 1' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: none' -H 'Sec-Fetch-User: ?1' https://www.derwentvalley.tas.gov.au/ -c C:/Users/lumion/AppData/Local/Temp/dv_cookies.txt -o /dev/null -w '%{http_code}')",
      "Bash(curl -s -L --max-time 30 -H 'User-Agent: Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/127.0.0.0 Safari/537.36' -H 'Accept-Encoding: identity' -H 'Referer: https://www.derwentvalley.tas.gov.au/' -H 'Sec-Fetch-Dest: document' -H 'Sec-Fetch-Mode: navigate' -H 'Sec-Fetch-Site: same-origin' -b C:/Users/lumion/AppData/Local/Temp/dv_cookies.txt https://www.derwentvalley.tas.gov.au/home/card-listing/development-applications -o C:/Users/lumion/AppData/Local/Temp/dv_list.html -w '%{http_code} %{size_download} bytes')",
      "Bash(curl -s -L --max-time 30 -H 'User-Agent: Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/127.0.0.0 Safari/537.36' -H 'Accept-Encoding: identity' -H 'Referer: https://www.derwentvalley.tas.gov.au/' -H 'Sec-Fetch-Site: same-origin' -b C:/Users/lumion/AppData/Local/Temp/dv_cookies.txt 'https://www.derwentvalley.tas.gov.au/home/latest-news?f.News+category%7CnewsCategory=Public+Notice' -o C:/Users/lumion/AppData/Local/Temp/dv_news.html -w '%{http_code} %{size_download} bytes')",
      "Bash(curl -s -L --max-time 30 -H 'User-Agent: Mozilla/5.0 \\(Windows NT 10.0; Win64; x64\\) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/127.0.0.0 Safari/537.36' -H 'Accept-Encoding: identity' -H 'Referer: https://www.derwentvalley.tas.gov.au/home/latest-news' -H 'Sec-Fetch-Site: same-origin' -b C:/Users/lumion/AppData/Local/Temp/dv_cookies.txt https://www.derwentvalley.tas.gov.au/home/latest-news/application-for-planning-approval-160-wyre-forest-road-molesworth -o C:/Users/lumion/AppData/Local/Temp/dv_detail1.html -w '%{http_code} %{size_download} bytes')"
    ]
  }
}
