{"id":13587685,"url":"https://github.com/h4r7w3l1/http_file_prober","last_synced_at":"2025-04-07T22:31:28.768Z","repository":{"id":210015559,"uuid":"357735395","full_name":"h4r7w3l1/http_file_prober","owner":"h4r7w3l1","description":"Simple a Bash tool to parse URLs size and content-type","archived":false,"fork":false,"pushed_at":"2021-04-14T01:24:56.000Z","size":1,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-02-13T21:54:49.638Z","etag":null,"topics":["bash","calculate-size","prober","remote-file","web-size","webscraping"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/h4r7w3l1.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}},"created_at":"2021-04-14T01:21:49.000Z","updated_at":"2022-07-13T21:01:52.000Z","dependencies_parsed_at":"2023-11-30T10:28:46.139Z","dependency_job_id":"0c9b4f9b-1045-4d36-bcae-59e9cbb0c599","html_url":"https://github.com/h4r7w3l1/http_file_prober","commit_stats":null,"previous_names":["h4r7w3l1/http_file_prober"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4r7w3l1%2Fhttp_file_prober","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4r7w3l1%2Fhttp_file_prober/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4r7w3l1%2Fhttp_file_prober/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h4r7w3l1%2Fhttp_file_prober/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h4r7w3l1","download_url":"https://codeload.github.com/h4r7w3l1/http_file_prober/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247740817,"owners_count":20988275,"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":["bash","calculate-size","prober","remote-file","web-size","webscraping"],"created_at":"2024-08-01T15:06:19.056Z","updated_at":"2025-04-07T22:31:28.443Z","avatar_url":"https://github.com/h4r7w3l1.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# http_file_prober\nSimple `bash` tool for **parsing size** and type of URLs.\n\nEach request **only gets first KB** of data and parses **content length**+**type** \u0026 **headers**.\n\nThe output will be \u003cu\u003esaved\u003c/u\u003e in \u003cu\u003eexecution path\u003c/u\u003e, \u003cu\u003eappends\u003c/u\u003e the results to a file.\n\n---\n\n## Install Debian/Ubuntu\n```bash\n▶ sudo apt install ripgrep curl\n```\n## Install MacOS\n```bash\n▶ brew install ripgrep curl\n```\n\n### Options\n\n```bash\n# Usage of http_file_prober.sh:\n▶ http_file_prober.sh [url] [url2] [urlX..]\n        Put one or more space-delimited urls/domains as arguments\n▶ cat urls.txt | xargs -n10 -P25 /fullpath/http_file_prober.sh\n        Run multiple process \"-P25\" - process count. Check out `man xargs` for help\n```\n\n### Usage sample\n\n```bash\n▶ ./http_file_prober.sh https://pastebin.com/raw/{8XD3uxYQ,cydhSP1v,g5wTvVq7}\nhttps://pastebin.com/raw/8XD3uxYQ                                                     | Null       | text/plain\nhttps://pastebin.com/raw/cydhSP1v                                                     | Null       | text/plain\nhttps://pastebin.com/raw/g5wTvVq7                                                     | Null       | text/plain\n\n▶ ./http_file_prober.sh https://yandex.ru/news/quotes/2002.html https://yandex.ru/support/common/troubleshooting/main.html\nhttps://yandex.ru/news/quotes/2002.html                                               | 6856       | text/html\nhttps://yandex.ru/support/common/troubleshooting/main.html                            | 266851     | text/html\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh4r7w3l1%2Fhttp_file_prober","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh4r7w3l1%2Fhttp_file_prober","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh4r7w3l1%2Fhttp_file_prober/lists"}