How solid29081/youtubeforwindows works
This is a small Python desktop WebView wrapper that opens YouTube, exposes a JavaScript-to-Python bridge for alerts and URI navigation, and persists page cookies by domain. The sampled source shows the launch, navigation, and cookie behavior; the HTML asset’s role is not established by the excerpts.
Main entry points: app.py WebView launcher · cookies Cookie files
Components 7
Other components
- User
- WebView launcher
app.py - Cookie handling
app.py - URI bridge
app.py - WebView runtime
- Cookie files
cookies - YouTube
Connections 10
- User → WebView launcher: launches
app.py - WebView launcher → WebView runtime: creates window
app.py - WebView launcher → YouTube: opens initially
app.py - WebView launcher → Cookie handling: registers callbacks
app.py - Cookie handling → Cookie files: reads and writes
app.py - Cookie handling → WebView runtime: injects cookies
app.py - WebView runtime → Cookie handling: signals page load
app.py - WebView runtime → URI bridge: dispatches bridge calls
app.py - URI bridge → WebView runtime: loads URI
app.py - URI bridge → YouTube: navigates to URL
app.py