Code Monkey home page Code Monkey logo

wdcautomate's Introduction

Automatically quantify in DLSQuantify/WDCquantify

Caution

Since about 06/2024 WDC and DSL "pulled the rug" and are not procassing any outgoing transactions on their platform. DO NOT INVEST MONEY IN THIS SCAM. I will keep this repository online purely for educational purposes.

This Image uses python selenium and Firefox to automatically sign you in and press the "Quantify" button for you on a specified time.
To solve the login captcha we use tesseract ocr.

Prerequisites

You need docker engine or docker desktop installed.

Warning

Runnung on raspberypi currently requires a 64-bit operating system like raspian-64 (Raspberry Pi OS 64 bit) or Ubuntu. Ubuntu noble is 64-bit by default

Running

To run the container, specify your environment variables and run the image using docker:

Note

The container runs in London time, just like WDC.

Note

The container now uses dslvip.com by default. If you want to use wdcvip.top use environment variable PLATFORM like this: "PLATFORM=wdcvip.top".

docker run -e "HOUR=20" -e "MINUTE=05" -e "WDCUsername=123456789" -e "WDCPassword=changeme" -d ghcr.io/makramc/wdcautomate:latest

That's it! To verify that the container is running list all running containers using:

docker ps

Or deploy using docker-compose:

services:
  wdcautomate:
    image: ghcr.io/makramc/wdcautomate:latest
    environment:
      - HOUR=20
      - MINUTE=05
      - WDCUsername=123456789
      - WDCPassword=yourpassword
      #The Platform you want to use (wdcvip.top/dslvip.com)
      - platform="dslvip.com"

Contents

This container is based on the python image. There are additional packages that need to be installed to the alpine base image.

Packages

firefox - The firefox web browser where we load the site and log in.
tesseract - For solving captchas using optical character recognition.
tesseract-eng - The English dataset for tesseract.\

Pip dependencies

selenium - For controlling the headless firefox browser.
pytesseract - Wrapper to use tesseract in python.
webdriver-manager - So we don't manually have to install the webdrivers for selenium.

Building

To build a test image:

docker build -t wdcautomate:test .

Disclamer

DSL Quantify/WDC Quantify is likely a ponzi/pyramid scheme. Please do not "invest" your hard earned money on this platform. I am of course not responsible for any losses on this platform or through my script.

I created this project as a proof of concept and to educate myself and learn about python and docker and had a lot of fun creating it. I do not know if I find the time/resources to maintain this if something ever changes on WDC's website/backend.

Contributing

If you got ideas/fixes/patches I am open to pull requests or issues.

wdcautomate's People

Contributors

makramc avatar

Stargazers

 avatar

Watchers

 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.