{"id":20187875,"url":"https://github.com/humbertodias/docker-scrapy-mailer","last_synced_at":"2026-05-06T09:38:39.097Z","repository":{"id":133698795,"uuid":"114471125","full_name":"humbertodias/docker-scrapy-mailer","owner":"humbertodias","description":"Docker Scrapy Mailer","archived":false,"fork":false,"pushed_at":"2018-06-11T04:19:35.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-02T02:09:03.438Z","etag":null,"topics":["cron-schedule","docker","mako-framework","python","scrapy"],"latest_commit_sha":null,"homepage":"","language":"Python","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/humbertodias.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-16T15:37:05.000Z","updated_at":"2018-06-11T04:19:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e5697bd-25ed-4cf9-9ffe-11e69e2ec40c","html_url":"https://github.com/humbertodias/docker-scrapy-mailer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humbertodias%2Fdocker-scrapy-mailer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humbertodias%2Fdocker-scrapy-mailer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humbertodias%2Fdocker-scrapy-mailer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/humbertodias%2Fdocker-scrapy-mailer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/humbertodias","download_url":"https://codeload.github.com/humbertodias/docker-scrapy-mailer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241622613,"owners_count":19992504,"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":["cron-schedule","docker","mako-framework","python","scrapy"],"created_at":"2024-11-14T03:26:18.953Z","updated_at":"2025-11-28T11:05:40.364Z","avatar_url":"https://github.com/humbertodias.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Scrapy Mailer\n\nIt's a simple [Docker](https://www.docker.com) container that uses [Scrapy](https://scrapy.org) library to grab and parse a website, generating parsable JSON file.\n\nAfter that we bind the JSON with a [Mako](http://www.makotemplates.org) template, resulting in a dynamic mail content.\n\nFinally, we send it according to the **MAIL_TO** informed environment variable.\n\n## Pre Requirements\n\n1. [Docker](https://docs.docker.com/install) 18+\n\n## How to Run\n\nBuild\n\n```\ndocker build -t docker-scrapy-mailer:latest .\n```\n\nRun\n\n```\ndocker run -e MAIL_FROM=\"from@mail\" \\\n-e MAIL_FROM_PASSWORD=\"***\" \\\n-e MAIL_TO=\"to1@mail,to2@mail,to3@mail\" \\\n-e MAIL_SUBJECT=\"Mail Subject\" \\\n-e MAIL_TEXT=\"Mail Text Body\" \\\n-e MAIL_SMTP_HOST=\"smtp.mail\" \\\n-e MAIL_SMTP_PORT=\"587\" \\\n-e CRON_SCHEDULE=\"*/1 * * * *\" \\\n-ti docker-scrapy-mailer\n```\n\n\nTo make your **CRON_SCHEDULE** exception easily use the serive [CronTab Generator](https://crontab-generator.org)\n\nLike\n\n\n![](cron_schedule_format.png)\n\n## References\n\n* [CronTab Generator](https://crontab-generator.org)\n\n* [Scrapy](https://scrapy.org)\n\n* [Mako](http://www.makotemplates.org)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumbertodias%2Fdocker-scrapy-mailer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumbertodias%2Fdocker-scrapy-mailer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumbertodias%2Fdocker-scrapy-mailer/lists"}