1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "documentUrls": [
9 "https://docs.google.com/document/d/1mQiMLll3634X047FYE5pSMAxS9VrKDCdbhhJQGIDGUs/edit",
10 "https://docs.google.com/document/d/1uPcXhca1GPqRqjy1X8Ed35TBUUGsQGaSVE6oX_iASY0/edit",
11 "https://docs.google.com/document/d/17a-hS5s7VI6Ure_Pm8TthobcVIDVrnQ-mW74I7hAB6Y/edit",
12 "https://docs.google.com/document/d/1J6pJqpJheuM3Ls7GejGGzPZzpJZ0Kbm-gs1mtUVHV-w/edit",
13 "https://docs.google.com/document/d/1vX3TD50wXBTj9U7EuSKjHmKps-P-x1nE28ZMBWmagKU/edit",
14 "https://docs.google.com/document/d/1BVCAvaIQTOVtlioZtjrPVxtjJoaZFD_eCTkbiNnUkIQ/edit",
15 "https://docs.google.com/document/d/1nDUUJlCLPvon9TqYwDYNp5nQmAzUClbxSou4npPV2DA/edit",
16 "https://docs.google.com/document/d/1O-6CoqNQ6hPKP9wxa8AqTLzy-PlAsgOqYgfIhkHFfOo/edit",
17 "https://docs.google.com/document/d/1DZGjQUn8NWDC7Y8VonYSzgZxLKD9z4SL-pVAfP9wkYw/edit",
18 "https://docs.google.com/document/d/1Cqi-zlsildvHE_SeNGtMGzKuQDey0fgNMEeLzYirMmo/edit",
19 ] }
20
21
22run = client.actor("scrapeai/google-docs").call(run_input=run_input)
23
24
25print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
26for item in client.dataset(run.default_dataset_id).iterate_items():
27 print(item)
28
29