本文介绍了如何从网站获取文本。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Ex网站:https://www.test.textFile.txt/ 如果网站包含文字,我将如何从该网站获取文字: b $ b你好世界 我尝试过: 向网站发布Http请求以获取文本。
Ex Website: www.test.textFile.txt/ How would I get text from this site if the site contained the text: "Hello World" What I have tried: Posting Http Requests to the site to get the text.
推荐答案我没有在LUA中编程,但此Google搜索应该有一些有用的东西你: lua http请求 [ ^ ] ...解决方案如: * LuaSocket:HTTP支持 [ ^ ] * GitHub - daurnimator / lua-http:HTTP Lua图书馆。支持HTTP(S)1.0,1.1和2.0;客户端和服务器。 [ ^ ] * GitHub - pintsized / lua-resty-http:用于OpenResty / ngx_lua的Lua HTTP客户端cosocket驱动程序。 [ ^ ] * GitHub - JakobGreen / lua-requests:请求Lua! [ ^ ] * 使用lua socket http.request下载网页 - Stack Overflow [ ^ ] * 还有更多! [ ^ ] I don't program in LUA, but this Google Search should have something useful for you: lua http request[^] ... solutions like: * LuaSocket: HTTP support[^] * GitHub - daurnimator/lua-http: HTTP Library for Lua. Supports HTTP(S) 1.0, 1.1 and 2.0; client and server.[^] * GitHub - pintsized/lua-resty-http: Lua HTTP client cosocket driver for OpenResty / ngx_lua.[^] * GitHub - JakobGreen/lua-requests: Requests for Lua![^] * Downloading web page using lua socket http.request - Stack Overflow[^] * and lots more![^]
更多推荐
如何从网站获取文本。
发布评论