I have something like that https://pastebin.com/ssmtZhW2 how do I convert this to a YouTube playlist?
-
None of the answers don't work anymore. The problem is in converting and saving "Untitled Playlist" to normal one. Untitled Playlist can't be saved anywhere, and the trick with "disable_polymer" doesn't work anymore. The only working solution now, in 2022, is to use extension Multiselect for YouTube to select all videos and save them to new proper playlist. Thank me later ;)– VladanJan 31 at 2:56
7 Answers
also, you can create it manually if you take this URL and add comma separated IDs:
1. https://www.youtube.com/watch_videos?video_ids=
like:
2. https://www.youtube.com/watch_videos?video_ids=AwyRYse4kss,QoitiIbdeaM,drlB2RT_XiA,etc...
3. then paste it into the browser's search box and hit ENTER
4. this will create a special playlist URL called "Untitled Playlist" where you will have your videos
https://www.youtube.com/watch?v=0rL1HcFc-Fg&list=TLGG2e3mUQob0B0wOTA5MjAxOA
SIDE NOTE: unfortunately there is one downside... such playlist is limited only to 50 videos
5. to save such playlist, be sure that you are logged in into youtube
6. add &disable_polymer=true at the end of the URL and hit ENTER
https://youtu.be/watch?v=0rL1HcFc-Fg&list=TLGG2e3mUQob0B0wOTA5MjAxOA&disable_polymer=true
7. then, somewhere around Subscribe button will appear + Add to button (or 3-dot/3-slash button with plus sign)
8. select Create a new playlist name it and press Create button
9. done!
-
well, I finally tried it and i have problems with saving my playlist. I can't see what you're talking about in step 7 :(– 4LajfSep 17, 2018 at 14:40
-
I agree with @4Lajf. I can play the videos, but I see no way of saving the playlist. If I +addTo, only the first video is added. Feb 8, 2019 at 17:42
-
-
1@MARKMYANSWER I don't see the same (maybe because videos are unlisted?) When I add to a play list, only the current video gets added (so, not very helpful). Feb 10, 2019 at 21:13
-
1In 2022, this doesn't work anymore. You can create an untitled playlist, but you cannot save it.– Regjohn1Jul 11, 2022 at 4:58
SPREADSHEET YOUTUBE PLAYLIST GENERATOR:
here I wrote a simple spreadsheet playlist generator: https://docs.google.com/spreadsheets/d/ just add youtube links in any desired order and press that red text in cell B1 to play it.
-
-
-
Thanks I did. It works great. I made a shared spreadsheet for a group I'm in. Would you like any social proof or acknowledgement, if so PM me a link that I can promote to the group. I did note that the playlist link generated from the spreadsheet does not work the same way one of your own playlists work if you put it in one of the playlist conversion websites. I was messing with that so my group could copy the list but that doesn't seem possible with what I've tried so far. Jan 29, 2019 at 16:43
-
This is great! (1) Does this also run into the 50 max limit? (2) What's the difference between "PLAYLIST" and "CC PLAYLIST"? Jan 6 at 11:31
there is also an online tool: http://roll.io/
0rL1HcFc-Fg
NrtklAE0AqQ
zXoKS2FlA8M
ux6UXT2pMhc
0rL1HcFc-Fg
NrtklAE0AqQ
zXoKS2FlA8M
ux6UXT2pMhc
T2RQwSEOplM
DkJ7IzAEDNE
gvtHAhDQAwU
MVD6PeYZm2o
Bnep5nXA8gc
YJNbwCZP40o
vpa7jugmofg
44BJVr17h-g
ezozODdXtHY
eM1o6JJAQs0
foMMNVWPf0o
XlaghBlMico
HDbT34nh4DQ
hGhUNSU0e9M
rqiehBC3d6c
vDgTFuCuD3w
6Gs2_GpXWhc
bP-hDcyUwwY
Ow3rIImBMVE
5S5b3bEdRZA
CZEkMA6FQRQ
esIYXrbpI6M
QMikCPrnIPo
YpJAJLtJnjc
NXXwyR8SJFE
fJnjnaHa2ZE
wGIs69RpxTk
M4-JKvEeYpA
b9VOq9B157I
9JY5bBMj5kw
f52mI1YHp-k
sH0ewuSL4gs
YnD99FSYD30
YET9Djg_AlU
z-sAl3S5qB8
uuzUq3ZeXec
w_GwM8ZwDqQ
c1si206KLoo
mzJqxT1UGho
fD6cZ1A-2fM
SBQprWeOx8g
RUuK0dtYc5U
JRQbVNzmCK0
- copy these IDs extracted from URLs and paste it there
- press Run my list! button and you are good to listen
NOTE: 50 video limit as well
-
1
-
-
Is it me or that site is broken now? It keeps reloading with a default playlist after almost every action– Diego VAug 18, 2019 at 18:03
-
-
Roll.io doesn't load for me. I get an "error 1020 (cloudflare). A google search says that means the firewall is blocking your IP, or country. Some site admins even get this error by the way. Personally I'm not a fan of cloudflare at all. There are numerous examples online of cloudflare screwing things up, blocking sites etc;. I don't care why it happens, I care that it happens. Why people continue to use it I don't understand. /rant– jastakoJun 7, 2021 at 16:12
A small python script
- to extract all the youtube links from the text file
you.list
. - open the browser (in background) with all the videos -
urllib2.urlopen(listOfVideos)
. - gets the new playlist link -
response.geturl()
. - opens the web browser again to allow the user to edit the playlist properties
webbrowser.open(playListURL)
.
*tested on Google Chrome
import os, io
import webbrowser
import urllib2
inputFileName = 'you.list'
def ReadMultipleDataFrom(thisTextFile, thisPattern):
inputData = []
file = open(thisTextFile, "r")
for iLine in file:
if iLine.startswith(thisPattern):
iLine = iLine.rstrip()
# print iLine
if ('v=') in iLine: # https://www.youtube.com/watch?v=aBcDeFGH
iLink = iLine.split('v=')[1]
inputData.append(iLink)
if ('be/') in iLine: # https://youtu.be/aBcDeFGH
iLink = iLine.split('be/')[1]
inputData.append(iLink)
return inputData
videoLinks = ReadMultipleDataFrom(inputFileName, "https")
# print videoLinks
listOfVideos = "http://www.youtube.com/watch_videos?video_ids=" + ','.join(videoLinks)
# print listOfVideos
response = urllib2.urlopen(listOfVideos)
playListLink = response.geturl()
# print playListLink
playListLink = playListLink.split('list=')[1]
# print playListLink
playListURL = "https://www.youtube.com/playlist?list="+playListLink+"&disable_polymer=true"
webbrowser.open(playListURL)
Spreadsheet generator is very handy.
There is also a Chrome extension for making playlist out of links.
To save generated playlist, do the following:
- Scrolling down a little to see the recommended videos on the righthand side.
- Putting your mouse over one of them, and clicking the "Add to Queue" button.
- Scrolling back up and clicking the newly made "Add queue to playlist" button.
Here is way by replaying the API call YouTube website is making to add a video in a playlist.
This does not limit number of videos to 50 or anything and does not require any external tool.
- Open one of the videos you want to add and create a new playlist by manually adding this video to it.
- Go to another video you want to add and open network tab of browser developer tools.
- Again add this video to playlist while keeping the network tab open.
- Pick out the network request responsible for adding the video in playlist. (for me it was a POST request to https://www.youtube.com/youtubei/v1/browse/edit_playlist?......)
- copy that request as a curl command by right clicking on it.
- There should be ID of the 2nd video in the curl command.(by ID I mean the random string that comes after v= in the video link)
- Now we want to execute this curl request for every ID we have. This can be done using many ways but I chose xargs command to do it.
something like following:
grep -o 'v=.*' videolist.txt | cut -f2 -d"=" | xargs -I {#} <copied_curl_command_with_video_ID_substituted_by "{#}">
The API call and so the curl command can change with time. note that the curl command contains bunch of identifiers and parameters which helps YouTube to identify you when adding videos to your playlist. which means it should expire after sometime.
Every answer mentioned here is able to create a limited list of 50 videos.
I have found a Chrome extension Multiselect for YouTube™. It allows multiselection of videos everywhere. And you can perform actions like
- Add to Queue
- Add to playlist etc.
Here is the result I just created Dr. Israr Ahmad Backup, a playlist of every video of a channel.
-
Can this extension convert a list of URLs to a playlist? It seems like I must instead manually check each video? Jan 6 at 11:34