Giter VIP home page Giter VIP logo

shadowray's People

Contributors

airborne007 avatar rmtt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

shadowray's Issues

support tcpping delay test

Hello, I really like this project. She solves my big problem with v2ray subscriptions.
However, a subscription often contains many hosts, so it will be better to provide a feature to find out the faster host by tcpping delay testing. With this feature, users can select the best host to connect and this is really useful.
I hope to get your support.

Failed to run `shadowray --subscribe-update'

Hi,

I use Debian 9 and installed the shadowray as follows:

$ pip install shadowray

Then do some config:

$ shadowray --autoconfig
$ shadowray --subscribe-add 'kitsunebi_sub,https://raw.githubusercontent.com/eycorsican/rule-sets/master/kitsunebi_sub'
$ shadowray --subscribe-add 'youlianboshi.netlify.com,https://youlianboshi.netlify.com/'
$ shadowray --subscribe-add 'v2ray.qlolp.ml,https://v2ray.qlolp.ml'

Then do the update:

$ shadowray --subscribe-update
update youlianboshi.netlify.com : https://youlianboshi.netlify.com/
Traceback (most recent call last):
File "/home/werner/.pyenv/versions/3.7.4/bin/shadowray", line 10, in
sys.exit(main())
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/site-packages/shadowray/init.py", line 330, in main
update_subscribe(port=port)
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/site-packages/shadowray/init.py", line 204, in update_subscribe
manager.update_subscribe(show_info=True, **kwargs)
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/site-packages/shadowray/core/manager.py", line 23, in update_subscribe
self.__subscribe.update(show_info=show_info, **kwargs)
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/site-packages/shadowray/subscribe/parser.py", line 74, in update
self.get_url(self.subscribes[j], **kwargs)
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/site-packages/shadowray/subscribe/parser.py", line 32, in get_url
t[1] = json.loads(decode(t[1]))
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/werner/.pyenv/versions/3.7.4/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Any hints for this issue?

连接节点出错

我使用自动方式配置客户端方式更新订阅信息,节点可以显示,在连接的时候报错:
Local port: [1082]
V2Ray 4.22.1 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.13.5 linux/amd64)
A unified platform for anti-censorship.
main: failed to read config file: stdin: > v2ray.com/core/main/json: failed to execute v2ctl to convert config file. > v2ray.com/core/common/platform/ctlcmd: failed to execute v2ctl: v2ray.com/core/infra/conf/command: failed to parse json config > v2ray.com/core/infra/conf/serial: failed to parse json config > v2ray.com/core/infra/conf: invalid VMess user > json: cannot unmarshal string into Go struct field User.level of type uint32

exit status 255

我的系统是archlinux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.