foreign-sapphire•3y ago
Function not executing for a reason.
the does print the url. But after that, the code stops. The scripts work fine in vsc. I'm trying to integrate it with apify but I'm facing some issues.
3 Replies
hey, try to put the whole code in the Actor context manager: (under
async with Actor:). You can read more about Actor lifecycles and alternatives here: https://docs.apify.com/sdk/python/docs/concepts/actor-lifecycleActor lifecycle | SDK for Python | Apify Documentation
Lifecycle methods
foreign-sapphireOP•3y ago
Already figured that out but ty anyways
@Kirada just advanced to level 2! Thanks for your contributions! 🎉