{"id":18263086,"url":"https://github.com/baifei2014/crawl","last_synced_at":"2025-09-03T15:44:25.700Z","repository":{"id":105300889,"uuid":"224767871","full_name":"baifei2014/crawl","owner":"baifei2014","description":"selenium异步爬取网页图片","archived":false,"fork":false,"pushed_at":"2019-11-29T03:18:11.000Z","size":28,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T20:36:33.115Z","etag":null,"topics":["django","docker","mysql","python","python3","rabbitmq","selenium"],"latest_commit_sha":null,"homepage":null,"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/baifei2014.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":"2019-11-29T03:11:10.000Z","updated_at":"2023-07-13T07:23:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"bb3fbc51-9027-492c-98b0-7810353085eb","html_url":"https://github.com/baifei2014/crawl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/baifei2014/crawl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baifei2014%2Fcrawl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baifei2014%2Fcrawl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baifei2014%2Fcrawl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baifei2014%2Fcrawl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baifei2014","download_url":"https://codeload.github.com/baifei2014/crawl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baifei2014%2Fcrawl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273467732,"owners_count":25111133,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"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":["django","docker","mysql","python","python3","rabbitmq","selenium"],"created_at":"2024-11-05T11:09:50.008Z","updated_at":"2025-09-03T15:44:25.657Z","avatar_url":"https://github.com/baifei2014.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 背景简介\n\n一朋友需要下载网页中大量图片，但是一个个点击下载太麻烦，问如何自动将所有图片下载到本地。一开始想使用python爬虫框架scrapy来做这件事，但是会触发网站反爬机制，比较难解决。后来决定使用selenium自动化测试框架来做这件事情，通过自动化测试框架打开页面，就像人操作浏览器打开是一样的，不会轻易的触发反爬机制。于是我就开始做这个项目。\n\n爬取网页图片包含以下几个方面\n\n- 基于python3的selenium页面解析工具集\n- docker一键式部署解决依赖\n- django常驻进程脚本开发\n- rabbitmq异步任务消费\n\n# 快速使用\n1. 本地安装\n\t- git\n\t- docker\n\t- docker-compose\n2. 克隆项目\n\t```\n\t$ git clone git@github.com:baifei2014/crawl.git\n\t```\n3. 拷贝并命名配置文件\n\t```\n\t$ cd crawl\n\t$ cp env.sample .env\n\t$ docker-compose up\n\t```\n\n这时，如果生产者已经准备好，发送消息时，就能执行自动下载图片任务了\n\n# License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaifei2014%2Fcrawl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaifei2014%2Fcrawl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaifei2014%2Fcrawl/lists"}