Code Monkey home page Code Monkey logo

reddit-post-scheduler's People

Contributors

ibid-11962 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

reddit-post-scheduler's Issues

How to post on hours?

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 :)

Setting reddit.validate_on_submit to True

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.

not an issue but need help.

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?

Schedule comments on non-existent post

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

Can't post if sub uses AutoMod bot

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"},

Get an Error

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"},

Use proxy?

Is there anyway to use a proxy? cause I run multiple accounts

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.