YouTube Playlist Importer

playlist
youtube
import

#1

Hey guys! I made an application a while back that allows users to import a full playlist on YouTube and converts it into a text file that PhantomBot can read. I will port the steps below on how to get it to work on Windows.

  1. Download the zip folder.
  2. Extract the file content from the zip folder.
  3. Launch the application by double-clicking on Playlist Importer.exe
  4. Create your own YouTube API key. Learn more about this here: Acquire YouTube API Key
  5. Copy your new YouTube API key, and place it in the API key box within the application.
  6. Make sure your YouTube playlist is public, and copy the id which is located after ?list= in the URL into the Playlist ID box within the application.
  7. Click the import button, enter the file name and location you want the playlist to be saved in, and if you followed everything correctly it should import all of your songs.

Just note that PhantomBot only allows 150 songs to be loaded, if you want more, you will have to use your API key with PhantomBot, which you can follow the Acquire YouTube API Key guide. Once you’ve done that, you can just import your playlist into PhantomBot like normal.

To import the song file into PhantomBot, simply copy and paste the txt file generated into the addons/youtubePlayer folder and run the !playlist importpl command.

PlaylistImporter.zip (243.0 KB)


[Java] Youtube Playlist Importer
Load a whole Youtube Playlist (3000+ Songs)
Needing help with youtube player
#3

It seems sometimes the importer will freeze/crash when importing a large playlist. unsure if its the size or the videos.

I was able to break it 8/10 times with this playlist id though: PLfY-m4YMsF-OM1zG80pMguej_Ufm8t0VC


#4

I am aware of that. it’s an issue with memory usage. I will look at it one day when I get time. It should still import the whole playlist before crashing, at least it did when I tested.


#5

Fixed in the latest upload, also did a bit of cleaning up and memory management.