Reddit stock sentiment Daniel Rotkopf

Scrape a subreddit

The other half of the project: point it at a subreddit, let it collect posts and their comment trees, and run every comment through the model for a breakdown of the room.

Not on this server

Scraping drives a real Chrome through Reddit's search pages. That needs a browser installed and a few hundred megabytes of memory to run it, takes minutes per request, and left open on a public URL it would be a button anyone could hold down. This box has under a gigabyte of RAM and also serves the portfolio, so the scraper stays off here.

It runs locally with everything in the repository:

git clone https://github.com/DaniDevML/LSTM_project_daniel_rotkopf
pip install -r requirements.txt
SCRAPER_ENABLED=1 python app.py

The model itself is not switched off — analysing text uses the real trained weights, here, on request.