{"id":17967654,"url":"https://github.com/kong36088/BaiduImageSpider","last_synced_at":"2025-03-25T08:31:24.011Z","repository":{"id":3880622,"uuid":"51208777","full_name":"kong36088/BaiduImageSpider","owner":"kong36088","description":"一个超级轻量的百度图片爬虫","archived":false,"fork":false,"pushed_at":"2023-05-29T09:24:08.000Z","size":54,"stargazers_count":874,"open_issues_count":4,"forks_count":392,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-10-29T15:49:14.563Z","etag":null,"topics":["baidu","crawler","python3","spider"],"latest_commit_sha":null,"homepage":"","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/kong36088.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":"2016-02-06T15:54:08.000Z","updated_at":"2024-10-23T08:19:14.000Z","dependencies_parsed_at":"2023-07-05T17:00:40.408Z","dependency_job_id":null,"html_url":"https://github.com/kong36088/BaiduImageSpider","commit_stats":{"total_commits":32,"total_committers":5,"mean_commits":6.4,"dds":0.46875,"last_synced_commit":"0e263a8f76f4222f447e403fc44f2fcff52bec00"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kong36088%2FBaiduImageSpider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kong36088%2FBaiduImageSpider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kong36088%2FBaiduImageSpider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kong36088%2FBaiduImageSpider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kong36088","download_url":"https://codeload.github.com/kong36088/BaiduImageSpider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245426262,"owners_count":20613320,"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":["baidu","crawler","python3","spider"],"created_at":"2024-10-29T14:09:14.163Z","updated_at":"2025-03-25T08:31:23.715Z","avatar_url":"https://github.com/kong36088.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# BaiduImageSpider\n百度图片爬虫，基于python3\n\n个人学习开发用\n\n单线程爬取百度图片。\n\n# 爬虫工具 Required\n\n**需要安装python版本 \u003e= 3.6**\n\n# 使用方法\n```\n$ python crawling.py -h\nusage: crawling.py [-h] -w WORD -tp TOTAL_PAGE -sp START_PAGE\n                   [-pp [{10,20,30,40,50,60,70,80,90,100}]] [-d DELAY]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -w WORD, --word WORD  抓取关键词\n  -tp TOTAL_PAGE, --total_page TOTAL_PAGE\n                        需要抓取的总页数\n  -sp START_PAGE, --start_page START_PAGE\n                        起始页数\n  -pp [{10,20,30,40,50,60,70,80,90,100}], --per_page [{10,20,30,40,50,60,70,80,90,100}]\n                        每页大小\n  -d DELAY, --delay DELAY\n                        抓取延时（间隔）\n```\n\n开始爬取图片\n```\npython crawling.py --word \"美女\" --total_page 10 --start_page 1 --per_page 30\n```\n\n\n另外也可以在`crawling.py`最后一行修改编辑查找关键字\n图片默认保存在项目路径\n运行爬虫：\n``` python\npython crawling.py\n```\n\n# 博客\n\n[爬虫总结](http://www.jwlchina.cn/2016/02/06/python%E7%99%BE%E5%BA%A6%E5%9B%BE%E7%89%87%E7%88%AC%E8%99%AB/)\n\n效果图：\n![效果图](http://blog-image.jwlchina.cn/kong36088/kong36088.github.io/master/uploads/python%E5%9B%BE%E7%89%87%E7%88%AC%E8%99%AB%E6%88%AA%E5%9B%BE.png)\n\n# 捐赠\n\n您的支持是对我的最大鼓励！\n谢谢你请我吃糖\n![wechatpay](http://blog-image.jwlchina.cn/kong36088/kong36088.github.io/master/uploads/site/wechat-pay.png)\n![alipay](http://blog-image.jwlchina.cn/kong36088/kong36088.github.io/master/uploads/site/zhifubao.jpg)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkong36088%2FBaiduImageSpider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkong36088%2FBaiduImageSpider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkong36088%2FBaiduImageSpider/lists"}