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?
3 Replies
Hall
Hall8mo ago
View post on community site
This post has been pushed to the community knowledgebase. Any replies in this thread will be synced to the community site.
Apify Community
firm-tan
firm-tan8mo ago
Hi @devil-port
You can get the status of whether the user is a paid user using the following function.
async def get_user_status():
client = Actor.apify_client.user()
user_data = await client.get()
return user_data.get('isPaying')
async def get_user_status():
client = Actor.apify_client.user()
user_data = await client.get()
return user_data.get('isPaying')
Accordingly if False, you limit the amount of results for it
deep-jade
deep-jadeOP8mo ago
Thank you @Mantisus i solved the issue after looking all over in this discord channel. Now I solved this issue.

Did you find this page helpful?