From 328781b95b803aae2f785bbfa92deadfe121e52f Mon Sep 17 00:00:00 2001 From: Kamo Petrosyan Date: Fri, 26 Jun 2015 01:41:21 +0600 Subject: [PATCH] readme --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index c7accb5..602a61c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,19 @@ # pysitemap Sitemap generator + +## installing + + pip install sitemap-generator + +## example + + import pysitemap + + + if __name__=='__main__': + url = 'http://www.example.com/' # url from to crawl + logfile = 'errlog.log' # path to logfile + oformat = 'xml' # output format + crawl = pysitemap.Crawler(url=url, logfile=logfile, oformat=oformat) + crawl.crawl() + \ No newline at end of file