Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import scrapy
- class GofluxSpider(scrapy.Spider):
- name = 'gofluxspider'
- start_urls = ['https://goflux.com.br']
- def parse(self, response):
- urls = []
- for cliente in response.css('ul.slides>li.item'):
- url = cliente.css('.carousel_item_holder>.first_image_holder>img::attr(src)').extract()
- urls.append(url)
- print('-------------------------------------------------')
- print(urls)
- print('-------------------------------------------------')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement