Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reddit poster #1026

Merged
merged 19 commits into from Jun 24, 2018

Conversation

Projects
None yet
2 participants
@jappeace
Copy link
Contributor

jappeace commented May 6, 2018

Posts articles to reddit, you can specify specific subs within the article by using the subbreddit key. You do need to enable this as an app on a reddit account, but once it's done it should make it much more easy to do publishing on reddit at least.
It just creates posts with links towards your own website.

Have fun.

@justinmayer

This comment has been minimized.

Copy link
Member

justinmayer commented Jun 24, 2018

Thank you for the contribution, Jappie.

@justinmayer justinmayer merged commit e202321 into getpelican:master Jun 24, 2018

schtobia added a commit to schtobia/pelican-plugins that referenced this pull request Dec 13, 2018

Reddit poster (getpelican#1026)
* ignoring venv file

* I can read reddit posts

* Drop scope to just post articles, this will do for now

* This has side effects on reddit!

* finally found the url and context in the same func

* I think this mostly works

* Add collection sub to example

* Add readme file may be more handy then put it in source code

* Let's not put our life story in the module description

* Clean up code a bit, remove dead code, move random assignment below imports

* Make the searching stop work

* Simplify posting code

Late at night I apprantly don't do many reductions

* add -> append

* re-add search to avoid assertion error

* I guess we just catch the assertion error, don't know why it fails

* Ignore empty string subs that may be caused by additional spacing

* Use crosspost feature to reduce rate limit issues

* Don't  resbumit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.