Skip to content

Commit e6a8ba3

Browse files
committed
Update opencorporates-alternative-api-python
1 parent 365d5f3 commit e6a8ba3

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎main.py‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
"""Run the OpenCorporates Alternative — US Business Registry Scraper on Apify and save its results as JSON and CSV.
1+
"""Run an Apify Actor and save its results as JSON and CSV.
2+
3+
Actor: OpenCorporates Alternative — US Business Registry Scraper
24
35
Actor page: https://apify.com/DevilScrapes/opencorporates-alternative-scraper
46
"""
@@ -15,11 +17,12 @@
1517
from apify_client import ApifyClient
1618

1719
ACTOR_ID = "DevilScrapes/opencorporates-alternative-scraper"
20+
ACTOR_TITLE = "OpenCorporates Alternative — US Business Registry Scraper"
1821
TERMINAL_OK = "SUCCEEDED"
1922

2023

2124
def parse_args(argv: list[str] | None = None) -> argparse.Namespace:
22-
parser = argparse.ArgumentParser(description="Run the OpenCorporates Alternative — US Business Registry Scraper on Apify.")
25+
parser = argparse.ArgumentParser(description=f"Run the {ACTOR_TITLE} on Apify.")
2326
parser.add_argument("input", nargs="?", default="input.json", help="Actor input JSON file (default: input.json)")
2427
parser.add_argument("--out", default=".", help="Folder for results.json and results.csv (default: here)")
2528
parser.add_argument("--max-charge", type=Decimal, help="Stop the run once it has cost this many USD")

0 commit comments

Comments
 (0)