Apify

Apify and Crawlee Official Forum

b
F
A
J
A

limit extraction for free plan users

I habe built an Instagram profile scraper, in python, but want to limit the scraping result to 25 for those free plan users not paid plan users.
Can anybody help me out?
M
d
2 comments
Hi @devil-port

You can get the status of whether the user is a paid user using the following function. Accordingly if False, you limit the amount of results for it

Plain Text
async def get_user_status():
    client = Actor.apify_client.user()
    user_data = await client.get()
    return user_data.get('isPaying')
Thank you @Mantisus i solved the issue after looking all over in this discord channel. Now I solved this issue.
Add a reply
Sign up and join the conversation on Discord
Join