Is there a way to keep the instance open in poster?

Harambulus

Client
Регистрация
16.09.2011
Сообщения
365
Благодарностей
10
Баллы
18
I am wanting to run a template once per hour but I want it to continue where it left off last on the page so not close the instance.

Is the best way just to leave a loop of one hour in the template so it never completes or any other options?

Just looking at my options and which will be best.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 708
Баллы
113
This is not good idea when it comes to PC resources. Why do you need that?
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 775
Благодарностей
1 186
Баллы
113
One way you can pause for xxxxx sec.
Other better way is just to save cookies and url and run next time again with load cookies and go to your saved url
 

LexxWork

Client
Регистрация
31.10.2013
Сообщения
1 190
Благодарностей
788
Баллы
113
yes you can add yours javascript poplayer into the site and wait until the user clicks the button on the page or add the windows form dialog to wait been closed. The lockies's idea is simplest and very good, except if your site is interactive (some ajax reqests arre neded to be happaned during your waitng time).
 

Harambulus

Client
Регистрация
16.09.2011
Сообщения
365
Благодарностей
10
Баллы
18
Rostonix i have to do it due to infinite scroll.

Yes i did it the way lookys suggested using pause we will see how it turns out.

im thinking the resources might go through the roof after a few hours tho due to that damn infinite scorl on pinterest :/.

its for following ppl on pinterest and you have to scroll down the page to keep finding new users on popular pinners.

Someone told me another way to get fresh pinners is to instead just follow your own follower's followers if that makes sense :D.

but we will see how things 'shake out'
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 775
Благодарностей
1 186
Баллы
113
@Harambulus why you want to scrape all followers just from one users ?
Better scrape followers from more than one user and again scrape followers from already scrapped followers. And scrape in multithreads for faster scrape...
At the end of the day you will get all pinterest users in your list :D
 

Harambulus

Client
Регистрация
16.09.2011
Сообщения
365
Благодарностей
10
Баллы
18
well the issue is not aobut speed since you get blocked after 300 per hour so you cant go beyond that.

I just pick one user who has hundreds of thousands and mine it.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 775
Благодарностей
1 186
Баллы
113

Harambulus

Client
Регистрация
16.09.2011
Сообщения
365
Благодарностей
10
Баллы
18
Working on it :-)

By the end of the day I realised scraping fomr one user isnt viable :D really slowed down resources.
 

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