rojter-tech / pluradl.py

Automated download of Pluralsight courses
MIT License
2 stars 0 forks source link

folder structure option #22

Closed ehsansajjad-synergy closed 4 years ago

ehsansajjad-synergy commented 4 years ago

how we can provide the folder structure same as on pluralsight like we do in youtube-dl ?

rojter-tech commented 4 years ago

how we can provide the folder structure same as on pluralsight like we do in youtube-dl ?

@ehsansajjad-synergy

If you are talking about the output template it is controlled by row 23.

23 FILENAME_TEMPLATE = r"%(playlist_index)s-%(chapter_number)s-%(title)s-%(resolution)s.%(ext)s"
ehsansajjad-synergy commented 4 years ago

@rojter-tech will it generate it by default ? because it is putting all videos in single folder

rojter-tech commented 4 years ago

@rojter-tech will it generate it by default ? because it is putting all videos in single folder

@ehsansajjad-synergy What do you mean with generated by default? It is hard coded into the pluradl.py script. The syntax for the output template is exactly the same as youtube-dl:

https://github.com/ytdl-org/youtube-dl#output-template

ehsansajjad-synergy commented 4 years ago

@rojter-tech I meant was how i can specify the template in the shell when executing ?

rojter-tech commented 4 years ago

@rojter-tech I meant was how i can specify the template in the shell when executing ?

What you can do is specfified in the README.md file.

ehsansajjad-synergy commented 4 years ago

Thanks @rojter-tech it helped