jdepoix / youtube-transcript-api

This is a python API which allows you to get the transcript/subtitles for a given YouTube video. It also works for automatically generated subtitles and it does not require an API key nor a headless browser, like other selenium based solutions do!
MIT License
2.54k stars 279 forks source link

added optional separator and end arguments to methods of TextFormatter class #285

Open vinay-jose opened 1 month ago

vinay-jose commented 1 month ago

Added optional arguments, separator sep and end end to methods of TextFormatter class with the default values set as currently used strings in code ('\n' and '\n\n\n').