-
安装Lantern:
-
在C:\Program Files\Python35\bin\bin-lantern.py中输入并保存代码:
import sys import os def main(): import subprocess import platform import webbrowser if not 'webbrowser' in sys.modules: import webbrowser site = os.path.join(os.path.dirname(__file__), 'bin', 'bin-lantern.py') webbrowser.open(site) webbrowser.get('').get('content-type', 'text/html') main()
-
-
安装软件:
- 打开终端,输入以下命令安装Lantern:
python3 bin-lantern -m install
- 打开终端,输入以下命令安装Lantern:
-
访问网站:
- 打开浏览器,输入您要翻墙的网站,例如维基百科(维基百科)。
- 在搜索框中输入“维基百科”后,点击搜索。
- 输入“维基百科 | 剪图”并点击“提交”。
- 您的浏览器将显示翻墙后的页面,右边为镜像,左边可能为空。
-
使用其他网站:
同样输入维基百科的其他页面,如“国家维基百科”,使用相同的翻墙操作,结果类似。
-
注意事项:
- Lанtern主要翻墙维基百科,其他网站可能不支持。
- 检查权限,确保访问所用网站的权限允许。
- 避免访问访问权限不足的网站,以防软件异常。
-
进一步操作:
如果需要更复杂的功能,如限制翻墙网站类型,可能需要下载第三方工具或使用其他翻墙软件,如NetFronter等。
通过以上步骤,您可以尝试使用Lantern进行翻墙,但需注意其限制和适用场景,以确保安全和合规使用。



