Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrews1022/reddit-stock-scraper
A simpe node script to scrape reddit for most mentioned stock tickers
https://github.com/andrews1022/reddit-stock-scraper
fun javascript node reddit scraper stocks
Last synced: 1 day ago
JSON representation
A simpe node script to scrape reddit for most mentioned stock tickers
- Host: GitHub
- URL: https://github.com/andrews1022/reddit-stock-scraper
- Owner: andrews1022
- Created: 2021-03-02T00:28:40.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-24T17:52:01.000Z (about 2 years ago)
- Last Synced: 2024-11-25T17:04:38.831Z (2 months ago)
- Topics: fun, javascript, node, reddit, scraper, stocks
- Language: JavaScript
- Homepage:
- Size: 318 KB
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reddit Stock Scraper
This is a simple Node based Reddit scraper for finding which stocks are getting the most mentions. As of Mar 2, 2021, this project uses only the following packages:
- Cheerio (for the scraping)
- ESLint (to enforce code quality)
- ESM (to allow the use of import instead of require)
- Node-Fetch (for fetching the data)
- Prompt (to get user input for custom/dynamic results)## Usage
Make sure you have [Node.js](https://nodejs.org/en/) installed first.
`npm install`
`npm run scrape`
Then simply enter in the subreddit name you wish to scrape (case sensitive), and the number of results you want.
And that's it!