V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 外包信息请发到 /go/outsourcing 节点。
• 不要把相同的信息发到不同的节点
borisgrui
V2EX  ›  酷工作

爬虫抓取 Google Map Places 数据

  •  
  •   borisgrui · 2022-12-29 22:55:32 +08:00 · 1535 次点击
    这是一个创建于 702 天前的主题,其中的信息可能已经有所发展或是发生改变。

    付费咨询抓取 Google Map Places 数据,如全城的餐馆,景点等,

    内容包括名称,位置,基础信息,图片,用户评价等。

    提供数据抓取方法和爬虫代码。

    请联系微信 base64 : Ym9yaXNncnVp

    4 条回复    2022-12-30 20:09:48 +08:00
    acapla
        1
    acapla  
       2022-12-30 12:40:05 +08:00
    感觉有法律风险
    0bing
        2
    0bing  
       2022-12-30 14:01:52 +08:00
    类似这样?
    business_status geometry icon icon_background_color icon_mask_base_uri name opening_hours photos place_id plus_code rating reference scope types user_ratings_total vicinity price_level
    OPERATIONAL {'location': {'lat': 37.7862741, 'lng': -122.4085169}, 'viewport': {'northeast': {'lat': 37.78767507989272, 'lng': -122.4071777701073}, 'southwest': {'lat': 37.78497542010728, 'lng': -122.4098774298927}}} https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png #FF9E67 https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet HINODEYA Union Square {'open_now': True} [{'height': 876, 'html_attributions': ['<a href="https://maps.google.com/maps/contrib/105588156215816065057">A Google User</a>'], 'photo_reference': 'ARywPAKxRSmQRbkzo-ZgHAsCSH43hBQxflHdCJYalS5An9M6xAVal3FQ7Yp4gt4sbDv12Z1Hsi1J4MhdtbXqCEyJnGH9p8xieT_TdiQAuTDd2kag0Rw1h9TscVutzSQ4_VAdZZQwJxYguckjbijdk79y3xX2xUuleHpnLxzCmYBjkctQFCNo', 'width': 1016}] ChIJ84iU6DOBhYARHXonh3NuCNo {'compound_code': 'QHPR+GH Union Square, San Francisco, CA, USA', 'global_code': '849VQHPR+GH'} 4.5 ChIJ84iU6DOBhYARHXonh3NuCNo GOOGLE ['restaurant', 'food', 'point_of_interest', 'establishment'] 52 219 O'Farrell St, San Francisco
    OPERATIONAL {'location': {'lat': 37.7844474, 'lng': -122.4038427}, 'viewport': {'northeast': {'lat': 37.78563307989272, 'lng': -122.4024536201073}, 'southwest': {'lat': 37.78293342010728, 'lng': -122.4051532798927}}} https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/restaurant-71.png #FF9E67 https://maps.gstatic.com/mapfiles/place_api/icons/v2/restaurant_pinlet Yo-Kai Express @ Metreon {'open_now': True} [{'height': 4032, 'html_attributions': ['<a href="https://maps.google.com/maps/contrib/114291591113305488033">Karen Kagie</a>'], 'photo_reference': 'ARywPAI-7tBeekRSRe86t4IEzT208t6vkw-lZyoEBJtQHyeY399YLKgPQzL9zU25tgaX5_hCrG5M_VlynlkDM4vE4WWxIUXWG77iy51QsCocYPnAfXp74xZuyTI1PS_cF0HT-B9HqOTf94v5c-s25xDSgGPrV0TGVQElgmOzFE0hG2RBvvP8', 'width': 3024}] ChIJd-WuoIeAhYARHckIDk4FHE0 {'compound_code': 'QHMW+QF Yerba Buena, San Francisco, CA, USA', 'global_code': '849VQHMW+QF'} 3.7 ChIJd-WuoIeAhYARHckIDk4FHE0 GOOGLE ['restaurant', 'food', 'point_of_interest', 'establishment'] 18 135 4th St, San Francisco
    borisgrui
        3
    borisgrui  
    OP
       2022-12-30 20:08:32 +08:00
    @acapla 谢谢提醒
    borisgrui
        4
    borisgrui  
    OP
       2022-12-30 20:09:48 +08:00
    是的,类似这样,还有一些其他的数据字段
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   930 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 21:13 · PVG 05:13 · LAX 13:13 · JFK 16:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.