laitimes

How to quickly extract Amazon page ASINs with AI tools

author:Smart droplet 8LI

In our daily Amazon operation work, we often need to crawl the ASINs of the top 50 BSR or search results pages for the positioning of advertisements or the reverse check of ASIN keywords.

  1. FIRST OPEN AN AI TOOL, WHICH IS USED IN THIS CASE, AND OPEN THE WEB PAGE https://kimi.moonshot.cn/
  2. There is a very useful tool in KIMI, a prompt word expert, and friends who can't write prompt words can directly use this tool to generate prompt words

3. Because we want to write regular expressions, I directly ask the prompt word expert to generate the prompt words of the computer programming master

How to quickly extract Amazon page ASINs with AI tools

4. Open the conversation and paste the above prompt into the dialog box

How to quickly extract Amazon page ASINs with AI tools

5.AI understand the persona, make a clear request for input, such as "Write a regular expression for extracting the ASIN of the Amazon page, the ASIN starts with the letter B as a 10-digit number"

How to quickly extract Amazon page ASINs with AI tools
How to quickly extract Amazon page ASINs with AI tools

6. Get a regular expression: \bB[A-Z0-9]{9}\b

How to quickly extract Amazon page ASINs with AI tools

7. For example, if I want to grab the current 50 ASINs in the subcategory of Men Walking Shoes, open the category leaderboard page:

https://www.amazon.com/gp/bestsellers/fashion/679303011/ref=pd_zg_hrsr_fashion

How to quickly extract Amazon page ASINs with AI tools

8. Right-click on the page, select the View Web Source Code menu item, press Ctrl + A to select all the source code, and then Ctrl + C to copy the source code.

How to quickly extract Amazon page ASINs with AI tools

9. Open the web page https://uutool.cn/extract-regexp/, paste the regular expression obtained above in the matching rules: \bB[A-Z0-9]{9}\b, select deduplication, and then put the copied source code in the main box, click to start processing, and get the desired ASIN,

How to quickly extract Amazon page ASINs with AI tools

注意忽略最后2个ASIN,这2个ASIN是亚马逊Amazon Secured Card和Amazon Business American Express Card的ASIN

How to quickly extract Amazon page ASINs with AI tools

10. In the same way, if you want to extract the page BSR51-100, you can open the page 51-100 and repeat the above operation

How to quickly extract Amazon page ASINs with AI tools

Well, that's the end of the demo, interested friends can try it for themselves!!

Read on