https://pypi.org/project/app- store-scraper/
Вот соответствующий раздел из моего длинного блокнота Jupyter:
Код: Выделить всё
# import packages
import pandas as pd
import numpy as np
import csv
from app_store_scraper import AppStore
# app_name = podcast name from URL
# app_id = podcast id from URL
podcast = AppStore(country='us', app_name='black-girl-gone-a-true-crime-podcast', app_id = '1556267741')
podcast.review(how_many=7000) # change number if necessary
reviews=podcast.reviews
print("This podcast has ", len(reviews), "reviews.")
df = pd.DataFrame()
# columns in each review = date, review, rating, isEdited, userName, title
podcastdf = pd.DataFrame(np.array(podcast.reviews),columns=['review'])
display(podcastdf)
Или, возможно, возникла какая-то проблема с зависимостями, поскольку пакеты были обновлены.
Подробнее здесь: https://stackoverflow.com/questions/790 ... -in-python