nichobi / sponsorblockcast

A shell script that skips sponsored YouTube content on all local Chromecasts
GNU General Public License v3.0
348 stars 15 forks source link

encode params to avoid non rfc3986 compliant uri #36

Closed tayl closed 1 year ago

tayl commented 1 year ago

$categories contains square brackets, which must be encoded when used in a URI. Aside from this, the cloudflare load balancer in front of sponsor.ajay.app has inconsistent behavior when handling URIs with unencoded square brackets, resulting in unhandled 400 errors.