Selenium driver that posts to gab.
Project description
Gabposter
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.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
Release history Release notifications | RSS feed
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.0.5.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for gabposter-1.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ccdbc136e6d97c0886c057142161621551bac58ed8a72cda72a5179112f5a9c |
|
MD5 | 698d459bc241a83fabbc1d8abf425efa |
|
BLAKE2b-256 | f1dacfe2d39535d1e273bfc080ca103036ad921dc9ce65d2b6ad2a5f092778b2 |