Skip to content

Commit

Permalink
Merge cca72b8 into 1c51fdc
Browse files Browse the repository at this point in the history
  • Loading branch information
mtlynch committed Feb 14, 2019
2 parents 1c51fdc + cca72b8 commit 6c276a3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ketohub/spiders.py
Expand Up @@ -283,7 +283,9 @@ class LowCarbYum(spiders.CrawlSpider):
# e.g. https://lowcarbyum.com/category/desserts/
spiders.Rule(
linkextractors.LinkExtractor(
allow=r'https://lowcarbyum.com/category/\w+(-\w+)*/$')),
allow=r'https://lowcarbyum.com/category/',
deny=r'https://lowcarbyum.com/category/((reviews)|(articles))')
),
# Extract links for recipes.
spiders.Rule(
linkextractors.LinkExtractor(
Expand Down

0 comments on commit 6c276a3

Please sign in to comment.