Automate Spotify With Python - The RIGHT Way (Beginner Tutorial)

preview_player
Показать описание
Time to Automate Spotify with Python, the RIGHT way 😀

📚 MY FAVOURITE PROGRAMMING BOOKS 📚

⌨️ MY DESK SETUP (I ACTUALLY USE) ⌨️

📹 CREATOR SETUP 📹

📱 GET IN TOUCH:

✅ DOWNLOAD SOURCE CODE:

🎬 WATCH NEXT

❤️ LIKE
It takes me a long time to make these videos and a simple thumbs up would mean a lot

✅ SUBSCRIBE:

I'm going to show you how to automate getting your favourite music videos from YouTube and adding them to your Spotify automatically. This is a great Python Automation Project! I'm going to focus on writing good, clean and secure Pythonic code!

This is a great project to learn more about web development through understanding how we interact with APIs and Libraries.

Chapters:
0:00 What we're building
1:29 Setting up the project
4:10 Authenticating with YouTube Data API
5:42 Getting the Music Videos with the YouTube Data API
10:46 Authenticating with Spotify API
11:13 Searching and Adding Songs using the Spotify API
16:48 Putting it all together
21:45 Adding the Spotify API Key
22:13 Running the programme

#Python2020 #LearnPython #spotifyapi

Disclaimer: The links above are affiliate links. If you decide to purchase any of these products through my links, I'll receive a small commission at no extra cost to you. This helps support my channel, and I only recommend products that I've personally used and believe in.
Рекомендации по теме
Комментарии
Автор

I've just started programming and this video is exactly what I needed to motivate myself while I'm learning Python. Great video! Keep up the good work. See you around

modlobot
Автор

hey Imdad. amazing video youve put out. I just wanted to ask you how do i download youtube credentials file??
thanks in advance

alphamentxlity
Автор

Hi man,
at 9:45 of video, when you were trying to extract the artist and track info of the video, somehow I am not able to do that. It gave the KeyError: 'artist' or 'track' and when I traced back the video dict variable, there was no keys referring to either keyword "artist" or track! idk if there's another way to approach this problem! Really appreciate if you can help. Thanks!

hktran
Автор

Your video guides are really good. I'm trying to go in the opposite direction: getting a playlist from Spotify and converting it into a playlist in Youtube. Is it possible to use the libraries and APIs in this video (specially the youtube tools) for that?

lightzin
Автор

hi Imdad, i followed this video line by line and at last I got this error

in getArtistandTrackFromVideo
artist = video['artist']
KeyError: 'artist

ashutoshkapoor
Автор

hey could you tell me how to store my Youtube creds in the folder? I'm confused and would greatly appreciate the help

kanavveersingh
Автор

Hi Imdad. I am trying to run my project but struggling with the OAuth.
Upon clicking on the URL for authorization, i get the following error "The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob, can only be used by a Client ID for native application. It is not allowed for the WEB client type. You can create a Client ID for native application at"
Any idea why?

mushfiqrashid
Автор

I followed along with this tutorial and made a few changes to the code to fit my needs and it ended up working so well! Thanks for this great tutorial!

pracheeti
Автор

where to get the spotify token? im confused please help

sravan
Автор

hey Imdad, 17:06 pls tell me how to download the Youtube Credentials file and also how to place it in the directory . anyone pls kindly help asap

kurunari
Автор

for some reason when i try to go on the source code link i get to the page but when i go to the bottom of the page and click here to get the full source code it doesnt work

adilkhalifa
Автор

Hi there
Thanks for the idea for this project
I was facing one issue as said below,

This error pops up every time I try to run the youtube_client.py
KeyError: 'artist'
I have checked for any of the known errors but not able to figure them out

Can someone help me out?

sherwindsouza
Автор

Neat and easy to walk through! GJ! What's the music title in the video? Pretty chill

xaviknocker
Автор

Really great video i love these types of projects, proper interesting and great for a beginner. Liked and subscribed i hope you make more! :) Thanks

twilightselenaeva
Автор

When I get to "Enter your choice: " it doen't print out the names of playlists that I have before then. I tried to insert a number anyways and I get a "list index out of range" error. Does anyone know how to fix this?

isaac-
Автор

what code editor is this? it looks really clean, if you've added any extensions to it pls let me know!

aniketd
Автор

So you have to get a new spotify auth token every time you want to run the program? Is there a way to get permanent authorization?

TO-ilvc
Автор

can you tell me please what vs code theme do you use? its very cool

alexzander__
Автор

Hi Imdad,
I wanna start learning programming, which language should I start with? Is Python a good choice?

qassemdawood
Автор

Nice vide bro! But I have an issue when extracting the track name and artist through the youtube_dl. On every video i search, ["artist] and ["track] are equal to null. I don't know why, maybe they removed that information from ALL the songs? it's quiet confusing to me. The rest it's working just fine. I did a few tweaks and make it to be semi-auto-authenticated and currently I'm thinking on expanding it

AldorCrap
welcome to shbcf.ru