Example #1
0
import time
from spider import url_list, item_info

while True:
    links_count = url_list.find().count()
    items_count = item_info.find().count()
    print(links_count,items_count)
    time.sleep(5)
Example #2
0
import time
from spider import url_list

while True:
    print(url_list.find().count())
    time.sleep(5)
Example #3
0
import time
from spider import url_list, item_info

while True:
    links_count = url_list.find().count()
    items_count = item_info.find().count()
    print(links_count, items_count)
    time.sleep(5)