Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

V2Ray Subscription Parse #36

Closed
utterances-bot opened this issue Jun 20, 2020 · 2 comments
Closed

V2Ray Subscription Parse #36

utterances-bot opened this issue Jun 20, 2020 · 2 comments

Comments

@utterances-bot
Copy link

V2Ray Subscription Parse | LIOLOG

V2Ray core doesn't provide subscription feature, this is cool because it's considered unnecessery to people who self-host just one or several V2Ray services. If using service bought from websi

https://liolok.github.io/V2Ray-Subscription-Parse/

Copy link

You should add paddings for last step:

bs = vmesslink[len(vmscheme):]
#paddings
blen = len(bs)
if blen % 4 > 0:
bs += "=" * (4 - blen % 4)

    vms = base64.b64decode(bs).decode()
    return json.loads(vms)

@liolok
Copy link
Owner

liolok commented Aug 21, 2020

@m4niacjp Thanks alot for your teaching!

Repository owner locked as resolved and limited conversation to collaborators Aug 21, 2020
@liolok liolok closed this as completed Aug 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants