mirror of
https://github.com/wassname/scrape_r_rational.git
synced 2026-10-05 13:10:56 +08:00
23b4bf7c4f4aaac928c688827bd109afe9063d99
rrational
scrapping reddit.com/r/rational and analytics
-
This project has data from r/rational in markdown that you can browse, see ./data/cache2/ for the data.
-
This project also has an html table you can see/download at https://wassname.github.io/scrape_r_rational/
Project plan:
- Init
- Fill out README
- Scrape r/rational
- use statistics
- Use llm to get reccomendations, sentiment, karma etc
- share
- comment md to html
- comment expand
- threads where it's mentioned
- better tittles and data cleaning
- github pages
Install requirements
This project uses poetry for requirement and is set up for torch using cuda.
poetry install
Then
cp .env.example .env
Then fill out the api keys
How to run
First run <nbs/mjc_001_download.ipynb> to update the data in <data/cache2/>
Then run <nbs/mjc_004_process.ipynb> to analyse the data and output <index.html>
use nb 05 to run an llm from openrouter (costs around $50) and the results are... OK
Description
scraping book reccomendations from reddit r rational
176 MiB
0 Stars
1 Watchers
0 Forks
Languages
Jupyter Notebook
95.9%
Python
2.3%
HTML
1.8%
