2025-10-17 Fri
- "Mo Features, Mo Problems"
- Abstraction layers
- LiteLLM
- LiteLLM/Q/What are the costs of abstraction layers some discussion on this topic
- AWS/Bedrock/Access/Gateway
- Abstraction layers
- Context Rot
- #Question
- if a model like gemini-2.5-pro has an input context of 1M, how does its "context rot" compare with a model with a smaller context window like 250k Tokens?
- #Question
- AI/Coding/Tip/Use DeepWiki to Draft GitHub Issues
- CLI/Tool/Search
- YouTube/How To/Download a screenshot and a description of a video frame
- yt-dlp
it's about to get harder to use this tool to gain access to youtube information
- [Announcement] Upcoming new requirements for YouTube downloads · Issue #14404 · yt-dlp/yt-dlp
The relationship between yt-dlp and the JS runtime will be analogous to the relationship between yt-dlp and ffmpeg. You need to bring your own ffmpeg, but yt-dlp can still do a lot of things without it.
Currently, yt-dlp relies on a complicated set of regex patterns to identify the necessary functions in the YouTube player JS, and relies on even more regex to try and interpret that JavaScript code natively within Python.
So the regex-based approach has been abandoned in favor of an AST-based approach (https://github.com/yt-dlp/ejs), which should allow us to respond much more quickly to changes in the player JS, even as its obfuscation increases.
Deno is sandboxed by default and does not allow filesystem or network access. This is essential to protect our less-technically-inclined users. It also comes as a single-file portable executable, making its "installation" comparable to that of ffmpeg (which is something that all of our users should already be familiar with.)
Another obstacle we are facing in the near future is YouTube's proof-of-origin (PO) token requirement being enforced for all YT player clients. Implementing a built-in solution to this will also require JavaScript functionality which far exceeds that of our native
jsinterpmodule. So we chose a runtime that would be able to handle the JS challenges (nparameter/signature cipher) as well as PO token generation in the future.
- PO Token Guide · yt-dlp/yt-dlp Wiki
Proof of Origin (PO) Token is a parameter that YouTube requires to be sent with requests from some clients. Without it, requests for the affected clients' format URLs may return HTTP Error 403, or result in your account or IP address being blocked.
A PO Token is generated by an attestation provider on Web, Android and iOS platforms to attest the requests are coming from a genuine client.
- [Announcement] Upcoming new requirements for YouTube downloads · Issue #14404 · yt-dlp/yt-dlp
- yt-dlp
- YouTube/How To/Download a screenshot and a description of a video frame