
Trueachievements Scraper
- epctex/trueachievements-scraper
- Modified
- Users 3
- Runs 793
- Created by
epctex
Get any information from Trueachievements! Games, articles, comments, achievements, developers, publishers, genres, and all the extensive information are ready for you! Search for keywords, genres, publishers, and series, filter by your needs, and export your data by XML, JSON, CSV, Excel, or HTML
To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token. For a more detailed explanation, please read about running Actors via the API in Apify Docs.
# Set API token
API_TOKEN=<YOUR_API_TOKEN>
# Prepare Actor input
cat > input.json <<'EOF'
{
"search": "rock",
"startUrls": [
"https://www.trueachievements.com/news?search=game",
"https://www.trueachievements.com/n52218/way-to-the-woods-game-pass",
"https://www.trueachievements.com/game/Monster-Energy-Supercross-4",
"https://www.trueachievements.com/xbox-series",
"https://www.trueachievements.com/series/Call-of-Duty?distinct=true&dlcsetting=AllDLC",
"https://www.trueachievements.com/publisher/Electronic-Arts/games",
"https://www.trueachievements.com/xbox-game-pass/games",
"https://www.trueachievements.com/games.aspx",
"https://www.trueachievements.com/genre/Simulation-Racing",
"https://www.trueachievements.com/searchresults.aspx?search=game"
],
"maxItems": 20,
"endPage": 1,
"extendOutputFunction": "($) => { return {} }",
"customMapFunction": "(object) => { return {...object} }",
"proxy": {
"useApifyProxy": true
}
}
EOF
# Run the Actor
curl "https://api.apify.com/v2/acts/epctex~trueachievements-scraper/runs?token=$API_TOKEN" \
-X POST \
-d @input.json \
-H 'Content-Type: application/json'