A bot to automate regular image posts from a variety of sources.
Project description
Lemmy Post Automation
A bot to automate regular image posts from a variety of sources.
Running the Bot
In its default configuration, the bot is set up to accept links to image boards in a CSV list. It then processes the list on a schedule defined using cron syntax, checks the target community for duplicates, and then posts the image (reuploaded to a provided hosting site) with a title in the format of Title [Content Warning] (Artist). Below is an example configuration setup to post images from data/post_list.csv to transfem every day at 6am:
import os
from pythonlemmy import LemmyHttp
from postautomation import PostAutomation
if __name__ == "__main__":
lemmy = LemmyHttp("https://lemmy.blahaj.zone")
lemmy.login("username", "hunter2")
automation = PostAutomation.create(
lemmy,
"transfem",
"data/post_list.csv",
"0 6 * * *"
)
automation.run()
From this, custom upload targets can be provided, as well as custom scrapers.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lemmy_post_automation-1.5.0a14.tar.gz.
File metadata
- Download URL: lemmy_post_automation-1.5.0a14.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b302abe8b9d5d41427965a3adf6c196f8597320863aeb2ec563cf1ca0066d442
|
|
| MD5 |
18ab84b835a3c04f3e511eb17fdc9725
|
|
| BLAKE2b-256 |
be7e74a00faf69266fde1aeeffcc4fe86bf50bcc33479f69f7409ab55a9b65db
|
File details
Details for the file lemmy_post_automation-1.5.0a14-py3-none-any.whl.
File metadata
- Download URL: lemmy_post_automation-1.5.0a14-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
162524a3565cd004f9c6bdd58368f926eba1248d4189f5ef234ee494b41518d4
|
|
| MD5 |
6a0bcf6d259a473bfee1fe048681ad6a
|
|
| BLAKE2b-256 |
2cf5d8e2223d7522474dfba28ead03d800f0ebfbbb1dfd125f0edb54c4558547
|