创建在线本地企业名录
最近,目录网站的受欢迎程度有所提升。无论我们是想找个地方吃点东西、看场电影、找个修车师傅、找个水管工,还是其他任何需求,这些网站都能让我们轻松找到任何商家或旅游景点,毫不费力。.
在其最基本的形式中,目录网站只是一组有组织的链接,可以根据各种标准进行浏览。它们可能包括关于广泛主题的信息,如镇上最好的餐馆,或者它们可能集中在一个较窄的主题上,如镇上最好的晚餐餐馆。
在任何这样的利基市场上创建一个目录,像广告和联盟,开辟了许多赚钱的途径。这增加了对目录创建的需求。它很容易设计,并与WordPress等无代码建设者对接。最重要的是创建一个企业数据库,将其列在这个目录中。
目录的数据库
可以从许多不同的来源找到当地企业的信息--当地政府的目录页、当地黄页、在线黄页等等。但最大和最详细的是谷歌地图。谷歌地图是一项服务,拥有世界各地的本地企业信息。
通过谷歌地图,我们可以在几分钟内找到伦敦、巴黎、柏林、纽约和悉尼的所有养生中心。这些结果足以让我们建立一个养生目录网站。
Although Google Maps provides such an opportunity, it isn’t easy to record the data it provides one by one. At this point, the scraping service that extracts Google Maps data comes into play. This service is called Outscraper 谷歌地图数据搜刮器.Outscraper的这项搜刮服务可以让你在没有任何谷歌限制的情况下完美地提取谷歌地图数据。
Outscraper 谷歌地图数据搜刮器
Outscraper 谷歌地图数据搜刮器 是一项在线服务,允许你根据你的目标市场,从谷歌地图这个巨大的数据库中提取数据。无论在谷歌地图中使用什么样的搜索查询,在谷歌地图搜刮服务中也会使用同样的查询和参数。从浏览器获得的结果和从搜刮服务获得的结果没有区别。
Outscraper谷歌地图数据搜刮服务在其服务器上执行所有提取操作。不需要代理。它根据参数创建搜索查询,并列出谷歌地图的所有结果。
The first step and priority are to determine the category correctly. Google Maps has general business categories. For example, “Wellness Center” is included in this list. With Outscraper, all businesses in a target niche in these categories can be easily scanned and listed. To browse and check out these categories:
After the category is determined, other parameters are set. And a scraping task is created. Google Maps scraping tasks can be created with either the Outscraper UI or API services. Outscraper allows for both. To be able to upload to databases, Outscraper UI offers the opportunity to export in CSV file format. Let’s look at an example through “Wellness Centers”
从Outscraper用户界面导出CSV
Outscraper应用程序仪表板 has a clean and straightforward interface. It is very simple to use and enough to specify the category and location as in Google Maps. With a simple example, these parameters are enough to search for all the “Wellness Centers” in New York we just mentioned.
关于将经过审核的 JSON 记录转换为可搜索原型的实际示例,请参阅我们的指南: 利用 ChatGPT Work 和 Outscraper 数据构建本地企业名录.
现在我们用上述参数创建一个示例任务。结果文件将是CSV格式,正如我们所选择的那样。
Outscraper已经列出了所有的养生中心。用Outscraper的Google Maps Data Scraper为一个关于健康的目录网站创建一个数据库就是这么简单。Outscraper可以快速提取并列出谷歌地图上的所有结果。下面是结果文件的样本。 纽约健康中心
The Wellness category is not a market with many businesses like bars, restaurants, and coffee shops. That’s why it’s possible to scrape all the wellness centers in a city in a single Google Maps query.
但是,如果我们想搜刮像类别餐馆这样的类别呢?那里有很多企业注册。即使是在人口稠密的地区?这是一个基本的问题和挑战。因为当我们在谷歌地图上搜索一个类别时,它只显示一定数量的结果。当你滚动页面时,它也会列出不同的结果。但最终,它对一个查询结果最多只能显示500个。这个查询结果限制也使我们无法找到我们正在寻找的类别中的所有业务。
Outscraper也帮助我们克服这一障碍。 It allows us to scan and scrape each neighborhood of a densely populated area one by one using zip codes. This way, we can create our directory database without missing a single business. A detailed blog post on how it’s done can be read here:
Creating a task with Google Maps Scraper also has some more tricks. You can read how to create a task using this UI in detail step by step in its tutorial: “如何抓取谷歌地图?”
Even though Outscraper gives its users access to filtering options with advanced parameters, we can get rid of useless results from the lists we made for the database. A detailed article on filtering can also be read here: “谷歌地图数据抓取工具过滤器.”
Build Your Directory With Relevant Business Listings
# Search for businesses in specific locations:
results = client.google_maps_search_v2(['restaurants brooklyn usa'], limit=20, language='en', region='us')
# Scrap Places by Two Queries
results = client.google_maps_search_v2(
['restaurants brooklyn usa', 'bars brooklyn usa'],
limit=50, # limit of palces per each query
language='en',
region='US',
)
# Iterate over the results
for query_places in results:
for place in query_places:
print('query:', place['query'])
print('name:', place['name'])
print('phone:', place['phone'])
print('website:', place['site'])
常见问题解答
Answers to common questions about collecting listings for a business directory.
企业名录中应包括哪些内容?
企业名录基本上应包含公司名称、详细地址、电话号码和公司网站。任何细分类别的企业的这些信息都可以通过Outscraper谷歌地图数据搜刮服务下载。
我如何创建一个免费的在线目录?
要建立一个商业目录,一个网站和要在目录中找到的企业数据就足够了。网站可以用WordPress等工具免费创建。剩下的就是企业信息了。这些信息也可以通过谷歌地图的公共数据获得。数据收集只能花很长的时间。Outscraper谷歌地图数据搜刮器服务可以用来自动完成这项工作。
企业名录是如何运作的?
商业目录通常专注于一个单一类别。它列出该细分类别的企业。有关公司的信息被列出。电话号码、网站、详细地址。因此,它为搜索该类别企业的用户提供服务,并吸引这些用户的注意。
