proxy youtube?

Written by
Link to Post

Hi All,

I’m trying to build a go http proxy for youtube. Why youtube? Because I figure that’s gotta be the hardest proxy case I can think of, and it’ll be good for learning Go. It’s a useless proxy, proxying http://localhost:8000 –>

I can get it to sort of work, but video playback doesn’t work, and I can’t figure out why. I’ve tried using different APIs to make the calls, tried doing different type of io reading, notta. I can get it to sometimes load the youtube homepage, sometimes load a picture, but I’ve never gotten further than that.

I put the code here:

Can anyone point me in the right direction? What am I doing wrong here?

Thanks in advance!

submitted by /u/ipeerbhai
[link] [comments]

Article Tags:
· ·
Article Categories:

Leave a Reply