Comments (1)
So I wrote this at a time before reddit had added that feature. It looks like the only new argument the sumbit_gallery function needs is images
, but PRAW has that as an object and if I was still coding this I might have added some extra code to try making the input more flat like the other commands.
But if you're okay with a more complicated input, all that you'd really have to change is:
- Modify the three lines in the main loop to pass an extra
images
argument tosubmitPost
. - Modify
submitPost
to accept an extraimages
argument. - Modify the logic in
submitPost
to use thesubmit_gallery
whenimages
is not None.
All of those you should be able to more or less base off of the existing code, and should probably be possible with some trial and error even if you aren't sure what all the code is doing.
Hope that helps.
from reddit-post-scheduler.
Related Issues (10)
- not an issue but need help. HOT 4
- Get an Error HOT 2
- Setting reddit.validate_on_submit to True HOT 3
- Schedule comments on non-existent post HOT 2
- Posting text over multiple lines ? HOT 1
- How to find out the uuid for flairid? HOT 3
- Can't post if sub uses AutoMod bot HOT 1
- Use proxy? HOT 1
- How to post on hours? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reddit-post-scheduler.