[GH-ISSUE #362] [FEATURE] shadowsocks support #240

Closed
opened 2026-02-25 20:35:14 +03:00 by kerem · 8 comments
Owner

Originally created by @specter78 on GitHub (Jun 19, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/362

Describe the feature you'd like to see added
Shadowsocks proxy support

Additional context
Since many vpns offer shadowsocks support. And to view results from my country.

Originally created by @specter78 on GitHub (Jun 19, 2021). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/362 <!-- DO NOT REQUEST UI/THEME/GUI/APPEARANCE IMPROVEMENTS HERE THESE SHOULD GO IN ISSUE #60 REQUESTING A NEW FEATURE SHOULD BE STRICTLY RELATED TO NEW FUNCTIONALITY --> **Describe the feature you'd like to see added** Shadowsocks proxy support **Additional context** Since many vpns offer shadowsocks support. And to view results from my country.
kerem 2026-02-25 20:35:14 +03:00
Author
Owner

@DUOLabs333 commented on GitHub (Jan 11, 2022):

Do you want shadowsocks specifically (specifying the shadowsocks server), or are you OK with SOCKS support (specifying the shadowsocks client)? The latter should already be in there (WHOOGLE_PROXY_LOC should be socks5h, though it probably should be renamed to WHOOGLE_PROXY_TYPE). What do you think @benbusby?

<!-- gh-comment-id:1010186166 --> @DUOLabs333 commented on GitHub (Jan 11, 2022): Do you want `shadowsocks` specifically (specifying the `shadowsocks` server), or are you OK with `SOCKS` support (specifying the `shadowsocks` client)? The latter should already be in there (`WHOOGLE_PROXY_LOC` should be `socks5h`, though it probably should be renamed to `WHOOGLE_PROXY_TYPE`). What do you think @benbusby?
Author
Owner

@benbusby commented on GitHub (Jan 11, 2022):

WHOOGLE_PROXY_TYPE already exists for that purpose, WHOOGLE_PROXY_LOC is for specifying the connection details. To add socks5h support, we'd need to update app/request.py to differentiate between that and regular socks5 connection strings though.

<!-- gh-comment-id:1010205285 --> @benbusby commented on GitHub (Jan 11, 2022): `WHOOGLE_PROXY_TYPE` already exists for that purpose, `WHOOGLE_PROXY_LOC` is for specifying the connection details. To add `socks5h` support, we'd need to update `app/request.py` to differentiate between that and regular `socks5` connection strings though.
Author
Owner

@DUOLabs333 commented on GitHub (Jan 11, 2022):

Aren't socks5h paths the same as socks5 paths?

<!-- gh-comment-id:1010213326 --> @DUOLabs333 commented on GitHub (Jan 11, 2022): Aren't `socks5h` paths the same as `socks5` paths?
Author
Owner

@benbusby commented on GitHub (Jan 11, 2022):

I assumed socks5h needed to be defined in the connection string (i.e. socks5h://... versus socks5://). I haven't actually looked into it too much yet though, so I could be wrong.

<!-- gh-comment-id:1010220919 --> @benbusby commented on GitHub (Jan 11, 2022): I assumed `socks5h` needed to be defined in the connection string (i.e. `socks5h://...` versus `socks5://`). I haven't actually looked into it too much yet though, so I could be wrong.
Author
Owner

@DUOLabs333 commented on GitHub (Jan 11, 2022):

Shouldn't the type be the first part of the connection string, so it doesn't have to be in LOC (it could be just address and port)?

<!-- gh-comment-id:1010225769 --> @DUOLabs333 commented on GitHub (Jan 11, 2022): Shouldn't the type be the first part of the connection string, so it doesn't have to be in LOC (it could be just address and port)?
Author
Owner

@benbusby commented on GitHub (Jan 11, 2022):

Currently type isn't included in LOC, but the type is hardcoded to socks5 if it isn't a regular http/https proxy type. But yeah we need to just remove the hardcoded socks5:// part of the current connection string and just use whatever type the user specified.

<!-- gh-comment-id:1010235495 --> @benbusby commented on GitHub (Jan 11, 2022): Currently type isn't included in `LOC`, but the type is hardcoded to `socks5` if it isn't a regular http/https proxy type. But yeah we need to just remove the hardcoded `socks5://` part of the current connection string and just use whatever type the user specified.
Author
Owner

@DUOLabs333 commented on GitHub (Jan 11, 2022):

What do you mean, it looks right to me.

<!-- gh-comment-id:1010302305 --> @DUOLabs333 commented on GitHub (Jan 11, 2022): What do you mean, it looks right to me.
Author
Owner

@benbusby commented on GitHub (Mar 1, 2022):

Forgot to actually close this. This should supported by the existing socks proxy support in Whoogle. The shadowsocks server location just has to be defined using the WHOOGLE_PROXY_LOC and WHOOGLE_PROXY_TYPE environment variables.

<!-- gh-comment-id:1055772698 --> @benbusby commented on GitHub (Mar 1, 2022): Forgot to actually close this. This should supported by the existing socks proxy support in Whoogle. The shadowsocks server location just has to be defined using the `WHOOGLE_PROXY_LOC` and `WHOOGLE_PROXY_TYPE` environment variables.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#240
No description provided.