codeShare commited on
Commit
6d7da8d
·
verified ·
1 Parent(s): 181a931

Update YT-playlist-to-mp3.ipynb

Browse files
Files changed (1) hide show
  1. YT-playlist-to-mp3.ipynb +3 -1
YT-playlist-to-mp3.ipynb CHANGED
@@ -75,11 +75,13 @@
75
  "source": [
76
  "\n",
77
  "playlist_URL = '' # @param {type:'string'}\n",
 
 
78
  "\n",
79
  "#Extract all videos in YT playlist mp3 files\n",
80
  "#Aborting this code is fine if list is latge ( You will keep downloaded mp3:s)\n",
81
  "%cd /content/tmp\n",
82
- "!yt-dlp --extract-audio --audio-format mp3 -o \"%(title)s.%(ext)s\" {playlist_URL}"
83
  ],
84
  "metadata": {
85
  "id": "0K9n3HM6l-7x"
 
75
  "source": [
76
  "\n",
77
  "playlist_URL = '' # @param {type:'string'}\n",
78
+ "playlist_start = 0 # @param {type:'number'}\n",
79
+ "playlist_end = 9999 # @param {type:'number'}\n",
80
  "\n",
81
  "#Extract all videos in YT playlist mp3 files\n",
82
  "#Aborting this code is fine if list is latge ( You will keep downloaded mp3:s)\n",
83
  "%cd /content/tmp\n",
84
+ "!yt-dlp --playlist-end {playlist_end} --playlist-start {playlist_start} --extract-audio --audio-format mp3 -o \"%(title)s.%(ext)s\" {playlist_URL}"
85
  ],
86
  "metadata": {
87
  "id": "0K9n3HM6l-7x"