{"id":21228263,"url":"https://github.com/zackha/url-domain-counter-python","last_synced_at":"2026-04-11T08:38:03.248Z","repository":{"id":242771143,"uuid":"810515990","full_name":"zackha/url-domain-counter-python","owner":"zackha","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-04T23:37:05.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T23:16:13.867Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/zackha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-04T21:08:06.000Z","updated_at":"2024-06-04T23:36:57.000Z","dependencies_parsed_at":"2025-01-21T17:52:42.805Z","dependency_job_id":null,"html_url":"https://github.com/zackha/url-domain-counter-python","commit_stats":null,"previous_names":["zackha/url-domain-counter-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zackha/url-domain-counter-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackha%2Furl-domain-counter-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackha%2Furl-domain-counter-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackha%2Furl-domain-counter-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackha%2Furl-domain-counter-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zackha","download_url":"https://codeload.github.com/zackha/url-domain-counter-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackha%2Furl-domain-counter-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31674624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: 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":[],"created_at":"2024-11-20T23:15:21.651Z","updated_at":"2026-04-11T08:38:03.230Z","avatar_url":"https://github.com/zackha.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URL Domain Counter\n\nThis Python script reads an Excel file, extracts domain names from URLs in the specified column (C column), and counts how many times each domain appears. The results are then saved to a new Excel file.\n\n## Prerequisites\n\n- Python 3.x\n- pandas\n- openpyxl\n\n## Installation\n\nInstall the required Python packages using pip:\n\n```bash\npip install pandas openpyxl\n```\n\n## Usage\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/zackha/url-domain-counter-python.git\ncd url-domain-counter-python\n```\n\n2. Run the script:\n\n```bash\npython url_domain_counter.py\n```\n\n3. Follow the prompts to select an input Excel file and specify an output file for the results.\n\n## How It Works\n\n- The script opens a file dialog for you to select an Excel file.\n- It reads URLs from the C column of the selected Excel file.\n- It extracts the domain names from the URLs and counts the occurrences of each domain.\n- It saves the results to a new Excel file, with domain names in the A column and their counts in the B column.\n\n## Example\n\nInput Excel file (C column):\n\n```\nhttps://example.com/page1\nhttps://example.com/page2\nhttps://anotherdomain.com/page1\nhttps://example.com/page3\n```\n\nOutput Excel file:\n\n| Domain            | Count |\n| ----------------- | ----- |\n| example.com       | 3     |\n| anotherdomain.com | 1     |\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackha%2Furl-domain-counter-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzackha%2Furl-domain-counter-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackha%2Furl-domain-counter-python/lists"}