Voltar ao ranking

Boris-code/feapder

Pythonfeapder.com

🚀🚀🚀feapder is an easy to use, powerful crawler framework | feapder是一款上手简单,功能强大的Python爬虫框架。内置AirSpider、Spider、TaskSpider、BatchSpider四种爬虫解决不同场景的需求。且支持断点续爬、监控报警、浏览器渲染、海量数据去重等功能。更有功能强大的爬虫管理系统feaplat为其提供方便的部署及调度

scrapyfeapderspidercrawlerpythonfeaplat
Crescimento de estrelas
Estrelas
3.7k
Forks
545
Crescimento semanal
Issues
103
1k2k3k
fev. de 2021nov. de 2022set. de 2024jul. de 2026
ArtefatosPyPIpip install feapder
README

FEAPDER

Downloads Downloads Downloads

简介

  1. feapder是一款上手简单,功能强大的Python爬虫框架,内置AirSpider、Spider、TaskSpider、BatchSpider四种爬虫解决不同场景的需求。
  2. 支持断点续爬、监控报警、浏览器渲染、海量数据去重等功能。
  3. 更有功能强大的爬虫管理系统feaplat为其提供方便的部署及调度

读音: [ˈfiːpdə]

feapder

文档地址

环境要求:

  • Python 3.6.0+
  • Works on Linux, Windows, macOS

安装

From PyPi:

精简版

pip install feapder

浏览器渲染版:

pip install "feapder[render]"

完整版:

pip install "feapder[all]"

三个版本区别:

  1. 精简版:不支持浏览器渲染、不支持基于内存去重、不支持入库mongo
  2. 浏览器渲染版:不支持基于内存去重、不支持入库mongo
  3. 完整版:支持所有功能

完整版可能会安装出错,若安装出错,请参考安装问题

小试一下

创建爬虫

feapder create -s first_spider

创建后的爬虫代码如下:

import feapder


class FirstSpider(feapder.AirSpider):
    def start_requests(self):
        yield feapder.Request("https://www.baidu.com")

    def parse(self, request, response):
        print(response)


if __name__ == "__main__":
    FirstSpider().start()
        

直接运行,打印如下:

Thread-2|2021-02-09 14:55:11,373|request.py|get_response|line:283|DEBUG|
                -------------- FirstSpider.parse request for ----------------
                url  = https://www.baidu.com
                method = GET
                body = {'timeout': 22, 'stream': True, 'verify': False, 'headers': {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.93 Safari/537.36'}}

<Response [200]>
Thread-2|2021-02-09 14:55:11,610|parser_control.py|run|line:415|DEBUG| parser 等待任务...
FirstSpider|2021-02-09 14:55:14,620|air_spider.py|run|line:80|INFO| 无任务,爬虫结束

代码解释如下:

  1. start_requests: 生产任务
  2. parse: 解析数据

感谢以下代理赞助商

LokiProxy

支持免费测试,住宅代理低至 $0.48/GB,移动代理低至 $0.91/GB,不限量住宅代理仅 $12/小时即可体验 ⚡, 支持ASN精准定位及无限并发会话,高稳定、高性价比

链接: https://www.lokiproxy.com/?utm_t=1&utm_i=158

参与贡献

贡献之前请先阅读 贡献指南

感谢所有做过贡献的人!

爬虫工具推荐

  1. 爬虫在线工具库:http://www.spidertools.cn
  2. 爬虫管理系统:http://feapder.com/#/feapder_platform/feaplat
  3. 验证码识别库:https://github.com/sml2h3/ddddocr

微信赞赏

如果您觉得这个项目帮助到了您,您可以帮作者买一杯咖啡表示鼓励 🍹

也可和作者交个朋友,解决您在使用过程中遇到的问题

赞赏码

学习交流

知识星球:17321694 作者微信: boris_tm QQ群号:521494615

加好友备注:feapder

Repositórios relacionados
crawlab-team/crawlab

Distributed web crawler admin platform for spiders management regardless of languages and frameworks. 分布式爬虫管理平台,支持任何语言和框架

GoGo ModulesBSD 3-Clause "New" or "Revised" Licensewebcrawlerscrapy
crawlab.cn
12.2k1.9k
lining0806/PythonSpiderNotes

Python入门网络爬虫之精华版

PythonPyPIpythonzhihu
7.5k2.2k
chyroc/WechatSogou

基于搜狗微信搜索的微信公众号爬虫接口

PythonPyPIApache License 2.0wechatsogou
6.3k1.7k
rmax/scrapy-redis

Redis-based components for Scrapy.

PythonPyPIMIT Licensescrapycrawler
scrapy-redis.readthedocs.io
5.6k1.6k
DropsDevopsOrg/ECommerceCrawlers

实战🐍多种网站、电商数据爬虫🕷。包含🕸:淘宝商品、微信公众号、大众点评、企查查、招聘网站、闲鱼、阿里任务、博客园、微博、百度贴吧、豆瓣电影、包图网、全景网、豆瓣音乐、某省药监局、搜狐新闻、机器学习文本采集、fofa资产采集、汽车之家、国家统计局、百度关键词收录数、蜘蛛泛目录、今日头条、豆瓣影评、携程、小米应用商店、安居客、途家民宿❤️❤️❤️。微信爬虫展示项目:

PythonPyPIMIT Licensepython3crawler
wechat.doonsec.com
5.6k1.4k
SpiderClub/haipproxy

:sparkling_heart: High available distributed ip proxy pool, powerd by Scrapy and Redis

PythonPyPIMIT Licensehigh-availabilityscrapy
spiderclub.github.io/haipproxy/
5.5k899
nghuyong/WeiboSpider

持续维护的新浪微博采集工具🚀🚀🚀

PythonPyPIMIT Licensescrapypython
4.1k837
Gerapy/Gerapy

Distributed Crawler Management Framework Based on Scrapy, Scrapyd, Django and Vue.js

PythonPyPIMIT Licensescrapydistributed
docs.gerapy.com
3.5k646
my8100/scrapydweb

Web app for Scrapyd cluster management, Scrapy log analysis & visualization, Auto packaging, Timer tasks, Monitor & Alert, and Mobile UI. Docs 文档 :point_right:

PythonPyPIGNU General Public License v3.0scrapyscrapyd
github.com/my8100/files
3.4k583
wkunzhi/Python3-Spider

Python爬虫实战 - 模拟登陆各大网站 包含但不限于:滑块验证、拼多多、美团、百度、bilibili、大众点评、淘宝,如果喜欢请start ❤️

PythonPyPIscrapypython
3.4k1k
scrapy-plugins/scrapy-splash

Scrapy+Splash for JavaScript integration

PythonPyPIBSD 3-Clause "New" or "Revised" Licensescrapyheadless-browsers
3.2k456
CodeRayZhang/Movie_Recommend

基于Spark的电影推荐系统,包含爬虫项目、web网站、后台管理系统以及spark推荐系统

JavaMavenMIT Licensespark-mllibspark-streaming
3k1.1k