From 02318cf3a7fbdf5d3b7b1a4b14a709950f0e6f5c Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Thu, 31 Aug 2023 11:00:30 -0500 Subject: [PATCH] update query web example because wikipedia changed their page (#10173) # Description This PR updates one of the query web examples because the wikipedia page changed. This works again. ![image](https://github.com/nushell/nushell/assets/343840/72658c98-a339-4e76-96da-56d725e7a0e1) # User-Facing Changes # Tests + Formatting # After Submitting --- crates/nu_plugin_query/src/nu/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu_plugin_query/src/nu/mod.rs b/crates/nu_plugin_query/src/nu/mod.rs index 3dc519dbef..144d93e923 100644 --- a/crates/nu_plugin_query/src/nu/mod.rs +++ b/crates/nu_plugin_query/src/nu/mod.rs @@ -77,7 +77,7 @@ pub fn web_examples() -> Vec { result: None, }, PluginExample { example: "http get https://en.wikipedia.org/wiki/List_of_cities_in_India_by_population - | query web -t [Rank City 'Population(2011)[3]' 'Population(2001)' 'State or union territory']".into(), + | query web -t [Rank City 'Population(2011)[3]' 'Population(2001)[3][a]' 'State or union territory']".into(), description: "Retrieve a html table from Wikipedia and parse it into a nushell table using table headers as guides".into(), result: None },