Giter VIP home page Giter VIP logo

meituan's Introduction

美团限时红包,神券自动获取

visitors

20230308113641

1. 本项目优点

  • 部署简单,支持本地,青龙,腾讯云函数等部署方式
  • 简化参数设置
  • 优化代码
  • 自动遍历全国主要城市的红包池

2. TODO

  • 多账户支持,看是否有需要

使用方法

3. token的获取和设置

3.1 获取token

登录后在美团首页F12检查,点击network,刷新网页,拖进度条点击第一个请求,然后复制请求头中cookie 的token字段,注意只要token字段,格式为"token={token};"中的 {token} 字段,不带分号,更不是整个cookie。

比如原本Cookies中的token字段为 token="1234";只需要1234就行,字符串格式。

注意 用账号密码登陆!!!短线验证码登陆的ck 时效短,很快就过期了

3.2 设置token

方法一:可直接修改脚本中的token字段 方法二:设置环境变量 meituantoken

4. 开启tg推送

因为tg确实方便好用,又没限制,就只写了tg的推送。 建议脚本部署在国内网络环境中,我默认脚本中内置我自己的一个tg推送的 API反代,方便大家使用。

4.1 启用tg推送

修改USE_TGUSE_TG = True.

然后就是 TG_BOT_TOKEN为你的bot的token. TG_USER_ID是你的用户id,如果不会获取的可以点击这个机器人获取.

启动设置

python meituan.py

定时设置建议为0 11,14,15,16,17,21,0,1,2,3 * * *

Thanks

VonalienVonalier 等脚本

测试

微信图片_20230308113634

meituan's People

Contributors

kemomi avatar

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.