From f1aaf196c627760ec29b118e3e84521a0539e060 Mon Sep 17 00:00:00 2001 From: Yohann Dedy Date: Sat, 12 May 2018 04:06:52 +0200 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20l'URL=20du=20billet=20descriptif?= =?UTF-8?q?=20associ=C3=A9=20=C3=A0=20la=20vid=C3=A9o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CinemScraper/spiders/grabVideoData.py | 1 + 1 file changed, 1 insertion(+) diff --git a/CinemScraper/spiders/grabVideoData.py b/CinemScraper/spiders/grabVideoData.py index 95a2c27..c42884e 100644 --- a/CinemScraper/spiders/grabVideoData.py +++ b/CinemScraper/spiders/grabVideoData.py @@ -19,6 +19,7 @@ class GrabvideodataSpider(scrapy.Spider): 'sous-titre' : page.css('h1 span::text').extract_first(), 'description' : page.css('.biographies p').extract(), 'videoSrcUrl' : page.css('iframe::attr(src)').extract_first(), + 'articleUrl' : response.url, 'tags' : page.css('.tag::text').extract() }