Making a Bot to Promote my Channel (Python Reddit API Project)

preview_player
Показать описание
Big thank you to all the new subscribers I really appreciate it!
#redditapi #pythonproject
In this video I create a reddit that automatically posts to subreddits. I mainly use praw (The Python API Wrapper) to do this.
Рекомендации по теме
Комментарии
Автор

Just built this for another channel of mine and it worked!!! Thanks! Never written a python script before.

salesforceemily
Автор

The best part is that you weren’t toxic and posted only on subreddits that allow self promotion. Good job :>

StriderRBLX
Автор

You're a real one! This worked flawlessly, thanks! But can you let me know a way where the code can output the subreddit it posted the video on as well as the link of the subreddit post. Thanks once again

hrithikg
Автор

I really wish this was on git, it would make looking through the code a million times easier. You move really fast.

dadenergy_
Автор

is there a way to do this with subreddits that require a flair? Im trying to automate taking a twitter post and creating a Reddit post into a subreddit that requires a flair

DOSE_Collective
Автор

Good going I found the exact thing what I was looking for

nightcoder
Автор

This is such a life saver! Thank you 🥰

theadoboburger
Автор

So my code posted to 2 of 3 subreddits on my list and After waiting 15 minutes of ratelimit, it posted to the second one and the third one. Why did it post twice in the second subreddit?

HipperChannel
Автор

Great video thanks so much for sharing

danielt
Автор

Wow, It really seams to work. Came from r/madeinpython and you earnt yourself a subscriber !

palashsureka
Автор

That's a cool idea. This helped me a lot with a project I want to make too.

Gath
Автор

how to stop my bot from postiong the same thing again ?

dykoyaa
Автор

Could I hire you to assist with some of my projects?

upcloselife
Автор

Which Program did you use becuase python just say it dosent work the "Pip3 Install Praw"

nichlas
Автор

I can't find the submit anywhere in the documentation. Did they removed it? Can someone reply with the link?

ΜιχαληςΤσαχακης
Автор

Very nice! Do you have a github link to this?

thebluechimera
Автор

Hi can we scraping images from subreddit into json and posting it to hugo cms? Thanks

mrsfunny
Автор

at 5:47 when I'm run the code, instead of getting a rate limit error this happened,

reddit.py
DeprecationWarning: Reddit will check for validation on all posts around May-June 2020. It is recommended to check for validation by setting reddit.validate_on_submit to True.
reddit.subreddit(subreddit).submit(title, url=link, send_replies=False)

reddit.py
DeprecationWarning: Reddit will check for validation on all posts around May-June 2020. It is recommended to check for validation by setting reddit.validate_on_submit to True.
reddit.subreddit(subreddit).submit(title, url=link, send_replies=False)
Traceback (most recent call last):
File "C:\Users\User\Desktop\reddit\reddit.py", line 51, in <module>
reddit.subreddit(subreddit).submit(title, url=link, send_replies=False)
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\praw\models\reddit\subreddit.py", line 997, in submit
return self._reddit.post(API_PATH["submit"], data=data)
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\praw\reddit.py", line 809, in post
raise last_exception
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\praw\reddit.py", line 793, in post
return self._objectify_request(
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\praw\reddit.py", line 695, in _objectify_request
return self._objector.objectify(
File "C:\Users\User\AppData\Roaming\Python\Python39\site-packages\praw\objector.py", line 181, in objectify
raise RedditAPIException(errors)
SUBMIT_VALIDATION_REPOST: 'This community has limits on how often the same link
can be posted, and this link was posted within the past 1 days' on field 'link'

it means it works without getting any rate limit errors. when I check notifications on Reddit, it says you have successfully uploaded a post to the sub reddit.
what just happened on my side. I only use these two subreddits to check it

subreddits = ['SelfPromotionYoutube', 'Youtubeviews']

Pixel_Recap
join shbcf.ru