Ajout des tags de la vidéo aux résultats
parent
898f3b83ed
commit
90d40871a6
|
|
@ -15,9 +15,9 @@ class GrabvideodataSpider(scrapy.Spider):
|
||||||
'secondary_title' : '//h1/span[@class="sub"]/text()',
|
'secondary_title' : '//h1/span[@class="sub"]/text()',
|
||||||
'date_event' : '//p[@class="date"]/text()',
|
'date_event' : '//p[@class="date"]/text()',
|
||||||
'urlVideo' : '//iframe/@src',
|
'urlVideo' : '//iframe/@src',
|
||||||
#'urlCF' : 'response.url',
|
|
||||||
'description' : '//div[@class="description"]',
|
'description' : '//div[@class="description"]',
|
||||||
'biographies' : '//div[@class="biographies"]'
|
'biographies' : '//div[@class="biographies"]',
|
||||||
|
'tags' : '//span[contains(@class, "tag")]/text()'
|
||||||
}
|
}
|
||||||
|
|
||||||
content_xpath = '//div[@id="content"]'
|
content_xpath = '//div[@id="content"]'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue