How to Get list count of a variable/virtual list

nova

Client
Регистрация
09.10.2011
Сообщения
88
Благодарностей
7
Баллы
8
Does Zennoposter MP have virtual lists?

I just want to get the # count of the items that i scraped. How can i do that?

Say if i want to scrape some stuff from a site but i dont want to save it to a file because i just want to know how many things it scraped and dont care about the actual data. I can just save that data into a variable right?

So is there a way to get the list count of the variable?

I know you can get a list count of a list but i need to get the list count of the variable.

Using lists wont work for me since it would not work for what im trying to do if using multiple threads.


thanks
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 719
Баллы
113
Just create a list without sync with file on a hard drive.
Scrape data -> send to list
Count lines
 

nova

Client
Регистрация
09.10.2011
Сообщения
88
Благодарностей
7
Баллы
8
but if running multiple threads wont the other threads use that same list also? or will it all be separate?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 719
Баллы
113
If your list isn't synced with file it will be separate for each instance
 

nova

Client
Регистрация
09.10.2011
Сообщения
88
Благодарностей
7
Баллы
8
thanks a lot for the info :-)
 

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