Git Product home page Git Product logo

dingdongmonitor's Introduction

Ding-dongMonitor

叮咚运力监控,监控叮咚首页公告信息获取当前运力情况与货品有货情况,通过bark app通知到手机。本工具不需要抓包,只需要获取经纬度坐标即可
经纬度获取: https://lbs.amap.com/tools/picker (叮咚使用的是火星坐标系——GCJ-02)
已不可用

运行效果

image

使用说明

  1. 自己使用Charles、Fiddler等工具对叮咚买菜小程序、App抓包,获取config.yaml中需要的参数。
  2. 不想抓包或者不会抓包可以直接在配置文件填写家里的经纬度。经纬度获取: https://lbs.amap.com/tools/picker
  3. 不想build可以直接下release包 https://github.com/czqu/dingdongMonitor/releases
  4. 目前好像不填写经纬度就会405

运行

目前提供两种方式运行,

本机运行

构建:
go build
运行:

1.将config.example.yaml改名为config.yaml
2.根据提示设置配置文件
3.直接打开程序运行。在本机将根据配置文件设置的频率在未登录的情况下访问叮咚首页信息

GitHub Action运行

1.fork本仓库
2.将config.example.yaml改名为config.yaml,设置好所需信息
3.根据monitor.yml设置好相应的secrets,并解除注释
monitor.yml配置方法参见:
GitHub Actions文档 - GitHub Docs
Crontab.guru - The cron schedule expression editor
填好之后大概是这样的,不懂yaml格式的可以看看(隐私信息已做处理): image

dingdongmonitor's People

Contributors

3096 avatar voidbytes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dingdongmonitor's Issues

Github Action运行的参数

Readme里的从 Github Action运行里的

“3.根据monitor.yml设置好相应的secrets,并解除注释”
不是太理解。那这时候走action的话config.yaml里的经纬度参数还有用吗?
还是需要自己在secrets里设置LNG,LAT,URL等参数,“解除注释”是啥意思 ,比较懵

我看monitor里的参数有点奇怪,怎么都引用的是同一个变量名(LAT和BARK_ID_1以及BARK_ID_2)见附件图
屏幕截图 2022-05-08 001939
secrets.URL 是https://maicai.api.ddxq.mobi/homeApi/homeFlowDetail 吗 (反正打开是405 = =|||)

没玩过这些,没啥基础,看了半天不太明白,希望大佬不吝解惑!感谢

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.