Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试通过代理获取远程 RSS 并对其进行解析。
我正在使用 magpierss,但它不允许通过代理访问互联网(或者我不知道该怎么做)。
我假设选项是,首先,使用 curl 函数获取 rss,它允许代理身份验证,但是....
是否有任何课程可以轻松地做到这一点,或者......喜鹊是否支持使用代理,以及如何?
提前致谢。
在extlib/Snoopy.class.inc找到以下行:
extlib/Snoopy.class.inc
var $proxy_host = ""; // proxy host to use var $proxy_port = ""; // proxy port to use
并在那里设置您的代理 url 和端口。