[ rss / options / help ]
post ]
[ b / iq / g / zoo ] [ e / news / lab ] [ v / nom / pol / eco / emo / 101 / shed ]
[ art / A / beat / boo / com / fat / job / lit / map / mph / poof / £$€¥ / spo / uhu / uni / x / y ] [ * | sfw | o ]
logo
technology

Return ]

Posting mode: Reply
Reply ]
Subject   (reply to 27634)
Message
File  []
close
vghghvhvghvgh.png
276342763427634
>> No. 27634 Anonymous
30th September 2020
Wednesday 11:41 pm
27634 Youtube Playlist
I have never used my Youtube account. I barely log into it. If I found music I liked, I would bookmark it. So I thought it would be worthwhile to create a playlist of all those 3000 bookmarked youtube links on my account. I am a bit stuck as to finding a way of doing this. The manual way of clicking each one and then adding it to my playlist would probably take me weeks.

So I exported my bookmarks, and now I have all the links on a nice text file, but I am unsure of what to do next.

Is there anyway of converting my links on the text file into a playlist?
Expand all images.
>> No. 27635 Anonymous
1st October 2020
Thursday 1:01 am
27635 spacer
https://developers.google.com/youtube/v3/docs/playlists/insert

You'll need a Google API key; I've never used it for youtube so no idea if it's gonna cost you.
>> No. 27636 Anonymous
1st October 2020
Thursday 1:04 am
27636 spacer
>>27635
Looks like it'll be this one you need, actually:
https://developers.google.com/youtube/v3/docs/playlistItems/insert?apix=true
>> No. 27637 Anonymous
1st October 2020
Thursday 5:59 am
27637 spacer
>>27634
I'd never used mine until very recently - and in the end only for exactly the purpose you describe; finding things I want to watch, and then watching them later on the Apple TV. They get us all in the end.
>> No. 27638 Anonymous
1st October 2020
Thursday 7:55 pm
27638 spacer
>>27635
>>27636
That looks complicated, but I don't mind trying new stuff if it will work. I just don't want to pay for it.

>>27637
You would think that they would make it easier for people like us.


I remember, years ago, you could play around with the web address to create an untitled playlist, but that doesn't work any more.

Anyone got any ideas?
>> No. 27639 Anonymous
2nd October 2020
Friday 12:04 am
27639 spacer
>>27638
As far as I'm aware, you have three options:

1. Use the API (reliable, easier than option 2, may cost you);
2. Write a bot which directly interfaces with YouTube as if it were you clicking the mouse using something like Selenium for Python (unreliable, will take a lot of time, hard);
3. Manually make the playlist


For more info on Option 2:
https://towardsdatascience.com/controlling-the-web-with-python-6fceb22c5f08
>> No. 27640 Anonymous
4th October 2020
Sunday 11:55 pm
27640 spacer

2020-10-04 23_44_48-Command Prompt.png
276402764027640
>>27638

For downloading youtube videos I use youtube-dl which is a command line tool, you pass it the ID at the end of the URL, like in pic - guide here:


There is a switch in documentation (-x, --extract-audio) to extract the audio only and you can specify the format (--audio-format mp3) for example, perhaps this may be of use. I assume you can just use a batch file to do a whole bunch of them in one go.

Return ]
whiteline

Delete Post []
Password