Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
66 lines (47 loc) · 2.34 KB

README.md

File metadata and controls

executable file
·
66 lines (47 loc) · 2.34 KB

DuTracker

⚠️ 现在每天要板砖了 此项目不再维护 部分接口已失效


本项目旨在追踪 毒-运动x潮流x装备各个商品价格变化

dashboard

Requires

Getting started

  1. docker-compose up -d启动程序
  2. 访问:http://localhost:3000/配置influxDB,如图:
  3. template.json导入DashBoard
  4. 利用抓包工具获取 毒App内:购买-分类-品牌/系列-任意子项(Nike,Converse) 访问的URL,替换DuTracker/utils/urls.py中的信息

Usage

  • 导入需要追踪的商品ID
  • 追踪商品价格趋势
    • python dt.py start -v
    • 自动更新指定品牌、系列包含商品 python dt.py start -v -b 176 -s 53
    • 追踪销量高于 xx 的商品 python dt.py start --min xx
    • 通过scylla代理 python dt.py start -v --proxy http://127.0.0.1:8081
  • Grafana配置

FAQ

URL更新方式

利用Fildder 获取 毒App内:购买-分类-品牌/系列-任意子项(Nike,Converse) 访问的URL,替换DuTracker/utils/urls.py中的信息

grafana docker 启动失败

查看容器log得到以下信息

# docker logs dutracker_ui_1
GF_PATHS_DATA='/var/lib/grafana' is not writable.
You may have issues with file permissions, more information here: http://docs.grafana.org/installation/docker/#migration-from-a-previous-version-of-the-docker-container-to-5-1-or-later
mkdir: cannot create directory '/var/lib/grafana/plugins': Permission denied

Solution:

chmod -R 777 volumes/grafana
docker start dutracker_ui_1