go-pixiv

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2018 License: Apache-2.0 Imports: 23 Imported by: 0

README

go-pixiv

Bypass SNI censorship on Pixiv with golang

golang隐藏SNI绕过对Pixiv的SNI封锁

Installation

下载二进制文件

发布页下载最新二进制build

从源码编译
go get -u -v github.com/eternal-flame-AD/go-pixiv

Usage

  1. 在计算机上安装这个CA证书(右键另存为),安装方法自行百度(帮你百度好了ChromeFirefox的)
  2. 设置浏览器代理为 http://127.0.0.1:8080 ,方法参见上一步,注意HTTPS也要走代理(勾选“对以下协议使用相同代理”)
  3. 运行go-pixiv,浏览器应该会自动打开一个诊断窗口,检查浏览器的代理和证书信任配置是否正确,DNS能否正常工作。
  4. OK

Troubleshooting

  • Proxy is not enabled, please set your local proxy to http://127.0.0.1:8080/ 未设置浏览器代理
  • CA Trust: Error 浏览器不信任Go-Pixiv使用的证书,检查Usage中第一步是否正确,注意Firefox有自己的keychain
  • DNS-Over-Https: Error 部分域名未能解析到可用的IP地址,解析正常的域名可以继续访问。如果遇到全部错误的情况,可能是你的网络封禁了1.0.0.1

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL