{"id":22468551,"url":"https://github.com/projectweekend/article-collector","last_synced_at":"2025-06-21T23:03:23.933Z","repository":{"id":30671737,"uuid":"34227545","full_name":"projectweekend/Article-Collector","owner":"projectweekend","description":null,"archived":false,"fork":false,"pushed_at":"2015-06-08T00:01:46.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T15:53:18.627Z","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/projectweekend.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}},"created_at":"2015-04-19T22:54:38.000Z","updated_at":"2015-04-29T12:08:24.000Z","dependencies_parsed_at":"2022-09-08T07:01:32.553Z","dependency_job_id":null,"html_url":"https://github.com/projectweekend/Article-Collector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/projectweekend/Article-Collector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectweekend%2FArticle-Collector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectweekend%2FArticle-Collector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectweekend%2FArticle-Collector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectweekend%2FArticle-Collector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/projectweekend","download_url":"https://codeload.github.com/projectweekend/Article-Collector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projectweekend%2FArticle-Collector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261206085,"owners_count":23124833,"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":[],"created_at":"2024-12-06T11:17:26.167Z","updated_at":"2025-06-21T23:03:18.915Z","avatar_url":"https://github.com/projectweekend.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Article-Collector takes a source URL for a news site, extracts all the individual article URLs it can find, and sends each one as a message to RabbitMQ for later processing.\n\n\n## Config\n\nArticle-Collector uses a config file, written in YAML, that contains two properties:\n* `source` - the URL for a news site\n* `rabbit_url` - the connection URL for a RabbitMQ server\n\n#### Example\n```yaml\nsource: http://cnn.com/\nrabbit_url: https://user:password@somerabbitserver.com/whatever\n```\n\n## Run with Docker\nThe Article-Collector is easy to run using [Docker](https://www.docker.com/), first you need to build an image using the provided `Dockerfile`. From inside the project directory:\n\n```\ndocker build -t give_it_a_name .\n```\n\nAfter the build process completes, you can launch a container to run the process. When launching the container, you will need to mount a volume containing the config file you wish to use:\n\n#### Interactive Mode\n\n```\ndocker run -it -v /path/to/config.yml:/src/config.yml give_it_a_name\n```\n\n#### Detached Mode\n\n```\ndocker run -d -v /path/to/config.yml:/src/config.yml give_it_a_name\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojectweekend%2Farticle-collector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprojectweekend%2Farticle-collector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojectweekend%2Farticle-collector/lists"}