Skip to main content

Selenium driver that posts to gab.

Project description

Gabposter

Actions Status Actions Status Actions Status

Posts to a gab account text and image.

Install

python -m pip install gabposter

Api

from gabposter import gab_post, gab_test

USER = "gabusername"
PASS = "gabpassword"
FILE_JPG = "myfile.jpg"

assert gab_test(), "Webdriver doesn't work on your system"

gab_post(USER, PASS, "test", jpg_path=FILE_JPG)

Tests

Just simply run tox at the command line and everything should be tested. You may need to install tox with python -m pip tox.

Changes

  • 1.2.2: Now uses open-webdriver to handle the setup of webdriver.
  • 1.2.1: Now works on windows/linux. Had to switch to webdriver-setup. Github platform unit tests now run on every update.
  • 1.2.0: Headless feature now implemented for chrome/brave. Experimental firefox support. Driver can now be selected as chrome/brave/firefox.
  • 1.1.0: Driver now uses chrome by default. Logic improved to work across browsers.
  • 1.0.6: Fix bug where some paths used a different driver directory
  • 1.0.5: Stash downloaded selenium driver in app directory rather than current, to improve app bundling.
  • 1.0.4: Adds gab_test() for testing that connecting to gab works using the webdriver.
  • 1.0.3: Fixed a bug where posts would sometimes not go through, due to the browser exiting too quickly.
  • 1.0.0: Initial code submit

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gabposter-1.2.3.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

gabposter-1.2.3-py2.py3-none-any.whl (7.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file gabposter-1.2.3.tar.gz.

File metadata

  • Download URL: gabposter-1.2.3.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for gabposter-1.2.3.tar.gz
Algorithm Hash digest
SHA256 58198c59cd83b0ed43b92235be48290c101118e2c2042e9c835c09547be8d4e2
MD5 a75ad50c42b8c4c031ba2f988a78dccc
BLAKE2b-256 a683c41837b83f5bd04504e8b44227ab5c1a27edbe78b4b4d3dbb8f9b990bfa4

See more details on using hashes here.

File details

Details for the file gabposter-1.2.3-py2.py3-none-any.whl.

File metadata

  • Download URL: gabposter-1.2.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for gabposter-1.2.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d49da79250a687a0b8d57f23f2d609b0b0a9cfb08233afac478906a258ded953
MD5 94ea10ba8d86a8f41abd13143039a9c8
BLAKE2b-256 f3c3f3877d0c0de7cd1e3fd59b4e98aab4b187567dccd9fd9be4bc731176bd12

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page