Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use Python to climb Tmall's store contact information

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail how to use Python to climb Tmall store contact information, the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

1. Obtain merchant information

In order to obtain customer resources, many startups usually have a large demand for visiting customer information. If it was in the past, then you can get the contact information of the enterprise by looking at the enterprise information data on the yellow pages, so that the person in charge of the enterprise can visit in person and get the expansion of the business.

In the field of Internet and e-commerce, the largest source of customers undoubtedly belongs to Taobian.

What if we want to get the contact information of these Tmall merchants? Everyone should have their own methods, and the little secretary in this state has realized a more convenient method with Python. Let's talk about it in detail:

On the Tmall platform, in order to verify the reliability of merchants, in addition to paying huge fees, shops also need to provide corresponding industrial and commercial license information to ensure the authenticity of store information, and to avoid what small workshops have also entered the Tmall platform.

Where can I see this industrial and commercial license information? On the Tmall store page, you can view it near the store name information, as shown in the following figure:

Click on the national emblem at the back of the industrial and commercial license and we can see the information of the enterprises registered with the industrial and commercial department corresponding to Tmall's store:

Of course, the premise is that accurate CAPTCHA information is entered:

After getting the corresponding enterprise name of Tmall's store, we can query it through the enterprise information query tools currently on the market, such as using websites such as so-and-so:

In this way, the simple query of Tmall business enterprise information data is completed.

2. Process automation

Manual query is very troublesome, so I use Python to simply integrate this series of steps to get a simple rough data acquisition gadget.

To run the program, first enter the keywords and region of Tmall's store to get the list of Tmall merchants:

Then obtain the enterprise information of the merchants through the list of Tmall merchants:

The final result is written into the CSV file:

3. Some difficulties that have been found 3.1, CAPTCHA recognition

Before checking the store's industrial and commercial information, you need to enter a verification code with distorted letters. It is certainly impossible to use ordinary orc recognition:

Of course, there is a solution, you can train your own neural network or call an external coding platform, depending on your personal situation.

3.2. Character recognition

The business license information of the store is displayed in the form of a picture (as well as a watermark). How to correctly extract the enterprise name from it also needs to be considered.

About how to use Python to climb Tmall store contact information to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report