Code Monkey home page Code Monkey logo

getgrass's Introduction

getgrass.io脚本

本项目为grass运行脚本

目前市面上很多代挂工作室或者,本脚本主要服务需要的人

项目官网https://app.getgrass.io/register/?referralCode=xv4tsqSC9SftAXJ

为什么浏览器可以挖要用脚本?在浏览器环境必须打开浏览器才能挖,很多人想多号或者在linux等环境下运行,此时这个脚本就发挥用武之地

使用教程

  • 安装python

    ​ 环境要求python 3.9以上,具体操作百度一下

  • 导包

    单独导包:grass.py文件都复制到你的服务器某个目录下依次运行pip3 install websockets 、pip3 install websockets_proxy、pip3 install Faker 、pip3 install async_timeout

    批量导包:把 requirements.txt文件、grass.py文件都复制到你的服务器某个目录下,pip3 install -r requirements.txt

  • 将main方法参数换成你的

        user_id = '5b62d235-273c-4707-85df-9bcca26a5306' #你自己的user_id
        use_proxy = False  # 设置为 True 则使用代理,False 则不使用,根据自己需求
        # socks5代理账号密码模式 格式'socks5://username:password@address:port'
        # socks5代理无密码模式格式 'socks5://address:port'
        proxies = [Proxy.from_url("socks5://192.168.124.20:1082"),Proxy.from_url("socks5://udk390:[email protected]:16790")]#如果使用代理把这里改成你的,使用几个改几个
    

    user_id改为你的user_id

    如果不用代理不用动,如果使用代理就use_proxy设置为True,然后在下面addr和port填写的代理ip和密码

    如果代理有用户名密码下面接着填。没有就把username和password删了即可

    然后运行:python3 grass.py即可

    如何配置多号?

    多号你就在这里多配置几个代理信息,然后遍历循环,开启多线程,保障每个线程一个单独ip即可。

  • 如何获取user_id

    打开链接登录https://app.getgrass.io/dashboard, 然后浏览器按F12打开开发者工具 在控制台(console)输入下面代码

    localStorage.userId
    

    打印的就是你目前的user_id

    image-20240206145338215

    如果第一次用出现这样警告,就按提示输入allow pasting即可粘贴

    image-20240206145444725

一定要使用纯净家庭宽带ip否则跑不起来的 跑不起来检测自己网络问题,像阿里云这些机房服务器没积分的

getgrass's People

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.