From 84db7046b8b69ee7fd1a33c24b0d32b9e412d4e7 Mon Sep 17 00:00:00 2001 From: Kamo Petrosyan Date: Sat, 4 Jul 2015 10:48:17 +0600 Subject: [PATCH] example script changed --- run.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/run.py b/run.py index 6026fdd..85cbe14 100644 --- a/run.py +++ b/run.py @@ -2,10 +2,13 @@ import pysitemap """ Example script +Uses gevent to implement multiprocessing if Gevent installed +To install gevent: + $ pip install gevent """ if __name__=='__main__': - url = 'http://www.dksys.ru/' # url from to crawl + url = 'http://www.example.com/' # url from to crawl logfile = 'errlog.log' # path to logfile oformat = 'xml' # output format outputfile = 'sitemap.xml' # path to output file