From f820f71bf14617bdcd26cb082ccf08ea42f80639 Mon Sep 17 00:00:00 2001 From: Vartan Benohanian Date: Tue, 4 Dec 2018 13:19:37 -0500 Subject: [PATCH] Fix code indentation Signed-off-by: Vartan Benohanian --- src/classes/spider.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/classes/spider.py b/src/classes/spider.py index ab139a6..a4b722d 100644 --- a/src/classes/spider.py +++ b/src/classes/spider.py @@ -14,9 +14,11 @@ class ConcordiaSpider(CrawlSpider): """ name = "ir" rules = ( - Rule(LinkExtractor( - deny_domains=["facebook.com", "twitter.com", "youtube.com", "google.com", "stm.info", "apple.com"], - deny=[".*/fr/.*", ".*concordia.ca/maps/.*"]), + Rule( + LinkExtractor( + deny_domains=["facebook.com", "twitter.com", "youtube.com", "google.com", "stm.info", "apple.com"], + deny=[".*/fr/.*", ".*concordia.ca/maps/.*"] + ), callback="parse_item", follow=True ),