Skip to content

User Participation #14

Answered by nick-sh-oh
yazgiakata57 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @yazgiakata57,

Thank you for your question. Yes, it is possible to extract specific users' posts that they've uploaded across different subreddits and download them into a CSV file, provided that you have their usernames.

If you have usernames

If you already have a collection of usernames, you can create a list of users and pass it as an input to collect.submission_from_user. The code below will collect the top 10 most controversial submissions made by each user:

from redditharbor.dock.pipeline import collect

users = [...] # your collection of usernames

collect.submission_from_user(users=users, sort_types=["controversial"], limit=10)

To collect all possible submissions from these us…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nick-sh-oh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants