curl:reading_a_url_with_variable_get_parameters
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
curl:reading_a_url_with_variable_get_parameters [2019/11/27 00:13] – removed peter | curl:reading_a_url_with_variable_get_parameters [2020/09/25 13:06] (current) – created 192.168.1.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Curl - Reading URL with variable GET parameters ====== | ||
+ | |||
+ | <code bash> | ||
+ | http:// | ||
+ | </ | ||
+ | |||
+ | The variable here is the **pageNo** parameter. | ||
+ | |||
+ | You can download all the pages by adding a regular expression like parameter in the CURL url as given below. | ||
+ | |||
+ | <code bash> | ||
+ | curl -o pages# | ||
+ | </ | ||
+ | |||
+ | This will download all the pages from page no 1 to page no 12 and save it to a corresponding file. | ||
curl/reading_a_url_with_variable_get_parameters.1574813635.txt.gz · Last modified: 2020/07/15 09:30 (external edit)