You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/fetch/README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ The fetch tool will truncate the response, but by using the `start_index` argume
26
26
27
27
## Installation
28
28
29
-
Optionally: Install node.js, this will cause the fetch server to use a different HTML simplifier that is more robust.
29
+
Optionally: Install node.js, this will cause the fetch server to use a different HTML simplifier that is more robust. If node.js is not available, the server falls back to readabilipy's Python-only HTML simplifier.
30
30
31
31
### Using uv (recommended)
32
32
@@ -170,6 +170,10 @@ This can be customized by adding the argument `--user-agent=YourUserAgent` to th
170
170
171
171
The server can be configured to use a proxy by using the `--proxy-url` argument.
172
172
173
+
### Customization - HTML simplification
174
+
175
+
By default, the server uses readabilipy's optional node.js simplifier when node.js is available, and otherwise falls back to the Python-only simplifier. To force the Python-only path even when node.js is installed, add the `--no-readability-js` argument.
176
+
173
177
## Windows Configuration
174
178
175
179
If you're experiencing timeout issues on Windows, you may need to set the `PYTHONIOENCODING` environment variable to ensure proper character encoding:
0 commit comments