Skip to content

Commit c1c8642

Browse files
VinciGit00claude
andcommitted
fix: remove incorrect --nationality flag, use --location-geo-code only
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 0bcd66f commit c1c8642

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ just-scrape search <query> --schema <json> # Enforce output s
139139
just-scrape search <query> --location-geo-code <code> # Geo-target search (e.g. 'us', 'de', 'jp-tk')
140140
just-scrape search <query> --time-range <range> # past_hour | past_24_hours | past_week | past_month | past_year
141141
just-scrape search <query> --format <markdown|html> # Result format (default markdown)
142-
just-scrape search <query> --nationality <iso> # 2-letter ISO nationality code
143142
just-scrape search <query> --headers <json>
144143
```
145144

src/commands/search.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@ export default defineCommand({
3636
type: "string",
3737
description: "Result format: markdown (default) or html",
3838
},
39-
nationality: {
40-
type: "string",
41-
description: "2-letter ISO nationality code for search personalization",
42-
},
4339
headers: { type: "string", description: "Custom headers as JSON object string" },
4440
json: { type: "boolean", description: "Output raw JSON (pipeable)" },
4541
},
@@ -55,7 +51,6 @@ export default defineCommand({
5551
if (args["location-geo-code"]) searchOptions.locationGeoCode = args["location-geo-code"];
5652
if (args["time-range"]) searchOptions.timeRange = args["time-range"];
5753
if (args.format) searchOptions.format = args.format;
58-
if (args.nationality) searchOptions.nationality = args.nationality;
5954
if (args.headers) searchOptions.fetchConfig = { headers: JSON.parse(args.headers) };
6055

6156
out.start("Searching");

0 commit comments

Comments
 (0)