Pre-requirement: youtube_transcript_api
package (https://github.com/jdepoix/youtube-transcript-api)
Run script:
python youtube-chapter-transcript.py -u $URL
Or
python youtube-chapter-transcript.py -id $ID
TODO: Remove redundant code
Reference: