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

Programming

17308 readers
191 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.

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 1 year ago (1 children)

This question is probably a better fit for [email protected] community.

[–] [email protected] 3 points 1 year ago

thanks, will subscribe there too.

[–] [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