Given a subreddit name and a keyword, this script will return all top (by default) posts that contain the specified word.
git clone https://github.com/rly0nheart/reddit-post-scraping-tool.git
cd reddit-post-scraping-tool
python reddithposthscrapinghtool.py --keyword [keyword] --subreddit [subreddit]
Happy hunting!✌🏾😎