Giter VIP home page Giter VIP logo

meroshare-automate's Introduction

Automating Meroshare

Usage

1. Clone Repo

git clone https://github.com/VoidArchive/meroshare-automate.git
cd meroshare-automate

2. Create a Virtual Environment

python3 -m venv venv
source venv/bin/activate

3. Install Requirements

pip install -r requirements.txt

4. Download Selenium Web driver

5. Put the web driver path in meroshare.py

options = webdriver.ChromeOptions()
# Any chromium browser executable path
options.binary_location = r'/usr/bin/brave-browser'
options.add_argument("--incognito")
# Here >>
self.browser = webdriver.Chrome(
	executable_path=r'YOURPATH/chromedriver', options=options)

6. Make your data/data.json file

Your can add all your account details here, make sure not to share it.

[
  {
    "Name": "Your name",
    "DP": "GLOBAL IME CAPITAL LIMITED (11200)",
    "Username": "123456",
    "Password": "Your password",
    "CRN": "00000000",
    "BOID": "0000000000000000000",
    "PIN": "0000"
  },

  {
    "Name": "Your name",
    "DP": "GLOBAL IME CAPITAL LIMITED (11200)",
    "Username": "123456",
    "Password": "Your password",
    "CRN": "00000000",
    "BOID": "0000000000000000000",
    "PIN": "0000"
  }
]

7. Run main.py file

python main.py

Demo

  • Enter a to apply for share or c to check.

Important!

In main.py line number 38, you can change the row number.

print(meroshare.get_result(offer_row=0))

And, You can comment line number 60 if you're sure all account have same row structure, bonus or right share are provided.

# Comment this line if you're sure all account have same row structure, bonus or right share are provided.
row = int(input("Enter the row no: "))
meroshare.get_offering(offer_row=row)

meroshare-automate's People

Contributors

voidarchive avatar

Stargazers

Anish Shrestha avatar  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.