feapder icon indicating copy to clipboard operation
feapder copied to clipboard

🚀🚀🚀feapder is an easy to use, powerful crawler framework | feapder是一款上手简单,功能强大的Python爬虫框架。内置AirSpider、Spider、TaskSpider、BatchSpider四种爬虫解决不同场景的需求。且支持断点续爬...

Results 132 feapder issues
Sort by recently updated
recently updated
newest added

>feapder create -s first_spider 3 usage: feapder [-h] [-p] [-s] [-i] [-t] [-init] [-j] [-sj] [-c] [--params] [--setting] [--host] [--port] [--username] [--password] [--db] feapder: error: unrecognized arguments: 3

我有一台2核4G的服务器,当我在setting设置爬虫并发数为10的时候,cpu瞬间100%,这是正常的吗?但内存没有明显的变化

1.76版本的时候发现这个问题 但忘记怎么解决了 现在1.79还遇到这个问题 在setting里面 # # 设置代理 PROXY_EXTRACT_API = "http://webapi.http.zhimacangku.com/getip?num=2&type=1&pro=&city=0&yys=0&port=1&time=1&ts=0&ys=0&cs=0&lb=1&sb=0&pb=4&mr=1&regions=" # 代理提取API ,返回的代理分割符为\r\n PROXY_ENABLE = True 这里num为1 在spider文件里 自定义配置 __custom_setting__ = dict( SPIDER_THREAD_COUNT=1, SPIDER_SLEEP_TIME=[1, 3], SPIDER_MAX_RETRY_TIMES=10, ITEM_FILTER_ENABLE=True, # item 去重...

import feapder from feapder.network.proxy_pool import ProxyPool from feapder import Request from datetime import date from feapder.db.mysqldb import MysqlDB import time, re from utils.tengxunCos import tengxunCos from utils.langconv import * proxy_pool...

诸如pyinstaller打包后,工作目录发生变化,使用os.mkdir()只能创建一级目录,导致系统无法找到指定的路径的问题 ![image](https://user-images.githubusercontent.com/16237201/186168114-6e9d8d48-3b37-4025-a263-9c4fa5ff0e2d.png) 如图,feapder尝试使用os.mkdir()从 ```C:\\Users\\sjtum\\AppData\\Local\\Temp\\_MEI233402``` 创建 ```C:\\Users\\sjtum\\AppData\\Local\\Temp\\_MEI233402\\feapder\\network\\proxy_file``` 导致错误 当然还是建议能不在本地建立缓存https://docs.python.org/3/library/tempfile.html

大佬的parse解析函数写的很棒,很适合小白分析网页数据并定位节点。 但每次都需要向网站发送request,然后根据网站回传的response进行解析,有些网站又做了反爬处理,时不时就弹验证,需要手动处理。实际上,小白写代码时需要不停的获取response(也就是网站的html文件)来编写代码,那就考虑把网站的html保存到本地,然后调用feapder处理,查看了说明文档和网上的实例,都没提及这点,所以想请教大佬该怎么操作?谢谢!

![image](https://user-images.githubusercontent.com/53386874/186968934-28d226f0-b85d-4ea5-b586-80575e52bb2d.png)

![image](https://github.com/Boris-code/feapder/assets/130280563/1fba21b8-29ad-47e3-a21b-9ee6217d0b25)

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...

1、MongoDB 批量更新代码。 2、Redis Hvals 命令返回哈希表所有的值。