1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "bios": [
10 {
11 "bioText": "Founder at TechAI. Partnerships: partnerships@techai.io | WhatsApp: Available upon inquiry",
12 "profileUrl": "https://instagram.com/techfounder",
13 },
14 {
15 "bioText": "Daily tech breakdowns! Inquiries: sponsor@creatorvids.com | Store: linktr.ee/creator",
16 "profileUrl": "https://youtube.com/@creatorvids",
17 },
18 {
19 "bioText": "Building SaaS. Collabs: collab@saasgrowth.co | DM open",
20 "profileUrl": "https://twitter.com/saasgrowth",
21 },
22 {
23 "bioText": "Fitness coach. Booking: coach@fitnessdaily.com | wa.me/14155552671",
24 "profileUrl": "https://tiktok.com/@fitnessdaily",
25 },
26 {
27 "bioText": "Growth marketer. Contact: alex@growthagency.io",
28 "profileUrl": "https://linkedin.com/in/marketingpro",
29 },
30 {
31 "bioText": "Fullstack tutorials. Inquiries: business@devtutorials.net",
32 "profileUrl": "https://youtube.com/@devtutorials",
33 },
34 {
35 "bioText": "UI/UX studio. Projects: hello@designstudio.org | linktr.ee/design",
36 "profileUrl": "https://instagram.com/designstudio",
37 },
38 {
39 "bioText": "Daily AI news. Sponsor deals: ads@aiinsights.com",
40 "profileUrl": "https://youtube.com/@aiinsights",
41 },
42 {
43 "bioText": "Crypto & Web3 analyst. Press: press@cryptonews.io",
44 "profileUrl": "https://twitter.com/cryptonews",
45 },
46 {
47 "bioText": "Nomad life. Bookings: info@travelvlogger.me | wa.me/14155559876",
48 "profileUrl": "https://instagram.com/travelvlogger",
49 },
50 ],
51 "proxyConfiguration": { "useApifyProxy": False },
52 "maxItems": 25,
53}
54
55
56run = client.actor("deepaksheoran172/social-bio-contact-email-extractor").call(run_input=run_input)
57
58
59print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
60for item in client.dataset(run.default_dataset_id).iterate_items():
61 print(item)
62
63