Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle "push by GET" in another page #27

Closed
kong0107 opened this issue Dec 18, 2015 · 0 comments
Closed

handle "push by GET" in another page #27

kong0107 opened this issue Dec 18, 2015 · 0 comments
Labels

Comments

@kong0107
Copy link
Owner

持續抓取時,若要新增另一個要抓的東西進入排程(這個「新增」似乎用 queue的概念較妥),不宜影響 crawler.php 的 sleep 狀態,所以「把要抓的東西放進 session 」這件事應該放在另一個頁面。
這樣主頁面持續讀取 crawler.php 就好。
新頁面也許可叫做 queueAppend.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant