fix: use public SearXNG URL without proxy
Switch to searx.mymx.me (public domain) for SearXNG queries without routing through SOCKS5 proxy. Internal address is not reachable from the container network. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -26,7 +26,7 @@ _YT_SEARCH_URL = "https://www.youtube.com/youtubei/v1/search"
|
|||||||
_YT_CLIENT_VERSION = "2.20250101.00.00"
|
_YT_CLIENT_VERSION = "2.20250101.00.00"
|
||||||
_GQL_URL = "https://gql.twitch.tv/gql"
|
_GQL_URL = "https://gql.twitch.tv/gql"
|
||||||
_GQL_CLIENT_ID = "kimne78kx3ncx6brgo4mv6wki5h1ko"
|
_GQL_CLIENT_ID = "kimne78kx3ncx6brgo4mv6wki5h1ko"
|
||||||
_SEARX_URL = "http://192.168.122.119:3000/search"
|
_SEARX_URL = "https://searx.mymx.me/search"
|
||||||
|
|
||||||
# -- Module-level tracking ---------------------------------------------------
|
# -- Module-level tracking ---------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ from derp.plugin import command
|
|||||||
|
|
||||||
# -- Constants ---------------------------------------------------------------
|
# -- Constants ---------------------------------------------------------------
|
||||||
|
|
||||||
_SEARX_URL = "http://192.168.122.119:3000/search"
|
_SEARX_URL = "https://searx.mymx.me/search"
|
||||||
_FETCH_TIMEOUT = 10
|
_FETCH_TIMEOUT = 10
|
||||||
_MAX_RESULTS = 3
|
_MAX_RESULTS = 3
|
||||||
_MAX_TITLE_LEN = 80
|
_MAX_TITLE_LEN = 80
|
||||||
|
|||||||
Reference in New Issue
Block a user