| 12345678910111213141516171819202122232425262728293031323334353637 |
- {
- "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\\(\\)\\) \")"
- ]
- }
- }
|