GithubHelp home page GithubHelp logo

terastion / survey-automator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 18 KB

An app to automate select surveys and basic library to write automation scripts

License: GNU General Public License v3.0

Python 100.00%
python selenium surveys

survey-automator's Introduction

Dedicated to my father.

Survey Automator

A program that allows the automation of surveys with Selenium, including a library that can serve as a basic framework to write your own survey automation scripts.

Currently, the program supports surveys for Home Depot and Tropical Smoothie Café (unstable).

Requirements

Dependencies

You can install the Python dependencies with pip:

pip install -r requirements.txt

Other Requirements

You will also need a .env file in the program's directory containing the fields ZIP, FIRSTNAME, LASTNAME, EMAIL, and PHONE. These environmental variables are currently used in automating the Home Depot survey to enter the sweepstakes at the end of the survey, which requires this information. A template .env file is available in .env.example.

Usage

$ python surveytaker.py -b BROWSER [-v] [-nh]

Options

  • -b BROWSER or --browser BROWSER: Browser to use for survey automation. Currently, only chrome and firefox can be used.
  • -h or --help: Show the help message.
  • -v or --verbose: Print debugging messages during the merging process.
  • -nh or --noheadless: Run the program with the browser window visible when automating surveys.

The program will first prompt you for which kind of survey you would like to automate. Depending on the survey selected, it will also prompt you for the appropriate information needed to start the survey.

If the information provided is incorrect or expired, the program will terminate the automation process automatically.

Once a survey has been successfully completed, the program will continue to prompt you for whether you would like to automate another survey.

License

This project is licensed under the terms of the GNU GPL-3.0 license. See the LICENSE file for more information.

survey-automator's People

Contributors

terastion 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.