Skip to content

dytttf/openget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openget

A Spider FrameWork.

Installation

You can install openget by simply doing:

pip install openget
pip install git+https://github.com/dytttf/openget.git@main
pip install git+https://github.com/dytttf/openget.git@dev

Usage

Very Important Thing This line must be the first line in code

from openget.spiders import *

命令行支持

  1. 生成配置文件样例
# 环境变量类型的配置文件
python -m openget --gen_env_example
  1. 查看配置文件内容
# 环境变量类型的配置文件
python -m openget --show_env_config

About Environment Variable

优先级

  1. $(pwd)/.env
  2. ~/.openget/.env

docker build

cd docekr
bash build.sh

TODO

  • ftp download
  • auto add task
  • statis crawl speed
  • browser support: zhipin.com tmall.com
  • sqlite.db rename
  • use cmd to create spider template
  • 金融许可证 卡死问题处理
  • 环境变量定义优化
  • 新项目创建优化
  • 极简模式、完整模式 减少包的依赖

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages