Ajout de l'URL du billet descriptif associé à la vidéo
parent
b0f57b9a37
commit
f1aaf196c6
|
|
@ -19,6 +19,7 @@ class GrabvideodataSpider(scrapy.Spider):
|
||||||
'sous-titre' : page.css('h1 span::text').extract_first(),
|
'sous-titre' : page.css('h1 span::text').extract_first(),
|
||||||
'description' : page.css('.biographies p').extract(),
|
'description' : page.css('.biographies p').extract(),
|
||||||
'videoSrcUrl' : page.css('iframe::attr(src)').extract_first(),
|
'videoSrcUrl' : page.css('iframe::attr(src)').extract_first(),
|
||||||
|
'articleUrl' : response.url,
|
||||||
'tags' : page.css('.tag::text').extract()
|
'tags' : page.css('.tag::text').extract()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue