Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Scrapy ebay API
#1
Hi everyone....im wondering if somebody know how to connect the api from the ebay into scrapy to get calls,

i did this small code to make sure if the ebay work's without api, but i was wrong..., i did try to install ebaysdk but when im importing the api im getting error "no module names "eabysdk", that will be great if someone can share with me his own code:D, thank you very much guys!

This is just a test without API:

# -*- coding: utf-8 -*-
import scrapy


class EbaybotSpider(scrapy.Spider):
    name = 'EbayBot'
    start_urls = ['https://tinyurl.com/y89hzmxh']

    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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Scrapy Date Extraction Issue tr8585 1 3,235 Aug-05-2020, 04:32 AM
Last Post: tr8585
  Python Scrapy tr8585 2 2,303 Aug-04-2020, 04:11 AM
Last Post: tr8585
  Scraping data from ebay seller page yuvalta 3 5,947 Sep-25-2019, 04:22 AM
Last Post: sandramoraes
  Python - Scrapy Baggelhsk95 0 2,261 Apr-24-2019, 01:07 PM
Last Post: Baggelhsk95
  Python scrapy scraped_items Baggelhsk95 2 2,820 Nov-13-2018, 08:30 AM
Last Post: Baggelhsk95
  Python - Scrapy - CSS selector Baggelhsk95 1 5,510 Nov-07-2018, 04:45 PM
Last Post: stranac
  Python - Scrapy - Contains Baggelhsk95 3 4,469 Oct-27-2018, 03:42 PM
Last Post: stranac
  Python - Scrapy Login in Baggelhsk95 3 4,760 Oct-23-2018, 04:24 PM
Last Post: stranac
  Python - Scrapy Ebay Test Baggelhsk95 4 4,277 Oct-16-2018, 12:37 PM
Last Post: snippsat
  Python - Scrapy Login form Baggelhsk95 4 10,696 Oct-16-2018, 08:01 AM
Last Post: Baggelhsk95

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020