You're looking for a feature to download all episodes of the Mahabharat 2013 series. That's a great idea!
To give you a head start, here are some example code snippets in Python: Download All Episodes Of Mahabharat 2013
# Create a youtube-dl instance with youtube_dl.YoutubeDL(options) as ydl: # Download the video ydl.download([video_url]) You're looking for a feature to download all
import youtube_dl