ibid-11962 / reddit-post-scheduler Goto Github PK
View Code? Open in Web Editor NEWA versatile Python script for scheduling all sort of reddit posts.
A versatile Python script for scheduling all sort of reddit posts.
hi,
thanks for this script.
i tried to submit the post as :
submission=reddit.subreddit(sub).submit(title, selftext = text, send_replies = not (dontnotify))
work but when i tried to submit the post with flair id and text as :
submission=reddit.subreddit(sub).submit(title, selftext = text, flair_id = flairid, flair_text = flairtext, send_replies = not (dontnotify))
did not work and give error 400,so my question is ,one have to be moderator in order to submit the post with flairid and flartext?
Is there anyway to use a proxy? cause I run multiple accounts
How do you find the uuid for flairid?
Hi,
how can i change the code that the bot schedule at M/D/H and not only at M/D?
maybe anyone can help me :)
Is it possible to schedule comments to posts that haven't been made yet? like I set to schedule to make a new post and then post a comment right after
Hi, this is a fantastic script!
I'm not very good at programming, but I was just wondering how I could add the sumbit_gallery function to this.
Hi,
Do you know if there a way to post text over multiple lines?
Thanks!
Hello.
I'm getting the following error:
postscheduler.py:34: 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.
Also, the log says:
Error posting submission -- received 401 HTTP response. Error posting comment -- local variable 'submission' referenced before assignment
Thank you.
Hey,
Is the Bot working at 2022 to post in subreddits?
im getting this
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.
submission = reddit.subreddit(sub).submit(title, selftext=text, url=link, flair_id=flairid, flair_text=flairtext, send_replies=not(dontnotify), nsfw=nsfw, spoiler=spoiler, collection_id=collectionid)
C:\xxxxxx: DeprecationWarning: Accessing attribute ``field`` through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code.
if e.field=="ratelimit":
post code:
{"sub": "vacantus",
"title": "titletext",
"text": "bodytext",
"commenttext": "commenttext",
"date": "5,5"},
There is a bug that if a sub uses automod bot it won't post. The error says:
C:\Users\Administrator\Downloads\reddit_queue\postscheduler.py:37: 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.
submission = reddit.subreddit(sub).submit_image(title, image_path=image, flair_id=flairid, flair_text=flairtext, send_replies=not(dontnotify), nsfw=nsfw, spoiler=spoiler, collection_id=collectionid)
C:\Users\Administrator\Downloads\reddit_queue\postscheduler.py:44: DeprecationWarning: Accessing attribute ``field`` through APIException is deprecated. This behavior will be removed in PRAW 8.0. Check out https://praw.readthedocs.io/en/latest/package_info/praw7_migration.html to learn how to migrate your code.
if e.field=="ratelimit":
postscheduler.log
Error posting comment -- local variable 'submission' referenced before assignment
postqueue.py
{"sub": "fairytail",
"title": "Happy New Year",
"image": "C:\\Users\\Administrator\\Downloads\\reddit_queue\\fairy.jpg",
"flairid": "044de81e-4428-11e9-a984-0e691bf2af0a",
"commenttext": "[Source](https://drawanime.art/pic/95188848)",
"date": "12,31"},
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.