What is Nostr?
lamp /
npub18ct…j7pp
2023-03-20 08:51:32

lamp on Nostr: Ayya, got a really simple prototype going! Type a search query in, it searches & ...

Ayya, got a really simple prototype going! Type a search query in, it searches & extracts the first result with YoutubeDL and redirects to the raw video URL. :blobcathappy:​

Next thing I'll have to do, since in VRChat many people will be requesting this same URL at once, I have to start this process once on the first request, and have all the other requests wait until it's done, and then reply with the (cached) redirect to all of them. Not sure how I'm gonna do that... a dictionary and while loops to wait on its values? Or some sort of call back setup.. (i'm not experienced with python)

Author Public Key
npub18ctny2qrhjmwkptydzqfwmu5cjhwg5htvmjgjjcvu0xefq409sqqx4j7pp