summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/main.py b/main.py
index c0a62af..463b5df 100644
--- a/main.py
+++ b/main.py
@@ -5,13 +5,15 @@ import sys
def get_urls(filename: str, limit: int | None = None) -> list[str]:
"""Get a list of URLs from FILENAME.
- FILENAME should be that of a CSV file with a field 'Domain'
- denoting the site
+ FILENAME should be that of a CSV file with a field 'Domain',
+ denoting the site URL.
- The https schema is prefixed to each URL.
+ The 'https://' schema is prefixed to each URL.
If LIMIT is not None, then stop after LIMIT URLs have been read.
+ Return the list of URLs.
+
"""
urls: list[str] = []