{"id":19595915,"url":"https://github.com/innovativeinventor/mitmscrape","last_synced_at":"2025-02-26T14:40:49.553Z","repository":{"id":135192243,"uuid":"315762876","full_name":"InnovativeInventor/mitmscrape","owner":"InnovativeInventor","description":"A tool to filter network resources of sites, with an emphasis on js-heavy sites using mitmproxy and selenium. Mostly used to scrape Secretaries of State websites for raw election data.","archived":false,"fork":false,"pushed_at":"2021-02-28T05:18:38.000Z","size":7332,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-09T07:20:47.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InnovativeInventor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-24T22:02:22.000Z","updated_at":"2021-02-28T05:18:40.000Z","dependencies_parsed_at":"2023-03-22T12:02:15.660Z","dependency_job_id":null,"html_url":"https://github.com/InnovativeInventor/mitmscrape","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2Fmitmscrape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2Fmitmscrape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2Fmitmscrape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InnovativeInventor%2Fmitmscrape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InnovativeInventor","download_url":"https://codeload.github.com/InnovativeInventor/mitmscrape/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240874390,"owners_count":19871693,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T08:49:27.734Z","updated_at":"2025-02-26T14:40:48.981Z","avatar_url":"https://github.com/InnovativeInventor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## mitmscrape\nA little utility designed to scrape and find resources fetched on a JS-heavy site.\n\n## Setup\nTo set this up, get the latest chrome(ium) driver for your version of Google Chrome/chromium: https://chromedriver.chromium.org/downloads and unzip it.\nThen, rename the driver to be `chromedriver`.\n\n## Usage\nEnviroment setup\n```bash\npoetry shell\n```\n\nRunning\n```bash\npython3 mitmscrape.py [url] [recursion_depth]\n```\n\nFiltering urls (needs `ripgrep`)\n```bash\ncat urls.list | rg \"\\.json\"\n```\n\n## Example usage\n```\npython3 mitmscrape.py https://results.enr.clarityelections.com/GA/105369 2\ncat urls.list | rg \"\\.json\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnovativeinventor%2Fmitmscrape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finnovativeinventor%2Fmitmscrape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finnovativeinventor%2Fmitmscrape/lists"}