Skip to content

Bulk asynchronous downloader for multiple file hosts

docs: update get_text_between docstring

NTFSvolumed2277d146b50
diff --git a/cyberdrop_dl/utils/utilities.py b/cyberdrop_dl/utils/utilities.py
index 4eab1539e..0260d9fca 100644
--- a/cyberdrop_dl/utils/utilities.py
+++ b/cyberdrop_dl/utils/utilities.py
@@ -428,7 +428,7 @@ def get_field_names(dataclass: Dataclass | type[Dataclass]) -> list[str]:
def get_text_between(original_text: str, start: str, end: str) -> str:
- """Extracts the text between two strings in a larger text."""
+ """Extracts the text between two strings in a larger text. Result will be stripped"""
start_index = original_text.index(start) + len(start)
end_index = original_text.index(end, start_index)
return original_text[start_index:end_index].strip()