20 Commits

Author SHA1 Message Date
cc192cf566 Implement article filtering to avoid reprocessing already downloaded articles 2026-01-31 12:06:37 -06:00
1cbeb55463 Fix filename sanitization to resolve Linux permission denied errors 2026-01-31 11:53:32 -06:00
7808922aac Remove U.S. News – Money RSS feed that was causing connection issues 2026-01-31 11:45:44 -06:00
e23b4c2ac9 Add enhanced error handling for 'Remote end closed connection' errors in RSS feed parsing 2026-01-31 11:44:08 -06:00
e975350701 Add explicit Firefox path handling for /usr/bin/firefox to fix PATH issues 2026-01-31 11:38:48 -06:00
ea99b69e87 Add better error handling for Firefox binary not found error 2026-01-31 11:34:50 -06:00
341cbde833 Minor logging update - existing logging already shows proper article counts 2026-01-31 11:33:49 -06:00
d5625605ad Add more robust timeout handling for RSS feed parsing to prevent hanging feeds 2026-01-31 11:27:14 -06:00
a07c637984 Remove problematic NASDAQ feed that was holding up threads 2026-01-31 11:24:59 -06:00
4ee338ae4d Optimize RSS feed processing with parallel parsing and improved error handling 2026-01-31 11:23:25 -06:00
03b728d172 Improve logging in scraper with timestamps and focused new file notifications 2026-01-31 11:16:05 -06:00
936dd4dc28 Force exit if RSS feed file not found, as requested 2026-01-31 11:02:54 -06:00
874c64c9d1 Fix file path handling and add robust error handling for cron job execution 2026-01-31 11:00:14 -06:00
585499a171 Add webhook functionality to send new articles to external endpoint 2026-01-31 05:28:18 -06:00
b923201695 Adding a cron job script and a setup script to help with setting up cronjob 2026-01-31 09:49:18 +00:00
b8a24a9fb1 feat(scraper): Add cron_scraper.py to fix freezing issues 2026-01-31 00:03:06 -06:00
f32902e894 New Readmes, cleaned reqs.txt, fixed multithreading issue, and commenting out aiserver and embedder until more testing done 2025-10-17 09:53:15 -05:00
e207823427 Changing out AP rss feed 2025-10-17 01:59:22 -05:00
c534c5a159 user/jarian/addingScraperDocker (#2)
This fully implements the Stock Docs Project with full Docker Containerization support. This is a working prototype that is actively running on the Media Server. There's a few issues noted, including the following:
- Support for some sites could be improved. Reuters has many articles behind an adblock and some websites present banners that don't need to be processed by our AI engine
- Some caching could be smarter. As the size of files grows, it will get expensive to search through all files to be sure we've not scraped it, ai proccessed it or embedded it.
- Logging could be improved to be much better than just print statements and telemetry could be sent for dashboard monitoring if this were ever to become a full service where we cared about reliability.
- MCP server has been noted to return some poorly matching results. Would be better if it returned nothing at all. And should never really return banners or ads as that provides awful input for the model. Perhaps the model could be told to not care about this, but it's better to just never show irrelevant info to the model

I think this is an overall really good jumping off point, and we've already gotten to see the max capabilities of our system so far. It's a major win to have the Scraper for instance running at all times getting articles from across the web. I look forward to expending this scraper in the near future for projects like scraping all local news websites in the US or general scraping and monitoring of websites.

Co-authored-by: Jarian Cottingham <jariancottingham@dev-machine.local>
Co-authored-by: jarianc <user@example.com>
Reviewed-on: http://git.example.com/jarianc/StockDocs/pulls/2
2025-07-16 01:06:34 -05:00
cd67adaae4 Initial Commit 2025-07-05 05:35:29 +00:00