Patreon Scraper 2.0 🎯 avatar
Patreon Scraper 2.0 🎯
Try for free

7 days trial then $30.00/month - No credit card required now

View all Actors
Patreon Scraper 2.0 🎯

Patreon Scraper 2.0 🎯

jupri/patreon
Try for free

7 days trial then $30.00/month - No credit card required now

🎯 Scrape Patreon.com

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4const client = new ApifyClient({
5    token: '<YOUR_API_TOKEN>',
6});
7
8// Prepare Actor input
9const input = {
10    "query": [
11        "@TheBestShow/info",
12        "@TheBestShow/collection",
13        "@TheBestShow/shop",
14        "https://www.patreon.com/TheBestShow"
15    ],
16    "limit": 5
17};
18
19(async () => {
20    // Run the Actor and wait for it to finish
21    const run = await client.actor("jupri/patreon").call(input);
22
23    // Fetch and print Actor results from the run's dataset (if any)
24    console.log('Results from dataset');
25    console.log(`πŸ’Ύ Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
26    const { items } = await client.dataset(run.defaultDatasetId).listItems();
27    items.forEach((item) => {
28        console.dir(item);
29    });
30})();
31
32// πŸ“š Want to learn more πŸ“–? Go to β†’ https://docs.apify.com/api/client/js/docs
Developer
Maintained by Community
Actor metrics
  • 18 monthly users
  • 3 stars
  • 100.0% runs succeeded
  • Created in Oct 2022
  • Modified 5 days ago
Categories