JosephLai241 / URS

Universal Reddit Scraper - A comprehensive Reddit scraping/archival command-line tool.
https://josephlai241.github.io/URS/
MIT License
780 stars 105 forks source link

Feature Request #25

Closed nilknarfamme closed 3 years ago

nilknarfamme commented 3 years ago

Hi, thanks so much for making this. It's really helpful.

I'm just wondering whether there is a way to also get the OP's comment text when scraping a submission using the 'Comments' function? At the moment I am only able to get the replies and not the original post for a specified URL.

Thanks a lot for any help or advice you can give!

JosephLai241 commented 3 years ago

Hi @nilknarfamme, I actually just added this feature last night. If you go to the submission comments samples, you will see that there is a "submission_metadata" field within the "data" field near the top of the file. This block contains data pertaining to the original submission.

nilknarfamme commented 3 years ago

amazing, thank you!!