涵曦
涵曦
@FlyFlame 参考这个教程吧,https://www.hicairo.com/post/40.html ,域名解析不用迁移到 gcore,可以继续使用 cloudflare 的域名解析,这样就能 cloudflare 配置一个 cdn,gcore 也配置一个 cdn 。
I try open this url in browser, It's can get right json. Need view to get cookie first. ```bash curl 'https://api.bilibili.com/x/web-interface/search/type?context=&page=1&order=pubdate&keyword=%E5%91%A8%E6%9D%B0%E4%BC%A6&duration=0&tids_2=&__refresh__=true&search_type=video&tids=0&highlight=1' \ -H $'cookie: buvid3=B316A51A-F640-D845-A87E-3AE6CCD098EE81984infoc; b_nut=1681592281; CURRENT_FNVAL=4048; _uuid=5C656C26-8135-BA96-9A9D-2B92810510DEB581243infoc; CURRENT_PID=35a6d580-dbd0-11ed-9490-9f9747584641; rpdid=|(um|Juulmk|0J\'uY)ulmkk)R;...
I solved this problem by using `--cookies` parameter, according to this document https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp Get cookies.txt file. ```bash yt-dlp "bilisearch:周杰伦" --cookies cookies.txt ``` cookies.txt file like this ```txt # Netscape HTTP...
> I see. Adding a buvid3 cookie should fix this problem. You are right. Only need buvid3 cookie.
我的群也有不少人看了这本书
I suggest use `select` on windows. Generally in windows are use for client. like https://github.com/daurnimator/lua-http , I want use http client in windows, But now can't. Here has a `epoll`...
> "service 里的业务代码同一时刻只会在一个线程里运行",如果是这个目的,只起一个goroutine跑不就好了吗?为什么还需要用多个再来实现这个调度呢 一个服务运行在多个 goroutine 上的话是用来实现 call 其他服务时可以挂起等待的同时能处理其他消息。目前的实现就是一个服务只有一个 goroutine ,在 call 没返回前是不能处理别的消息的。
是的,目前的实现不会有函数重入问题。改成多 goroutine 就会有函数重入问题。估计是没时间写多 goroutine 的版本了。。。
> neovim可以使用一个二进制的provider来提供复制粘贴的功能,同样tmux也可以通过这个provider来进行复制粘贴,这样就可以通过这个provider来打通所有的粘贴板,可以看一下这个provider,https://github.com/doodleEsc/doodleVim/blob/master/bin/clipboard-provider 看上去很不错,有空我也换上。
 新增了一个简单的操控面板。