Note: Always paste your script using Ctrl+V. If you attempt to paste using other methods, the following message will appear: "Press Ctrl+V to paste. Your browser doesn’t support pasting with the toolbar button or context menu option."
Make sure to use the script of YouTube videos with chapters (headings and structured sections). If the output is null, ensure the script is properly formatted with chapters.