ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] WGET
@ 2002-09-19 12:35 Alexander Mayorov
  2002-09-19 13:40 ` Sergey Bolshakov
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Mayorov @ 2002-09-19 12:35 UTC (permalink / raw)
  To: community

Приветствую!
Прошу о вспоможеньи.
Задача - есть URL вида http://www.someserver.net/index.html?ppr=1
параметр после ppr (в данном случае ppr=1) меняется от 1 до 20000
Помогите стянуть при помощи wget.
то есть скрипт, первый раз вызывающий 
wget http://www.someserver.net/index.html?ppr=1
второй раз
wget http://www.someserver.net/index.html?ppr=2
и так до 20 000

Заранее спасибо,
Александр
-- 
Stamp out philately.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] WGET
  2002-09-19 13:40 ` Sergey Bolshakov
@ 2002-09-19 13:17   ` Alexander Mayorov
  2002-09-19 13:34   ` Alexander Mayorov
  1 sibling, 0 replies; 5+ messages in thread
From: Alexander Mayorov @ 2002-09-19 13:17 UTC (permalink / raw)
  To: community

Работает!!
Спасибо большое :)
On Thursday 19 September 2002 19:40, Sergey Bolshakov wrote:
> >>>>> "Alexander" == Alexander Mayorov <fedex@bashnet.ru> writes:
>  >
>  > Приветствую!  Прошу о вспоможеньи.  Задача - есть URL вида
>  > http://www.someserver.net/index.html?ppr=1 параметр после ppr (в данном
>  > случае ppr=1) меняется от 1 до 20000 Помогите стянуть при помощи wget. 
>  > то есть скрипт, первый раз вызывающий wget
>  > http://www.someserver.net/index.html?ppr=1 второй раз wget
>  > http://www.someserver.net/index.html?ppr=2 и так до 20 000
>
> (for i in `seq 20000`;do echo
> http://www.someserver.net/index.html?ppr=$i;done) |wget -i-

-- 
War hath no fury like a non-combatant.
		-- Charles Edward Montague



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] WGET
  2002-09-19 13:40 ` Sergey Bolshakov
  2002-09-19 13:17   ` Alexander Mayorov
@ 2002-09-19 13:34   ` Alexander Mayorov
  2002-09-19 14:36     ` Vitaly Lugovsky
  1 sibling, 1 reply; 5+ messages in thread
From: Alexander Mayorov @ 2002-09-19 13:34 UTC (permalink / raw)
  To: community

А как сделать что бы счетчик крутился не с i=1, а например с i=30???

Александр
> (for i in `seq 20000`;do echo
> http://www.someserver.net/index.html?ppr=$i;done) |wget -i-

-- 
Persistence in one opinion has never been considered a merit in political
leaders.
		-- Marcus Tullius Cicero, "Ad familiares", 1st century BC



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] WGET
  2002-09-19 12:35 [Comm] WGET Alexander Mayorov
@ 2002-09-19 13:40 ` Sergey Bolshakov
  2002-09-19 13:17   ` Alexander Mayorov
  2002-09-19 13:34   ` Alexander Mayorov
  0 siblings, 2 replies; 5+ messages in thread
From: Sergey Bolshakov @ 2002-09-19 13:40 UTC (permalink / raw)
  To: community

>>>>> "Alexander" == Alexander Mayorov <fedex@bashnet.ru> writes:

 > Приветствую!  Прошу о вспоможеньи.  Задача - есть URL вида
 > http://www.someserver.net/index.html?ppr=1 параметр после ppr (в данном
 > случае ppr=1) меняется от 1 до 20000 Помогите стянуть при помощи wget.  то
 > есть скрипт, первый раз вызывающий wget
 > http://www.someserver.net/index.html?ppr=1 второй раз wget
 > http://www.someserver.net/index.html?ppr=2 и так до 20 000

(for i in `seq 20000`;do echo http://www.someserver.net/index.html?ppr=$i;done) |wget -i-

-- 
        Сергей.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Comm] WGET
  2002-09-19 13:34   ` Alexander Mayorov
@ 2002-09-19 14:36     ` Vitaly Lugovsky
  0 siblings, 0 replies; 5+ messages in thread
From: Vitaly Lugovsky @ 2002-09-19 14:36 UTC (permalink / raw)
  To: community

On Thu, 19 Sep 2002, Alexander Mayorov wrote:

> А как сделать что бы счетчик крутился не с i=1, а например с i=30???

 seq --help
 



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-09-19 14:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-19 12:35 [Comm] WGET Alexander Mayorov
2002-09-19 13:40 ` Sergey Bolshakov
2002-09-19 13:17   ` Alexander Mayorov
2002-09-19 13:34   ` Alexander Mayorov
2002-09-19 14:36     ` Vitaly Lugovsky

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git