]> git.gir.st - subscriptionfeed.git/commit
proxy and fixup subtitles
authorgirst <tobi@isticktoit.net>
Fri, 17 Jul 2020 21:22:10 +0000 (23:22 +0200)
committergirst <tobi@isticktoit.net>
Fri, 17 Jul 2020 21:25:39 +0000 (23:25 +0200)
commit3a0002e7d87fb0628b6a7db5d88af562e50579d9
tree0459c4a4b33542a48e31516303cf3bc61c362b80
parent6e96d0cca6d8a119ad99b07e5205561546e4f0b5
proxy and fixup subtitles

proxying is necessary, because youtube doesn't send CORS headers. we
don't either, since we expect the consumer of the timedtext-proxy to
only be us ourselves. if someone wants to use it externally (e.g. as an
api), they'd have to add cors headers.

thanks goes out to perflyst[m] on #invidious for checking that
youtube's timedtext endpoint is "safe" for us to use.
app/common/common.py
app/youtube/__init__.py
app/youtube/templates/watch.html.j2
Imprint / Impressum