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.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
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.6.tar.gz
(6.0 kB
view details)
Built Distribution
File details
Details for the file gabposter-1.0.6.tar.gz
.
File metadata
- Download URL: gabposter-1.0.6.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 220bfad6b906e941fac14464ebfee560d85958f8eb6d202ad6d0b7a428003c93 |
|
MD5 | 40c6d473009252f6857da76372072fa8 |
|
BLAKE2b-256 | 15680e7df36f520e9cd460a46f2c0e3e96a9ff59e6cb511484366bf909ec37c2 |
File details
Details for the file gabposter-1.0.6-py2.py3-none-any.whl
.
File metadata
- Download URL: gabposter-1.0.6-py2.py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4a55f027a3a084359c74f700298f34ac56915a8552f3606ef77329061f8020f |
|
MD5 | 6d6404b459dfe7c54729e3737f194f84 |
|
BLAKE2b-256 | bf5184e1625f2f6c3ad0d2cdc9c205ffbab3850d371448b4fdb46e09d83adb53 |