praw Questions
2
Solved
So I want to download videos from reddit, I've seen projects on github but I'm very new to python and don't know how it works, if someone could explain I'd appreciate it, I found this project It wo...
Pepys asked 14/11, 2020 at 20:50
4
Solved
As the title says.
When I execute the converted python file (the .exe) I get the following output:
Traceback (most recent call last):
File "background.py", line 10, in <module>
File "site...
Cornemuse asked 19/4, 2018 at 8:30
2
Solved
I'm working on a bot where I only have the comment IDs, e.g., t1_asdasd. I don't have access to the parent thread or anything. Can I pull the corresponding comment object with just the comment ID?
...
1
Solved
I am using the dotenv package. I had a key that I had saved in my .env file but I updated it to a new key, but my script still outputs the old key. I have the ".env" file in the root dire...
Ruminant asked 26/8, 2020 at 1:47
3
Solved
I'm trying to iterate over submissions of a certain subreddit from the newest to the oldest using PRAW. I used to do it like this:
subreddit = reddit.subreddit('LandscapePhotography')
for submissi...
1
I would like to generate a list of usernames of users who use a specific subreddit.
As far as I know, it is not possible to simply get a list of users who subscribed to the subreddit. If that's no...
2
As the title says, I'm unable to find the function in PRAW to reply to a post on Reddit.
I've written a rather simple bot so far, which looks for new posts on a certain subreddit. My problem is th...
3
Solved
The official way,
r = praw.Reddit('Comment Scraper 1.0 by u/_Daimon_ see '
'https://praw.readthedocs.org/en/latest/'
'pages/comment_parsing.html')
submission = r.get_submission(submission_id='11...
Delgado asked 1/4, 2016 at 21:49
2
Solved
I'm using the following code to obtain reddit search results with PRAW 4.4.0:
params = {'sort':'new', 'time_filter':'year'}
return reddit.subreddit(subreddit).search('', **params)
I'd like to sc...
1
Solved
I'm trying to retrieve the last 1000 comments from a user since 1000 is the Reddit limit.
I followed the code example here, and modified a few of the calls for the updated API. Such as user.get_c...
3
I have a simple Python script that pulls posts from reddit and posts them on Twitter. Unfortunately, tonight it began having issues that I'm assuming are because of someone's title on reddit having...
2
Solved
I'm using PRAW to create a Reddit bot that submits something once a day. After submitting I want to save the url of the submission and write it to a text file.
url = r.submit(subreddit, submissio...
2
Solved
import praw
def get_data_reddit(search):
username=""
password=""
r = praw.Reddit(user_agent='')
r.login(username,password,disable_warning=True)
posts=r.search(search, subr...
Industrious asked 23/6, 2015 at 10:56
2
Solved
I am trying to write a reddit bot that takes the word "fuck" and see how many people say that on reddit. Here is the code:
import praw
import time
import re
import sqlite3
username = "LewisTheRob...
1
© 2022 - 2024 — McMap. All rights reserved.