I need a clean, well-documented Python script that pulls lead and company details directly from Apollo. The scraper should handle login, pagination, and any dynamic content, then export everything—exactly as it appears on Apollo—into a neatly structured CSV file. Key points • Target source: Apollo (that is the only site I care about for this task). • Required output: CSV. • Typical fields: name, title, email, phone, company, website, industry, employee count, location, plus any other columns that Apollo exposes for each record. • The code must cope gracefully with rate limits or temporary blocks and continue from where it left off if interrupted. • Please write the script in Python 3 using requests/BeautifulSoup, Selenium, Playwright, or a comparable approach—whatever you feel is most robust. Just keep external dependencies minimal and clearly list them in a requirements.txt. • Deliverables: the complete, runnable script, a short README with setup steps, and one sample CSV produced by the script that shows it working. I will consider the job complete once I can run the script locally, log in with my own credentials, and see all requested data saved to CSV without manual intervention.