ONLYFANS Scraper πŸͺΆ avatar

ONLYFANS Scraper πŸͺΆ

Try for free

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

Go to Store
ONLYFANS Scraper πŸͺΆ

ONLYFANS Scraper πŸͺΆ

jupri/onlyfans-scraper
Try for free

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

β€οΈπŸ’›πŸ’šπŸ’™πŸ’œ Scrape OnlyFans.com πŸͺ½

You can access the ONLYFANS Scraper πŸͺΆ programmatically from your own Python applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4# Replace '<YOUR_API_TOKEN>' with your token.
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7# Prepare the Actor input
8run_input = {
9    "query": [
10        "square pants",
11        "@onlyfans/video",
12        "@oftv/profile",
13        "https://www.onlyfans.com/oftv",
14        "https://www.onlyfans.com/search?type=posts&q=sponge%20bob",
15    ],
16    "limit": 5,
17    "dev_custom_headers": [
18        {
19            "key": "user-agent",
20            "value": "",
21        },
22        {
23            "key": "x-bc",
24            "value": "",
25        },
26    ],
27    "dev_custom_cookies": [{
28            "key": "sess",
29            "value": "",
30        }],
31}
32
33# Run the Actor and wait for it to finish
34run = client.actor("jupri/onlyfans-scraper").call(run_input=run_input)
35
36# Fetch and print Actor results from the run's dataset (if there are any)
37print("πŸ’Ύ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
38for item in client.dataset(run["defaultDatasetId"]).iterate_items():
39    print(item)
40
41# πŸ“š Want to learn more πŸ“–? Go to β†’ https://docs.apify.com/api/client/python/docs/quick-start

Onlyfans Scraper API in Python

The Apify API client for Python is the official library that allows you to use ONLYFANS Scraper πŸͺΆ API in Python, providing convenience functions and automatic retries on errors.

Install the apify-client

pip install apify-client

Other API clients include:

Developer
Maintained by Community

Actor Metrics

  • 44 monthly users

  • 4 stars

  • 96% runs succeeded

  • 28 days response time

  • Created in Apr 2023

  • Modified 3 months ago