{"id":41737102,"url":"https://github.com/jonesrussell/page-prowler","last_synced_at":"2026-01-25T00:07:57.187Z","repository":{"id":57694455,"uuid":"402605863","full_name":"jonesrussell/page-prowler","owner":"jonesrussell","description":"Experimental mashup of golang commands to scrape the web","archived":false,"fork":false,"pushed_at":"2024-11-23T12:57:05.000Z","size":11679,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-23T13:35:09.828Z","etag":null,"topics":["scraping-api","scraping-websites"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonesrussell.png","metadata":{"files":{"readme":"README.md","changelog":"news/service.go","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-03T01:04:58.000Z","updated_at":"2024-11-23T12:57:08.000Z","dependencies_parsed_at":"2023-10-03T06:02:09.908Z","dependency_job_id":"162a883a-b1ec-45fe-a4ca-2229dd4abb83","html_url":"https://github.com/jonesrussell/page-prowler","commit_stats":null,"previous_names":["jonesrussell/page-prowler","jonesrussell/crawler"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jonesrussell/page-prowler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonesrussell%2Fpage-prowler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonesrussell%2Fpage-prowler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonesrussell%2Fpage-prowler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonesrussell%2Fpage-prowler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonesrussell","download_url":"https://codeload.github.com/jonesrussell/page-prowler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonesrussell%2Fpage-prowler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28739343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["scraping-api","scraping-websites"],"created_at":"2026-01-25T00:07:56.343Z","updated_at":"2026-01-25T00:07:57.182Z","avatar_url":"https://github.com/jonesrussell.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Page Prowler\n\nPage Prowler is a tool designed to find and extract links from websites based on specified terms. It allows direct interaction through the command-line interface or the initiation of the Echo web server, which exposes an API. This API utilizes the Asynq library to manage queued crawl jobs.\n\n## Usage\n\n```page-prowler [command]```\n\n## Commands\n\n- **api**: Starts the API server.\n- **matchlinks**: Crawls specific websites and extracts matchlinks that match the provided terms. Can be run from the command line or via a POST request to `/v1/matchlinks` on the API server.\n- **clearlinks**: Clears the Redis set for a given siteid.\n- **getlinks**: Gets the list of links for a given siteid.\n- **worker**: Starts the Asynq worker.\n- **help**: Displays help about any command.\n\n## Building\n\nTo install Page Prowler, clone the repository and build the binary using the following commands:\n\n```\ngit clone https://github.com/jonesrussell/page-prowler.git\ncd page-prowler\ngo build\n```\n\nAlternatively, you can use the provided Makefile to build the project:\n\n```make all```\n\nThis command will run fmt, lint, test, and build targets defined in the Makefile.\n\n### Command Line\n\nTo search for matchlinks from the command line, use the following command:\n\n```bash\n./page-prowler matchlinks --url=\"https://www.example.com\" --searchterms=\"keyword1,keyword2\" --siteid=siteID --maxdepth=1 --debug\n```\n\nReplace `\"https://www.example.com\"` with the URL you want to crawl, `\"keyword1,keyword2\"` with the search terms you want to look for, `siteID` with your site ID, and `1` with the maximum depth of the crawl.\n\n### API\n\nTo start the API server, use the following command:\n\n```bash\n./page-prowler api\n```\n\nThen, you can send a POST request to start a crawl:\n\n```bash\ncurl -X POST -H \"Content-Type: application/json\" -d '{\n \"URL\": \"https://www.example.com\",\n \"SearchTerms\": \"keyword1,keyword2\",\n \"CrawlSiteID\": \"siteID\",\n \"MaxDepth\": 3,\n \"Debug\": true\n}' http://localhost:3000/matchlinks\n```\n\nAgain, replace `\"https://www.example.com\"` with the URL you want to crawl, `\"keyword1,keyword2\"` with the search terms you want to look for, `siteID` with your site ID, and `3` with the maximum depth of the crawl.\n\n## Configuration\n\nPage Prowler uses a `.env` file for configuration. You can specify the Redis host and password in this file. For example:\n\n```bash\nREDIS_HOST=localhost\nREDIS_PORT=6379\nREDIS_AUTH=yourpassword\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonesrussell%2Fpage-prowler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonesrussell%2Fpage-prowler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonesrussell%2Fpage-prowler/lists"}