Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/donng/teemo
实现简单的爬虫并提供后端api接口服务
https://github.com/donng/teemo
gin golang goquery
Last synced: about 1 month ago
JSON representation
实现简单的爬虫并提供后端api接口服务
- Host: GitHub
- URL: https://github.com/donng/teemo
- Owner: donng
- Created: 2020-05-13T07:29:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-06T07:12:58.000Z (over 2 years ago)
- Last Synced: 2024-11-14T14:19:39.298Z (about 2 months ago)
- Topics: gin, golang, goquery
- Language: Go
- Homepage:
- Size: 34.2 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
teemo: 提莫虽小,五脏俱全
## 功能
- cron:每天定时抓取维基百科的“新闻动态”和“历史上的今天”
- api:提供抓取信息的接口## 安装
1.复制配置文件,并修改其中的配置信息
```
cp conf/env.example.yaml conf/env.yaml
```
2.运行程序
```
go run main.go
```## 依赖
- [gin](https://github.com/gin-gonic/gin)
- [goquery](https://github.com/PuerkitoBio/goquery)
- [gorm](https://github.com/jinzhu/gorm)
- [cron](https://github.com/robfig/cron)