Add support for custom aiohttp connector (#325)

This should allow users that need it to add support for SOCKS5
in their application via https://pypi.org/project/aiohttp-socks/.

Partially fixes: https://github.com/rany2/edge-tts/issues/147

Signed-off-by: rany <rany2@riseup.net>
This commit is contained in:
Rany
2024-11-22 21:31:45 +02:00
committed by GitHub
parent 7ee40fff2c
commit d619925df2
3 changed files with 16 additions and 13 deletions

View File

@@ -15,7 +15,7 @@ class SubMaker:
def add_cue(self, timestamp: Tuple[float, float], text: str) -> None:
"""
Add a subtitle part to the SubMaker object.
Add a cue to the SubMaker object.
Args:
timestamp (tuple): The offset and duration of the subtitle.