python - 网页抓取/抓取 Google Play 商店/iTunes
问题描述
我想在 Google Play 商店中找到上个月下载次数最多的应用程序(或者实际上我也可以使用 iTunes),并使用这些应用程序上的数据进行进一步的探索性数据分析。
Python对我来说很熟悉。但我不知道用什么方法来实现这一点。
解决方案
还有另一个替代包可用于抓取google play store 数据,下面是链接
https://pypi.org/project/google-play-scraper/
如果您直接寻找示例代码,请按照以下步骤操作
from google_play_scraper import app
result = app(
'com.nianticlabs.pokemongo',
lang='en', # defaults to 'en'
country='us' # defaults to 'us'
)
print(result)
推荐阅读
- java - 按下删除按钮时如何获取相应的名称
- python - 尝试使用 Spinbox 和 RadioButtons 将列表的一部分添加到另一部分
- c# - C# wpf 如何将变量 Excel.Worksheet 从 Button_Click 传递到另一个 Button_Click
- path - 关于图论中路径定义的困惑
- express - 如何不在 expressjs 上监听 3000 端口?
- java - 如何将多部分文件转换为java中的文件
- javascript - 当绘制 2 个甜甜圈时,D3JS 图形甜甜圈未显示一些楔形
- sql-server - 在 SQL Server 中筛选多行
- postgresql - 使用 md5 密码登录 postgresql
- laravel-5 - Laravel 网站“在共享主机上上传”显示的是目录结构,而不是我指定的网络路由