Skip to content

Update gfwlist and parser script#3201

Closed
ResRipper wants to merge 4 commits intoshadowsocks:masterfrom
ResRipper:gfwlist
Closed

Update gfwlist and parser script#3201
ResRipper wants to merge 4 commits intoshadowsocks:masterfrom
ResRipper:gfwlist

Conversation

@ResRipper
Copy link

@ResRipper ResRipper commented Mar 1, 2025

Fix several issues that cause the parser script to fail:

  1. find('str') cannot be used on binary objects, fixed by reading and writing files in text mode instead of binary mode
  2. Replace single backslash ("\") in string with double backslash ("\\")
  3. urlparse is now urllib.parse
  4. Use base64.b64decode() for decoding instead of .decode("base64") which cause errors

And also update the gfwlist.

- Fixed unable to find string in binary issue
- Add missing back slash
- Fixed dependency & base64 decode issue
@ResRipper ResRipper closed this by deleting the head repository Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant