How can I change a url?

mozart

Новичок
Регистрация
23.02.2011
Сообщения
6
Благодарностей
0
Баллы
0
Hi, I have a simple question.

I need to scrape a site, by filling in a different 9 digit number each time and then get some text from the page if it exists.

So, for instance, the url is http://www.domain.com/000000001 and I want some text from this page.
Then I want to go to http://www.domain.com/000000002 , grab some text and so on.

How do I do that?

Thanks, I appreciate your help!!!

Mozart
 

step85

Client
Регистрация
19.02.2010
Сообщения
1 839
Благодарностей
287
Баллы
83

mozart

Новичок
Регистрация
23.02.2011
Сообщения
6
Благодарностей
0
Баллы
0
Thanks! I will go and look... I will let you know if I succeeded!
 

archel

Client
Регистрация
02.05.2011
Сообщения
175
Благодарностей
22
Баллы
18
Or...you could pull all the numbers out of a text file.

A counter loop is good, but the only bad thing about it is the fact that you can only use one thread, while with pulling it out of a text, you can use as much threads as you want. Good for scraping links out of a lot of forum profiles.
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)