Update documentation with Phase 2 Action 2 findings

This commit is contained in:
2025-10-30 20:17:39 +01:00
parent 0d45d295c3
commit a35d23c598
2 changed files with 17 additions and 3 deletions

View File

@@ -37,7 +37,19 @@ This document chronicles the key steps, findings, and decisions made during the
* **Implications:** Highly fragile (subject to breaking), **critical compliance risk** (violates YouTube's Terms of Service).
* **Action:** `DEVELOPMENT_PLAN.md` was updated with these findings.
## Phase 2: Re-exploration of YouTube Data API v3 (Creative Use)
### Action 1: Live Chat Replay API
* **Investigation:** Explored `liveChatMessages.list` for replays to assess quota characteristics and suitability for near real-time.
* **Findings:** `liveChatMessages.list` costs 5 quota points per request, regardless of live or replay. Frequent polling exhausts the 10,000 daily quota quickly (approx. 33 mins at 1 req/sec). Not designed for efficient extensive chat history replay. No special quota for replay usage.
* **Conclusion:** Not a sustainable, quota-friendly solution for continuous monitoring.
### Action 2: Minimal `part` Parameters
* **Investigation:** Re-confirmed the absolute minimum `part` parameters for `liveChatMessages.list` to reduce quota cost.
* **Findings:** The minimal `part` parameters to retrieve essential chat message information (author's name, message content, and author's unique ID for persistent colors) are `snippet,authorDetails`. This will incur a cost of 5 quota points per request.
* **Conclusion:** While minimal parameters are identified, the base cost of 5 quota points per request still makes continuous polling unsustainable for the project's goal.
## Next Steps
* Proceed with "Integration with `rich` Display" as outlined in `DEVELOPMENT_PLAN.md`.
* Continue with other phases of the revised research plan, keeping the compliance and fragility risks of `pytchat` in mind.
* Proceed with "Intelligent Polling Refinement" as outlined in `DEVELOPMENT_PLAN.md`.
* Continue with other phases of the revised research plan, keeping the compliance and fragility risks of `pytchat` in mind.