https://github.com/ronething/pet-spider
https://github.com/ronething/pet-spider
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ronething/pet-spider
- Owner: ronething
- Created: 2019-04-08T17:54:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-30T20:48:43.000Z (about 5 years ago)
- Last Synced: 2025-05-18T04:36:20.266Z (about 1 year ago)
- Language: PLpgSQL
- Size: 841 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pet-spider
## Introduction
- None
## Development
```sh
pipenv install
# modify db pwd
# db = pymysql.connect("localhost", "root", "root", "pet")
pipenv run python start.py
```
## Interface
### dog `petRaceId=1`
`http://www.yc.cn/api/searchPetData.do?petRaceId=1&pageNum=1&pageSize=8&keyword=&baseInfo=&detailInfo=&jsonCallback=jQuery11130879826298049732_1554727081494&_=1554727081497`
### cat `petRaceId=2`
## Site
`http://www.yc.cn/pet`