curl:reading_a_url_with_variable_get_parameters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
curl:reading_a_url_with_variable_get_parameters [2016/07/01 23:46] – created petercurl: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 ====== ====== Curl - Reading URL with variable GET parameters ======
  
-For example take the following url: +<code bash>
- +
-<code>+
 http://example.com/pages.php?pageNo=35 http://example.com/pages.php?pageNo=35
 </code> </code>
  
-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.+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>+<code bash>
 curl -o pages#1.html http://example.com/pages.php?pageNo=[1-12] curl -o pages#1.html http://example.com/pages.php?pageNo=[1-12]
 </code> </code>
curl/reading_a_url_with_variable_get_parameters.1467416762.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki