How to use ListBreak
Turn YouTube playlists and videos into transcript files for your BreakBot. You need a Windows computer. It takes a few minutes the first time, and one copied command after that.
Before you start
Whoever set you up should have given you two things:
- Your brand name, spelled exactly. Type it the same way every time.
- Where to save the files: your computer, a Google Drive folder, or a GitHub repository.
Saving to Google Drive? Install Google Drive for desktop and sign in first. Saving to GitHub? You need a GitHub account that can edit the repository.
1
Open PowerShell
- Press the Windows key, type PowerShell, press Enter.
- Leave it open for step 3. There is nothing to install: the command you copy in step 3 downloads the latest ListBreak tool each time.
2
Load your videos
- On YouTube, copy the address from the top of your browser: a playlist, or a single video. You can collect several and paste them all at once, one per line.
- Open ListBreak, paste into the box, and click Get links.
Each playlist gets its own folder. Single videos all go together into one folder, called Videos unless you rename it. Anything in the box that is not a YouTube link is skipped and listed for you.
3
Make the transcripts
- Scroll down to Transcripts.
- Type your Brand and choose Save to. For GitHub, also choose Who may read them and, if you like, a folder (or leave it empty and pick one in PowerShell).
- Check the coloured line above the command: it says who will be able to read the files.
- Click Copy command, right-click inside PowerShell to paste, and press Enter. If you change anything after copying, the page tells you to copy again.
- The first time, it may ask to install a helper program. Type Y and press Enter.
- GitHub: before saving, it shows Who may read them and the exact Folder, and waits. Press Enter to save there; type R to change who may read them, F to pick one of the folders already there or make a new one, or Q to stop without saving.
- Wait until it says Done. It shows where your files are.
About five seconds per video. ListBreak remembers your brand and choices for next time.
Adding new videos later
Do steps 2 and 3 again, with the same links or new ones. Videos that already have a transcript are skipped, even if they are in a different list or a different order, and files already made are never changed.
If something goes wrong
It says a program was installed and to open a new window
Close PowerShell, open it again, and paste the same command again.
"Google Drive for desktop was not found"
Install Google Drive for desktop, sign in, then run the command again.
GitHub asks you to sign in, or says the push was rejected
Sign in with your GitHub account when asked. If it is rejected, your account cannot edit that repository: ask the person who set you up for access, then run the command again. Your files are already saved and will be sent.
"Sign in to confirm you're not a bot", or some videos say "failed"
YouTube is slowing you down. Wait a few minutes and run the same command again; only the missing videos are retried.
Some videos say "no captions"
Those videos have no captions on YouTube. Nothing can be done for them.
ListBreak says it cannot read a playlist or video
Playlists and videos must be public or unlisted. YouTube does not allow Mixes, Watch later or Liked videos to be read: paste the video links themselves, or save them to a normal playlist first. A video link that also has list= in it loads the whole playlist; delete the part from &list= onwards to get just that video.
A window flashed and closed
The tool file was double-clicked. Always open PowerShell first and paste the command.
For the person setting up a team member or client
- Give them the ListBreak address, their brand name exactly as their BreakBot folder is spelled, and where to save.
- Google Drive: files go to
My Drive\BreakBot\<brand>\transcripts\, one folder per playlist plus one for single videos. That brand folder must be the one their BreakBot reads. - GitHub: they need edit access to their organisation's corpus repository (ConsumerBreak's is
ConsumerBreak-App/consumerbreak-corpus). Choose Who may read them (Public for public videos and anything online; Internal for unlisted or team-only videos) and, if you like, a folder to group them. Files go to<role>/youtube-transcripts/<brand>/<folder>/<playlist>/; the first folder is who may read them, and BreakBot follows it. A playlist keeps using its folder once it has one, and no playlist folder is added when the chosen folder already is the playlist's (for exampleshows/spectral-sessions). "Which folder is which role?" on the main page has a command that lists every folder in the repository with its role. - Only the list of videos passes through this website. Transcripts are made on their computer and go only to their own computer, Drive or GitHub.
- Transcripts of other people's videos belong to those creators: use them as reference for the bot, not for republishing.