Scraping was slow and costly
- Cause.
- The actor crawled the customer's knowledge base through its web pages: about $10 and a couple of hours a run, three times a day.
- Fix.
- The actor now does one thing: it signs in with the shared login and hands back the session token. Ingestion calls the source's API directly with that token.
token = actor.login(user, password) # all Apify does nowfor page in pages(size=200):articles += api.articles(page, token)