
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
itunes-app-scraper-dmi
Advanced tools
This defines a lightweight Python class that can be used to scrape app information from the iTunes App Store. It defines a couple of methods that can be used to get relevant app IDs given a set of parameters, and a couple of methods to then scrape data about these app IDs.
Much of this has been adapted from app-store-scraper, a nodeJS-based scraper that does similar things. But this scraper uses Python.
The following scrapes app details about all apps similar to the first result for the 'fortnite' search query:
from itunes_app_scraper.scraper import AppStoreScraper
scraper = AppStoreScraper()
results = scraper.get_app_ids_for_query("fortnite")
similar = scraper.get_similar_app_ids_for_app(results[0])
app_details = scraper.get_multiple_app_details(similar)
print(list(app_details))
Documentation is not available separately yet, but the code is relatively
simple and you can look in the scraper.py
file to see what methods are
available and what their parameters are.
Query | Source | URL base |
---|---|---|
App | Affiliates API | https://itunes.apple.com/lookup? |
Search | Old Affiliates? | https://search.itunes.apple.com/WebObjects/MZStore.woa/wa/search? |
Developer | Affiliates API | https://itunes.apple.com/lookup? |
List | Old Affiliates | http://ax.itunes.apple.com/WebObjects/MZStoreServices.woa/ws/RSS/ |
Similar | iTunes store scrape HTML | https://itunes.apple.com/us/app/app/ |
Full Details | Affiliates API | https://itunes.apple.com/lookup? |
Ratings | iTunes store scrape HTML | https://itunes.apple.com/lookup? |
This scraper was developed by the Digital Methods Initiative, and is distributed under the MIT license. See LICENSE for details.
FAQs
A lightweight iTunes App Store scraper
We found that itunes-app-scraper-dmi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.