{"id":25914482,"url":"https://github.com/smed79/domain-redirection-checker","last_synced_at":"2026-04-13T21:32:05.284Z","repository":{"id":280347607,"uuid":"941690796","full_name":"smed79/domain-redirection-checker","owner":"smed79","description":"A Bash script to check the final redirection of domains from a list of URLs. Resumes if interrupted and save the results to file.","archived":false,"fork":false,"pushed_at":"2025-03-02T21:48:08.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-22T06:35:41.415Z","etag":null,"topics":["adblock","bash-script","curl-command","dns","domain-checker","hosts","hosts-file","parked-domain","url-monitoring","url-redirect","url-redirection"],"latest_commit_sha":null,"homepage":"https://github.com/smed79/domain-redirection-checker","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smed79.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":"2025-03-02T21:39:49.000Z","updated_at":"2025-03-13T05:15:40.000Z","dependencies_parsed_at":"2025-03-02T22:38:08.764Z","dependency_job_id":null,"html_url":"https://github.com/smed79/domain-redirection-checker","commit_stats":null,"previous_names":["smed79/domain-redirection-checker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smed79/domain-redirection-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smed79%2Fdomain-redirection-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smed79%2Fdomain-redirection-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smed79%2Fdomain-redirection-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smed79%2Fdomain-redirection-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smed79","download_url":"https://codeload.github.com/smed79/domain-redirection-checker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smed79%2Fdomain-redirection-checker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31771817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"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":["adblock","bash-script","curl-command","dns","domain-checker","hosts","hosts-file","parked-domain","url-monitoring","url-redirect","url-redirection"],"created_at":"2025-03-03T11:20:55.594Z","updated_at":"2026-04-13T21:32:05.252Z","avatar_url":"https://github.com/smed79.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Domain Redirection Checker\n\nA Bash script to check the final redirection of domains from a list of URLs. The script reads URLs from a file, follows their redirections, and outputs the final domain names. If interrupted, the script can resume from the last processed URL.\n\n### Requirements\n\n- `curl` command-line tool.\n\n### Usage\n\n1. **Prepare the URLs list:**\n\n   Create a file named `domains.txt` with one domain/URL per line.\n   \n   If the file does not exist, you will be prompted to provide the path to another file.\n\n3. **Run the script:**\n\n   ```bash\n   chmod +x redirect_checker.sh\n   ./redirect_checker.sh\n   ```\n\n   Note: _The maximum timeout for the `curl` command is set to 5 seconds by default. You can change this value by modifying the script (look for the `--max-time` option in the `curl` command)_.\n\n4. **View the results:**\n\n   Results will be displayed in the terminal and saved to `output.txt` in the format:\n\n   ```plaintext\n   original_url =\u003e final_domain_name\n   ```\n\n#### Example Output\n\n   ```bash\n   google.com =\u003e www.google.com\n   facebook.com =\u003e www.facebook.com\n   amazon.com =\u003e www.amazon.com\n   twitter.com =\u003e twitter.com\n   wikipedia.org =\u003e www.wikipedia.org\n   youtube.com =\u003e www.youtube.com\n   linkedin.com =\u003e www.linkedin.com\n   instagram.com =\u003e www.instagram.com\n   reddit.com =\u003e www.reddit.com\n   netflix.com =\u003e netflix.com\n   microsoft.com =\u003e www.microsoft.com\n   apple.com =\u003e www.apple.com\n   ```\n\n#### Support this Project\n\nStar ★ this repo, and we're square :nerd_face:\n\n### License\n\nThis project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported.\n\nSee [LICENSE](https://creativecommons.org/licenses/by-nc-sa/3.0/) for details. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmed79%2Fdomain-redirection-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmed79%2Fdomain-redirection-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmed79%2Fdomain-redirection-checker/lists"}