From 90d40871a62c58e65dcac96ab71e894332eef85f Mon Sep 17 00:00:00 2001 From: Yohann Dedy Date: Sun, 27 Jan 2019 22:34:08 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20des=20tags=20de=20la=20vid=C3=A9o=20aux?= =?UTF-8?q?=20r=C3=A9sultats?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CinemScraper/spiders/grabVideoData.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CinemScraper/spiders/grabVideoData.py b/CinemScraper/spiders/grabVideoData.py index 05f9924..0ddb780 100644 --- a/CinemScraper/spiders/grabVideoData.py +++ b/CinemScraper/spiders/grabVideoData.py @@ -15,9 +15,9 @@ class GrabvideodataSpider(scrapy.Spider): 'secondary_title' : '//h1/span[@class="sub"]/text()', 'date_event' : '//p[@class="date"]/text()', 'urlVideo' : '//iframe/@src', - #'urlCF' : 'response.url', 'description' : '//div[@class="description"]', - 'biographies' : '//div[@class="biographies"]' + 'biographies' : '//div[@class="biographies"]', + 'tags' : '//span[contains(@class, "tag")]/text()' } content_xpath = '//div[@id="content"]'