608 questions
-1
votes
0
answers
48
views
Reddit trend give similar result for all keywords
I am after finding the number of times a keyword is repeated during the last 24 hours.
Reddit trend give similar result for all keywords.
I believe there is something wrong. All trends give me a ...
0
votes
1
answer
94
views
Bad request while accessing the Authorization URL for PRAW Reddit API wrapper
I'm trying to Authenticate via OAuth using Code Flow method for my python script. while do so, I'm getting following message while accessing the obtained authorization url - "bad request (reddit....
0
votes
0
answers
33
views
scraping gilded comments using PRAW from reddit
I am trying to extract gilded comments from reddit using PRAW library but receiving HTTP 400 code. I am using the following code snippet provided in the documentation:
for item in reddit.subreddit(&...
1
vote
1
answer
145
views
PRAW (Reddit) - reddit variable is not defined?
Very much a noob question. I'm trying to code with copilot and some (many) things in the code need fixing. However I can't progress past this error. I've installed and imported praw, I've defined the ...
2
votes
1
answer
1k
views
Scraping subreddit from inception to present
I'm currently working on retrieving data from a subreddit, aiming to capture all posts since its inception. However, I'm encountering a limitation where I can only access information for the latest ...
1
vote
0
answers
245
views
Keyword exact match search for Reddit using praw subreddit.search
I am new to using praw library for reddit, and I'm using subreddit.search
my code goes something like this
subreddit = reddit.subreddit("REDDITNAME")
for submission in subreddit.search("...
0
votes
0
answers
111
views
PRAW Reddit API - How do I speed up this web scraping code?
I'm gathering recent cross posts of about a 1000 popular subreddits, But the code takes a while to run.. How do I speed up this process? Please help!
submission_data = []
sub_count = 0
for sub in ...
3
votes
0
answers
653
views
pycharm bug? Inspection false positives when import an asynccontextmanager
EDIT
now a reproduced issue
https://youtrack.jetbrains.com/issue/PY-65385
EDIT i made a more minimal reproduction, and discovered it only happens when importing..
As of today Pycharm is highlighting ...
0
votes
2
answers
121
views
How to export python list to excel file?
I am trying to export a list of Reddit comments I web scrapped to an Excel file. The file is created but gives me this error in Excel:
"Excel cannot open the file 'test1.xlsx' because the file ...
0
votes
1
answer
154
views
Gathering all top-level comments from r/worldnews live thread
I'm a student trying to get all top-level comments from this r/worldnews live thread:
https://www.reddit.com/r/worldnews/comments/1735w17/rworldnews_live_thread_for_2023_israelhamas/
for a school ...
1
vote
1
answer
69
views
Pandas Python Script not holding respondents score in table
There is a quiz script that gives a bonus to the fastest respondents and then 1 point for any correct answer in the timeframe. After a recent update for the newest pandas library the part that applies ...
1
vote
0
answers
68
views
Reddit PRAW bot posting with my main account and not the bot
I'm able to post images using python PRAW but it's only posting from my user account and not the bot.
reddit = praw.Reddit(
client_id=secret.client_id,
client_secret=secret....
0
votes
1
answer
196
views
Asyncpraw basic reddit API example throws error right after execution
I just got into trying to make a bot using the AsyncPraw Reddit API wrapper. I copy-pasted the code example in the documentation and i can't get it to run without getting atleast a warning.
by trying ...
1
vote
0
answers
190
views
How can I pull all comments from posts within a subreddit that contain a specific search term?
I am trying to create a python script with PRAW (python reddit wrapper) that will pull the title, submission date/time, number of comments, URL, and comments for any submission that contains a ...
1
vote
1
answer
214
views
Is there a way to track API calls through PRAW?
I'm using PRAW in my Python script and am trying to figure out a way to track the number of API calls that it has made. Is there a way to do this?
Regards.