Skip to content

爬取福利彩票中奖信息并绘制中奖海报

Notifications You must be signed in to change notification settings

Tiiiktak/UnionLottoPoster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UnionLottoPoster 福彩开奖海报

  • 爬取福彩彩票中奖信息(双色球、快乐8、福彩3D、七乐彩)
  • 使用模板绘制彩票海报

poster

Demo

使用 Gradio 简单实现: ./demo_gradio

gradio demo

结构

UnionLottoPoster
  ├─ README.md
  ├─ config.yml
  ├─ lotto_poster
  │  ├─ crawler     // 爬虫
  │  │  ├─ crawler.py  
  │  │  ├─ base.py     // 基类,其余爬虫类从此派生
  │  │  └─ cwl_official.py // 福彩官网(cwl.gov.cn)
  │  ├─ drawer      // 绘制
  │  │  └─ poster_drawer.py
  │  ├─ util        // 工具
  │  │  ├─ cfg.py   // 配置文件
  │  │  ├─ code_info_format.py // 中奖信息格式
  │  │  └─ exception.py        // 异常
  │  └─ app        // fastapi backend #TODO
  ├─ demo_gradio
  │  └─ demo.py    
  └─ doc

About

爬取福利彩票中奖信息并绘制中奖海报

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages