YouTube API v3 Java authorization

前端 未结 2 1405
有刺的猬
有刺的猬 2021-01-07 01:28

I\'m using the YouTube Data API (Java) to upload videos to my YouTube channel. I\'ve tested it on my Windows PC and succeeded. But the authorization in the sample makes a Cr

2条回答
  •  醉梦人生
    2021-01-07 01:46

    You could use SSH as a proxy and then use a local browser to use that proxy.

    ssh -ND 8080 user@server.example.com That sets a SOCKS proxy. Just edit your browser's proxy settings to IP: localhost Port: 8080 and your traffic is going out over SSH.

    Just remember that all your browser's traffic is going through the proxy until you disable it so don't do anything against network policy while you're logged in. I might suggest using a private instance of Chrome, for example.

    Note: This probably won't work for domain lookups so you'll need the local (to the SSH host) IP of the router.

提交回复
热议问题