{"id":23346742,"url":"https://github.com/elijahcroft/web_crawler","last_synced_at":"2025-09-14T18:35:20.749Z","repository":{"id":267177381,"uuid":"900466036","full_name":"elijahcroft/web_crawler","owner":"elijahcroft","description":"A PHP-based web crawler that efficiently scrapes and indexes web content. It follows links, retrieves data, and stores it in a structured format. Features include customizable crawl depth, domain targeting, and robots.txt compliance. Perfect for building data pipelines or conducting web scraping projects.","archived":false,"fork":false,"pushed_at":"2024-12-08T21:36:20.000Z","size":137,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T19:40:45.592Z","etag":null,"topics":["datascraper","php7","webscraping"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/elijahcroft.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":"2024-12-08T20:49:16.000Z","updated_at":"2024-12-09T00:30:29.000Z","dependencies_parsed_at":"2025-02-13T19:34:17.803Z","dependency_job_id":null,"html_url":"https://github.com/elijahcroft/web_crawler","commit_stats":null,"previous_names":["elijahcroft/web_crawler"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elijahcroft%2Fweb_crawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elijahcroft%2Fweb_crawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elijahcroft%2Fweb_crawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elijahcroft%2Fweb_crawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elijahcroft","download_url":"https://codeload.github.com/elijahcroft/web_crawler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247694881,"owners_count":20980733,"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":["datascraper","php7","webscraping"],"created_at":"2024-12-21T07:14:50.939Z","updated_at":"2025-04-07T17:23:05.889Z","avatar_url":"https://github.com/elijahcroft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Web Crawler\n\nThis is a basic web crawler built in PHP that navigates through web pages starting from a given URL. It extracts metadata such as titles, descriptions, and keywords from the pages it visits.\n\n## Features\n\n- Crawls web pages recursively starting from a given URL.\n- Extracts the following metadata:\n  - Page Title\n  - Meta Description\n  - Meta Keywords\n- Resolves relative links to absolute URLs.\n- Handles edge cases like JavaScript links and duplicate URLs.\n- Outputs metadata in JSON format.\n- Tracks all visited URLs.\n\n## Prerequisites\n\n- PHP installed on your system (version 7.0 or higher).\n- A local or live server to host and test the crawler.\n\n## How to Use\n\n1. Clone the repository or download the script.\n2. Place the script in your server's directory (e.g., `htdocs` for XAMPP or similar).\n3. Update the `$start` variable with the URL you want to crawl. For example:\n   ```php\n   $start = \"http://example.com\";\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felijahcroft%2Fweb_crawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felijahcroft%2Fweb_crawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felijahcroft%2Fweb_crawler/lists"}