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

Add insidemollywood #243

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions reddit2telegram/channels/r_insidemollywood/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Just empty file
35 changes: 35 additions & 0 deletions reddit2telegram/channels/r_insidemollywood/app.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#encoding:utf-8

from utils import weighted_random_subreddit


# Subreddit that will be a source of content
subreddit = weighted_random_subreddit({
'insidemollywood': 1.0,
# If we want get content from several subreddits
# please provide here 'subreddit': probability
# 'any_other_subreddit': 0.02
})
# Telegram channel with @reddit2telegram_bot as an admin
t_channel = '@r_insidemollywood'


def send_post(submission, r2t):
return r2t.send_simple(submission,
# Submission should have at least min_upvotes_limit upvotes.
min_upvotes_limit=20,
# If you do not want text submissions, just pass False.
text=True,
# If you want gifs, just pass True or text you want under gif.
gif=True,
# If you want videos, just pass True or text you want under gif.
video=True,
# If you want images, just pass True or text you want under image.
img=True,
# If you want Imgur albums, just pass True or text you want under albums.
album=True,
# If you want Reddit galleries, just pass True or text you want under albums.
gallery=True,
# If you do not want other submissions, just pass False.
other=False
)
1 change: 1 addition & 0 deletions reddit2telegram/channels/r_insidemollywood/tags.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#malayalam #mollywood #gossips
3 changes: 2 additions & 1 deletion reddit2telegram/own.cron
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ MASK submodule_name
30 * * * * r_thehatedone
30 * * * * r_stray
30 * * * * brasildob
30 * * * * r_insidemollywood
31 * * * * r_dndgreentext # 15.
31 * * * * r_listentothis
31 * * * * r_woooosh
Expand Down Expand Up @@ -824,4 +825,4 @@ MASK submodule_name
59 * * * * r_pokemonmasters
59 */2 * * * r_badcode
59 * * * * reddit_argentina
59 * * * * r_nikkemobile
59 * * * * r_nikkemobile
Loading