]> git.gir.st - subscriptionfeed.git/commit
finally good /c/ and /user/ matching
authorgirst <tobi@isticktoit.net>
Sat, 8 Jan 2022 00:06:36 +0000 (01:06 +0100)
committergirst <tobi@isticktoit.net>
Sat, 8 Jan 2022 00:08:40 +0000 (01:08 +0100)
commit123a7beb0317388c64b24a2dac3c3e44070aafec
tree52f164fa66c3fe712e8c5242d38f0cbe12911fdf
parent18bf5ede1dc6c22a6ca69f1d23d12b4171c26496
finally good /c/ and /user/ matching

don't look up both types of channels and return just one, but do the
correct lookup in the first place. no point in doing the fallback lookup
now that i'm fairly certain the lookup does the right thing.

note: using @app.route('/<any(user, c):typ>/<user>/') doesn't work,
probably because it then doesn't override the hardcoded rule in
youtube/.
app/browse/__init__.py
app/browse/lib.py
Imprint / Impressum