Oct-15-2018, 11:51 AM
i made this quick script just for test, but im not getting any content for some reason.....
here's the code quick code:
here's the code quick code:
# -*- coding: utf-8 -*-
import scrapy
class EbaybotSpider(scrapy.Spider):
name = 'EbayBot'
start_urls = ['https://feedback.ebay.de/ws/eBayISAPI.dll?ViewFeedback2&ftab=FeedbackAsSeller&userid=x-parts_de&iid=201792088775&de=off&interval=200&searchInterval=30&which=all&items=200&keyword=201792088775&searchInterval=30']
def parse(self, response):
for content in response.css('tr.bot'):
scraped_item = {
'Title' : content.response('td:nth-child(2)').extract(),
'Price' : content.response('td:nth-child(3)').extract(),
}
yield scraped_item
