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.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.4.tar.gz
(5.4 kB
view hashes)
Built Distribution
Close
Hashes for gabposter-1.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f1fd90e5dcbc2279e6fb92b8436156e0a0ac5d53c52f6e414fa877cabc3f8c9 |
|
MD5 | 19526395e6f2dc84e00ba8e39647b03e |
|
BLAKE2b-256 | 380a77ba1f5cbb99c7329155442c3055d2d33fdf0430c955cbdb70399d718394 |