Loading...
Answers
MenuHow Can Scrape Data From eBay & Amazon?
I want to scrape product data with owner details.
Answers
eBay is an incredibly famous and popular marketplace. Very often, it is used by small sellers to sell goods, the same way as on Amazon. Therefore, the data from it can be used to assess a trading niche when entering a market with a new product. The eBay site is quite simple, does not use JavaScript to display pages, and there should be no technical problems for scraping it. However, you need to know that there is a limit to the number of listings eBay shows per query. Therefore, if you want to collect all the results, you will have to build your queries in such a way that the search query or filtering returns as many listings as would not exceed the limit. Let's say we want to sell e-readers. Let's try to find the category we need and configure the filters. eBay has the Tablets & eReaders category. That is what we need as a starting point. Open this page in Google Chrome
However, tablets are also shown in this category, and we are only interested in e-readers. To do this, we need to configure the filter for the type of product. Unfortunately, there is no such filter in the main set, so you need to click on the “More Filters” button, which will open a window with a list of all filters.
There we need to find the “Type” filter, select the “e Reader” option in it and click on the “Apply” button.
We see that there are significantly fewer products, but we are only interested in new devices. Therefore, we need to select the “New” option in the “Condition” filter.
We are not interested in auctions either, so we will select the “Buy It Now” option above the listings block.
Now, to save on page requests, increase the number of displayed results on the page. By default, eBay displays 50 listings. We can choose 200, which will save our costs of going through the entire catalog of the filtered category by 4 times. To do this, under the block with the results, you need to select the number of results to show: 200.
https://www.ebay.com/sch/Tablets-eBook-Readers/171485/i.html?_dcat=171485&_fsrp=1&_sacat=171485&rt=nc&Type=eBook%2520Reader&LH_ItemCondition=1000&LH_BIN=1&_ipg=200
This will be our starting URL.
Next, we need to disable JS on the page. We will do this, as usual, using the extension for Google Chrome: Quick JavaScript Switcher. Next, open the developer tools in Google Chrome by pressing Ctrl + Shift + I. Then, using the tool to select elements, we will find the blocks we need on the page and CSS selectors for them. Firstly, we are interested in the listing block, and secondly, the link to the next page.
First, let us collect all the blocks with listings, that is, define a CSS selector for them.
CSS selector: ul> li.s-item. To check, we will do a search in the “Elements” section. And make sure that the selector selects all the listings. We will see that more than 200 elements have been selected, although there should be 200 exactly. This happened because eBay, in addition to regular listings, also shows us Sponsored ads.
Filtering them out will not be easy, but we will try to do it. Click on one of the letters in the word “SPONSORED” and see which element opens in the “Elements” window. We will see a set of span elements containing a random set of characters.
We see that these elements have different classes. It is quite clear that “SPONSORED” is shown on the page since one of the classes is shown, and the second is not. But we can’t just take the class we need as a constant. Because, judging by the name of the class, it is not static, but dynamically generated. Therefore, we cannot rely on his name. However, if one of the classes is shown, and the second is not, somewhere on the page there should be CSS that sets this rule.
span.s-m1yuhh { display: inline; } span.s-o2xlx7k { display: none; }
Our task now is to construct a selector for it and check it in the “Elements” window, making sure that the selector selects only 1 element on the page.
style:contains – such a selector will work just fine for our task.
Now that we have found the desired element, we need to pull out the class that is shown from there. To do this, in the parse command we will use the filter option.
span\.
Using this regular expression, we will extract the class name: s-m1yuhh.
Now that we have a class, we can go into the span element and remove all span elements with a class other than our class. Then you need to use the parse command and compare the result in the register with the string “SPONSORED” using the if command.
This way we can skip commercial listings.
Besides if you do have any questions give me a call: https://clarity.fm/joy-brotonath
with a chrome extension
look ebay & amazon api -> parse data with program code
Related Questions
-
Is selling on Amazon that easy?
Compared to other business ideas, yes it is easy but it's not 'push-button' as many experts would have you believe (as they pitch you their $5,000+ training/services to help you). Selling products on Amazon is a business and the more you treat it like 'your baby', the much higher chance you will have with success. Also buying products in bulk and rebranding them (this is called 'private label' or 'white label') is just one of 25+ ways to get products to resell on Amazon. For more free information than you'll ever need to get started, check out my resources page at: http://jordanmalik.com/blog/resources (especially near the top under 'Amazon - Free Beginner Help'. Also (if you're interested in a high-quality, low price course to help you along), check out my free review guides/comparison charts of the world's best Amazon seller training at: http://jordanmalik.com/blog/asm and http://CourseComparo.com .... Good luck!JM
-
What are the best marketing strategies for an online business with a limited budget selling antiques and collectibles?
I think you're on the right track with the likes of eBay, Instagram, and Etsy. Those sites have established communities interested in what you have to offer. That said, each of those platforms have different optimization techniques to reach the right audience. For example, using proper hashtags on Instagram will likely result in increased traffic. Spending some money on Etsy's pay-per-click ads will result in fresh, targeted traffic. I've helped brands around the world increase their reach through optimization with varying budgets. I don't believe in "one-size-fits-all" approaches, as each market has a unique audience, product, and seller (you) - those are important considerations before launching any type of sales campaign. I'd be happy to schedule a call with you to discuss more in detail. -ShaunSN
-
How can I grow an email list of 100 people to a list of thousands of qualified leads?
Obviously you need to generate more leads. But then you need to segment your list. Your basic list are those leads who "come aboard" and want to know what's going on. Your qualified leads list are your potential buyers. Between the two, you need a gate. So, they come on your big list. Then they need to get something that qualifies them from being a basic prospect to being a qualified prospect. That puts them on the second list. Leads >> Qualifier >> Qualified Leads. What's the topic of your book? Qualify by things people have said in similar book reviews. This is a lot easier if you are doing non-fiction, but it's possible with fiction as well. In the reviews you'll see people saying things like, "I bought this book because..." What they say after that is the pain point. Use this language, as they wrote it, in your qualifier. For example, in a review for SPIN Selling, someone says, " I don't do "hit and run," one-time sales. Tom Hopkins and Zig Ziglar offer great tactics for those kind of salespeople, but they don't work for me." Another says, "...I had no idea how to sell professionally. I had already read a few books by Tom Hopkins, but felt he was targeting used-car salesmen types. It seems as though Hopkins' techniques relied on "closing" gimmicks when it came down to it. (I must say I did learn some good principles from Hopkins, but his gimmicky style is not for me.) I was instantly attracted to SPIN SELLING when I saw that (1) it was based on extensive research, and (2) it dealt primarily with the large sale. Since I want to start my own corporation after my MBA, and want to have Fortune-500 companies as my customers, I realized SPIN SELLING was for me." See the commonality? So if I was launching a solid B2B sales techniques book, I would make use of this language. First, I would attract them to my basic list with the promise of a corporate B2B sales book. Then, I would qualify further with language like, "Are you looking to build real relationships with your customers, instead of hit-and-run one-time sales tricks? Are you eager to understand the secrets of professional corporate selling?" A Call To Action would follow. Those who respond to this language are qualified leads, as salespeople in other situations would not resonate with that copy. How can you transfer what I've shown you here to your niche? If you're writing non-fiction, as I said, it should be straightforward. If it's fiction, then you can find similar stories and pull from the reviews for those...the things they say they like about the author's style (assuming yours is like theirs), the story structure, the excitement, the thought process, or whatever. Why not just go straight for the qualified leads? Because your net won't be big enough. Better to grab a whole lot of interested readers, which you can make use of later as well, and qualify from there.JK
-
Would love advice on book arbitrage and best practices?
Book arbitrage can be a great way to make extra income with Amazon FBA but it's not for everybody. While I don't have specific experience with the program you posted, I looked at the web page to see what they are all about. First, the link opened 10 identical browser tabs which is pretty suspect and feels spammy. Their program is specifically geared to finding cheap books on Amazon that have few or no FBA sellers. You buy the books and relist them as an FBA seller at a higher price then pocket the difference. I don't have any experience with this type of arbitrage so I can't say if it's a profitable method. If you're just starting out, I would go to places like library book sales and Goodwill to find cheap books. There is a big movement right now for college students to find alternative sources for textbooks since they can be extremely expensive. This is an excellent opportunity to find cheap textbooks locally and sell them on Amazon. You make money and the buyer saves money vs. buying from a bookstore. If you're considering buying this program, I would strongly recommend doing more research as there is a wealth of free information out there on book arbitrage.NC
-
How do you source eBay resellers?
I was an eBay trading assistant and they still have them. What you can do is access the eBay trading assistant program on eBay.com. The page lets you search for eBay resellers in your local geographic area, but better, you don't have to pay them 50/50. The eBay trading assistants usually make between 25 and 37%, so don't feel like you need to pay them 50%. I hope this helps. I would be glad to take you through the program if you are interested. BruceBC
the startups.com platform
Copyright © 2025 Startups.com. All rights reserved.