Repository navigation
v2.7.2
Changelog
3650856 Update dependencies
a3286f2 Merge pull request #199 from Camelva/innertube
d542ea7 using real sts instead of hard-coded. Also changing function signature because we need context now
ab72fd5 moving part about fetching player config to separate function because we need to re-use it. Also declaring additional error for cases when we couldn't find sts
ef58cc0 Turns out, request without playbackContext and, in particular,signatureTimestamp always lead to 403 "Access Denied" after decrypting signature. This value seems like doesn't change too often, so temporarily hard-coding it just to fix problem as soon as possible. But later need to fetch it from youtube. Also browser metadata isn't mandatory for request, instead its better to specify language so server responses always be same