{"id":40943292,"url":"https://github.com/stratosphereips/collectress","last_synced_at":"2026-01-22T04:37:29.471Z","repository":{"id":181686436,"uuid":"667144164","full_name":"stratosphereips/collectress","owner":"stratosphereips","description":"Collectress (/kəˈlɛktɹɪs/) is a Python tool designed for downloading web data feeds periodically and consistently. ","archived":false,"fork":false,"pushed_at":"2024-12-27T20:07:20.000Z","size":114,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-05T15:03:51.592Z","etag":null,"topics":["feeds","feeds-downloader","threat-intelligence","web-downloader"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stratosphereips.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-07-16T19:30:35.000Z","updated_at":"2024-12-31T20:49:06.000Z","dependencies_parsed_at":"2024-12-27T22:32:22.010Z","dependency_job_id":null,"html_url":"https://github.com/stratosphereips/collectress","commit_stats":null,"previous_names":["stratosphereips/collectress"],"tags_count":27,"template":false,"template_full_name":"stratosphereips/awesome-code-template","purl":"pkg:github/stratosphereips/collectress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stratosphereips%2Fcollectress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stratosphereips%2Fcollectress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stratosphereips%2Fcollectress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stratosphereips%2Fcollectress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stratosphereips","download_url":"https://codeload.github.com/stratosphereips/collectress/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stratosphereips%2Fcollectress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28654885,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["feeds","feeds-downloader","threat-intelligence","web-downloader"],"created_at":"2026-01-22T04:37:29.409Z","updated_at":"2026-01-22T04:37:29.463Z","avatar_url":"https://github.com/stratosphereips.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"1020\" alt=\"image\" src=\"https://github.com/stratosphereips/collectress/assets/2458879/0871f21b-16c5-4101-9c3f-349864237bb4\"\u003e\n\n[![Python package](https://github.com/stratosphereips/collectress/actions/workflows/python-checks.yml/badge.svg)](https://github.com/stratosphereips/collectress/actions/workflows/python-checks.yml)\n[![Validate-YAML](https://github.com/stratosphereips/collectress/actions/workflows/validate-yml.yml/badge.svg)](https://github.com/stratosphereips/collectress/actions/workflows/validate-yml.yml)\n[![CodeQL](https://github.com/stratosphereips/collectress/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/stratosphereips/collectress/actions/workflows/github-code-scanning/codeql)\n[![Docker GHCR](https://github.com/stratosphereips/collectress/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/stratosphereips/collectress/actions/workflows/docker-publish.yml)\n[![Docker Hub CI](https://github.com/stratosphereips/collectress/actions/workflows/docker-hub.yml/badge.svg)](https://github.com/stratosphereips/collectress/actions/workflows/docker-hub.yml)\n\n\nCollectress is a Python tool designed for downloading web data feeds periodically and consistently. The data to download is specified in a YAML feed file. The data is downloaded and stored in a directory structure for each feed and in directories named by the current date.\n\n## Features\n\n- Downloads content from multiple feeds specified in a YAML file\n- Creates a directory for each feed\n- Content stored in a date-structured directory format (YYYY/MM/DD)\n- Handles errors gracefully, allowing the tool to continue even if a single operation fails\n- Command-line arguments for input, output, and cache.\n- Download optimisation through eTag cache.\n- Logs a JSON-formatted comprehensive activity summary per script run\n\n## Usage\n\nCollectress can be run from the command line as follows (a `log.json` will be created upon execution):\n\n```bash\npython collectress.py -f data_feeds.yml -w data_feeds/ -e etag_cache.json\n```\n\nParameters:\n```bash\n  -h, --help            show this help message and exit\n  -e ECACHE, --ecache ECACHE\n                        eTag cache for optimizing downloads\n  -f FEED, --feed FEED  YAML file containing the feeds\n  -w WORKDIR, --workdir WORKDIR\n                        The root of the output directory\n```\n\n## Usage Docker\n\nCollectress can be used through its Docker image:\n\n```bash\ndocker run --rm \\\n           -e TZ=$(readlink /etc/localtime | sed -e 's,/usr/share/zoneinfo/,,' ) \\\n           -v ${PWD}/data_feeds.yml:/collectress/data_feeds.yml \\\n           -v ${PWD}/log.json:/collectress/log.json \\\n           -v ${PWD}/etag_cache.json:/collectress/etag_cache.json \\\n           -v ${PWD}/data_output:/data ghcr.io/stratosphereips/collectress:main \\\n           python collectress.py -f data_feeds.yml -e etag_cache.json -w /data\n```\n\n# About\n\nThis tool was developed at the Stratosphere Laboratory at the Czech Technical University in Prague. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstratosphereips%2Fcollectress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstratosphereips%2Fcollectress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstratosphereips%2Fcollectress/lists"}