CA
flat-fuchsia
Run instance of apify client not returning, cant access data scraped from my Apify agent
Hey guys, I'm getting an issue where I the run instance of the client.actor call for the python SDK is not returning ? it just says the call is 'running' so I can't access the items for the agent : def apify_reddit_agent(json_input) :
Is there anyway I can fix it? I'm thinking of just creating my own library for calling the HTTP endpoints for reliability concerns, as sometimes the SDK works and sometimes it doesn't
5 Replies
mute-gold•16mo ago
Hi, could provide the
json_input
as well so we can reproduce it? Thanks 🙂flat-fuchsiaOP•16mo ago
whatever JSON input I give it does not work, but here is an example one (also thanks for responding!) : subreddit_search_json = {
"debugMode": False,
"includeNSFW": True,
"maxComments": 5,
"maxCommunitiesCount": 2,
"maxItems": 2,
"maxPostCount": 5,
"maxUserCount": 5,
"proxy": {
"useApifyProxy": True,
"apifyProxyGroups": [
"RESIDENTIAL"
]
},
"scrollTimeout": 40,
"searchComments": False,
"searchCommunities": True,
"searchPosts": False,
"searchUsers": False,
"searches": [
"vietnam", "war", "Art"
],
"skipComments": False
}
@waltuh just advanced to level 1! Thanks for your contributions! 🎉
flat-fuchsiaOP•16mo ago
i'm currently on the highest paid tier as well but im considering making my own crawler if the reliability is concern?
are there usually problems with data retrieval from a agent after it's succeeded a crawl?
mute-gold•16mo ago
Hi @waltuh , I used the following script filling it my API key ...
... and it works, here is the output: