Improve sitemap generation

Filter out any trunk links

Change-Id: Icf35370237e0209c836ed8883040bf6fe4c9a7c0
This commit is contained in:
Andreas Jaeger 2014-06-27 11:04:38 +02:00
parent 0ec4225119
commit a6fbc259b6
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@ class SitemapSpider(spiders.CrawlSpider):
r'.*\.xml',
r'.*\.txt',
r'.*/',
],
deny=[
r'/trunk/',
]
),
follow=True, callback='parse_item'