this post was submitted on 10 Jul 2023
-4 points (25.0% liked)

Programming

17308 readers
221 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

Using Python, How can I create a bot/script that let's me re-post a subreddit's post to Lemmy?

Just wanted to do a simple little project to practice my programming skills.

I just need to know the outline/backbone of things I should know to do this project.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago

Use
https://github.com/amarpersaud/python-jplaw
to interact with Lemmy (make sure it's v0.1.7+ since 0.1.6 had a bug and couldn't create posts) and
https://github.com/praw-dev/praw to interact with Reddit