Scraping saved comments and posts from Reddit
I am trying to scrape saved comments and posts on my reddit profile. I have made a solution with selenium and python and it is providing results. But it is utterly slow. First it scrolls through the whole 1000 saved comments and posts(which takes around 41 mins) and then it starts adding the links to a text file, which is also very slow. As it have to reload the data at top again. All the posts and comments are dynamically loaded, also when new sections are loaded previous get hidden from the page. A better approach would be to save the links right after they are loaded, but I am not sure how
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.