diff options
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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] = [] |
