Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide better guidance about Apify.main() #1

Open
jancurn opened this issue Jun 14, 2020 · 0 comments
Open

Provide better guidance about Apify.main() #1

jancurn opened this issue Jun 14, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation.

Comments

@jancurn
Copy link
Member

jancurn commented Jun 14, 2020

Seems quite a lot of people end up copy-pasting code and using Apify.main() in situations where it shouldn't be used. We should probably improve the docs somehow or perhaps even get rid of the function altogether, and replace it with e.g. Apify.setup(). Dunno...

https://stackoverflow.com/questions/62357401/express-stops-listening-when-using-puppeteer
https://stackoverflow.com/questions/58543882/is-there-a-way-to-use-apify-main-without-it-exiting-the-node-js-process-on-com
https://stackoverflow.com/questions/56977763/how-to-use-apify-on-google-cloud-functions

@mnmkng mnmkng added the documentation Improvements or additions to documentation. label Jul 30, 2020
@B4nan B4nan transferred this issue from apify/crawlee Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation.
Projects
None yet
Development

No branches or pull requests

2 participants