Open RomeoDespres opened 3 years ago
Run:
git pull
cd update_billboard_playlist
python
and in the Python shell:
>>> import logging
>>> from update_playlist import update_playlist
>>> logging.basicConfig(level=logging.INFO, filename="playlist.log")
>>> update_playlist()
Then:
update_billboard_playlist/playlist.log
here.here is the playlist log
https://www.deezer.com/us/playlist/9098204442 -- playlist is still empty
INFO:root:Using playlist 9098204442 INFO:root:Connected to Deezer API INFO:root:Cleared playlist. INFO:root:Fetched 100 songs from Billboard INFO:root:Looking for Good 4 U by Olivia Rodrigo INFO:root:Changed Olivia Rodrigo to olivia rodrigo INFO:root:Found 2 tracks matching ('Good 4 U', 'olivia rodrigo') INFO:root:Matching olivia rodrigo against olivia rodrigo INFO:root:Matched INFO:root:Looking for my.life by J. Cole, 21 Savage & Morray INFO:root:Changed J. Cole, 21 Savage & Morray to j. cole, 21 savage INFO:root:Found 0 tracks matching ('my.life', 'j. cole, 21 savage') INFO:root:Found 25 tracks matching ('my.life',) INFO:root:Matching j. cole, 21 savage against therealkingsimba INFO:root:Matching j. cole, 21 savage against eylül INFO:root:Matching j. cole, 21 savage against bma INFO:root:Matching j. cole, 21 savage against faisal aden INFO:root:Matching j. cole, 21 savage against glizzyboyrod INFO:root:Matching j. cole, 21 savage against morbid garden INFO:root:Matching j. cole, 21 savage against shamstar INFO:root:Matching j. cole, 21 savage against lxbxr INFO:root:Matching j. cole, 21 savage against indehood INFO:root:Matching j. cole, 21 savage against yungsouldja INFO:root:Matching j. cole, 21 savage against echo INFO:root:Matching j. cole, 21 savage against juice newson INFO:root:Matching j. cole, 21 savage against future kings INFO:root:Matching j. cole, 21 savage against hippie jon INFO:root:Matching j. cole, 21 savage against kiddwolff INFO:root:Matching j. cole, 21 savage against lil cartell INFO:root:Matching j. cole, 21 savage against blink 1-16 INFO:root:Matching j. cole, 21 savage against blink 1-16 INFO:root:Matching j. cole, 21 savage against $capone INFO:root:Matching j. cole, 21 savage against redgoldensailors INFO:root:Matching j. cole, 21 savage against hal-d INFO:root:Matching j. cole, 21 savage against damnbyrd INFO:root:Matching j. cole, 21 savage against byg j INFO:root:Matching j. cole, 21 savage against mark morrison INFO:root:Matching j. cole, 21 savage against champagnesmusic INFO:root:No match. Returning MyLife by TheRealKingSimba. INFO:root:Looking for Levitating by Dua Lipa Featuring DaBaby INFO:root:Changed Dua Lipa Featuring DaBaby to dua lipa INFO:root:Found 19 tracks matching ('Levitating', 'dua lipa') INFO:root:Matching dua lipa against dua lipa INFO:root:Matched INFO:root:Looking for Leave The Door Open by Silk Sonic (Bruno Mars & Anderson .Paak) INFO:root:Changed Silk Sonic (Bruno Mars & Anderson .Paak) to silk sonic (bruno mars INFO:root:Found 2 tracks matching ('Leave The Door Open', 'silk sonic (bruno mars') INFO:root:Matching silk sonic (bruno mars against bruno mars INFO:root:Matching silk sonic (bruno mars against bruno mars INFO:root:No match. Returning Leave The Door Open by Bruno Mars. INFO:root:Looking for amari by J. Cole INFO:root:Changed J. Cole to j. cole INFO:root:Found 0 tracks matching ('amari', 'j. cole') INFO:root:Found 25 tracks matching ('amari',) INFO:root:Matching j. cole against lethal mobb entertainment INFO:root:Matching j. cole against slowed bunny INFO:root:Matching j. cole against golden era INFO:root:Matching j. cole against bayimba productions INFO:root:Matching j. cole against l0yalty INFO:root:Matching j. cole against polarities INFO:root:Matching j. cole against csókolom INFO:root:Matching j. cole against kidynamic beats INFO:root:Matching j. cole against chester thompson INFO:root:Matching j. cole against bechar thakor INFO:root:Matching j. cole against gaman santhal INFO:root:Matching j. cole against pk shampoo INFO:root:Matching j. cole against playa all tymez INFO:root:Matching j. cole against fnf88 INFO:root:Matching j. cole against aritra dasgupta INFO:root:Matching j. cole against kirtidan ghadhavi INFO:root:Matching j. cole against rich son INFO:root:Matching j. cole against spitphyre INFO:root:Matching j. cole against young bishop INFO:root:Matching j. cole against tomáš botló INFO:root:Matching j. cole against robthabeloved INFO:root:Matching j. cole against k$tg INFO:root:Matching j. cole against pravin luni INFO:root:Matching j. cole against dre $krilla INFO:root:Matching j. cole against g1sm0 INFO:root:No match. Returning Tell Me/Let Me Tell You (the interlude) [feat. Amari] by Lethal Mobb Entertainment. INFO:root:Looking for Peaches by Justin Bieber Featuring Daniel Caesar & Giveon INFO:root:Changed Justin Bieber Featuring Daniel Caesar & Giveon to justin bieber INFO:root:Found 11 tracks matching ('Peaches', 'justin bieber') INFO:root:Matching justin bieber against justin bieber INFO:root:Matched INFO:root:Looking for pride.is.the.devil by J. Cole & Lil Baby INFO:root:Changed J. Cole & Lil Baby to j. cole INFO:root:Found 0 tracks matching ('pride.is.the.devil', 'j. cole') INFO:root:Found 0 tracks matching ('pride.is.the.devil',) INFO:root:Looking for 95.south by J. Cole INFO:root:Changed J. Cole to j. cole INFO:root:Found 0 tracks matching ('95.south', 'j. cole') INFO:root:Found 0 tracks matching ('95.south',) INFO:root:Looking for Save Your Tears by The Weeknd & Ariana Grande INFO:root:Changed The Weeknd & Ariana Grande to the weeknd INFO:root:Found 10 tracks matching ('Save Your Tears', 'the weeknd') INFO:root:Matching the weeknd against the weeknd INFO:root:Matched INFO:root:Looking for Kiss Me More by Doja Cat Featuring SZA INFO:root:Changed Doja Cat Featuring SZA to doja cat INFO:root:Found 2 tracks matching ('Kiss Me More', 'doja cat') INFO:root:Matching doja cat against doja cat INFO:root:Matched INFO:root:Looking for Astronaut In The Ocean by Masked Wolf INFO:root:Changed Masked Wolf to masked wolf INFO:root:Found 18 tracks matching ('Astronaut In The Ocean', 'masked wolf') INFO:root:Matching masked wolf against masked wolf INFO:root:Matched INFO:root:Looking for Seeing Green by Nicki Minaj, Drake & Lil Wayne INFO:root:Changed Nicki Minaj, Drake & Lil Wayne to nicki minaj, drake INFO:root:Found 3 tracks matching ('Seeing Green', 'nicki minaj, drake') INFO:root:Matching nicki minaj, drake against nicki minaj INFO:root:Matching nicki minaj, drake against nicki minaj INFO:root:Matching nicki minaj, drake against nicki minaj INFO:root:No match. Returning Seeing Green by Nicki Minaj. INFO:root:Looking for applying.pressure by J. Cole INFO:root:Changed J. Cole to j. cole INFO:root:Found 0 tracks matching ('applying.pressure', 'j. cole') INFO:root:Found 0 tracks matching ('applying.pressure',) INFO:root:Looking for 100.mil' by J. Cole & Bas INFO:root:Changed J. Cole & Bas to j. cole INFO:root:Found 0 tracks matching ("100.mil'", 'j. cole') INFO:root:Found 21 tracks matching ("100.mil'",) INFO:root:Matching j. cole against toche to INFO:root:Matching j. cole against polaris exchange INFO:root:Matching j. cole against r015 INFO:root:Matching j. cole against literario music INFO:root:Matching j. cole against trapboy erm INFO:root:Matching j. cole against adsom INFO:root:Matching j. cole against deshumanizador INFO:root:Matching j. cole against carrington cash INFO:root:Matching j. cole against drip lafleur INFO:root:Matching j. cole against cst jonez INFO:root:Matching j. cole against deshumanizador INFO:root:Matching j. cole against mr.garcia INFO:root:Matching j. cole against wellgahdamkt INFO:root:Matching j. cole against jovan INFO:root:Matching j. cole against k dirrty 8:30 INFO:root:Matching j. cole against 95 rose INFO:root:Matching j. cole against ty high INFO:root:Matching j. cole against kypeer gtg INFO:root:Matching j. cole against jovaan INFO:root:Matching j. cole against jayr134 INFO:root:Matching j. cole against kidd samu INFO:root:No match. Returning 100mil by TochE TO. INFO:root:Looking for Rapstar by Polo G INFO:root:Changed Polo G to polo g INFO:root:Found 2 tracks matching ('Rapstar', 'polo g') INFO:root:Matching polo g against polo g INFO:root:Matched INFO:root:Looking for Without You by The Kid LAROI INFO:root:Changed The Kid LAROI to the kid laroi INFO:root:Found 5 tracks matching ('Without You', 'the kid laroi') INFO:root:Matching the kid laroi against the kid laroi INFO:root:Matched INFO:root:Looking for interlude by J. Cole INFO:root:Changed J. Cole to j. cole INFO:root:Found 13 tracks matching ('interlude', 'j. cole') INFO:root:Matching j. cole against j. cole INFO:root:Matched INFO:root:Looking for Montero (Call Me By Your Name) by Lil Nas X INFO:root:Changed Lil Nas X to lil nas x INFO:root:Found 11 tracks matching ('Montero (Call Me By Your Name)', 'lil nas x') INFO:root:Matching lil nas x against lil nas x INFO:root:Matched INFO:root:Looking for let.go.my.hand by J. Cole, Bas & 6LACK INFO:root:Changed J. Cole, Bas & 6LACK to j. cole, bas INFO:root:Found 0 tracks matching ('let.go.my.hand', 'j. cole, bas') INFO:root:Found 0 tracks matching ('let.go.my.hand',) INFO:root:Looking for punchin'.the.clock by J. Cole INFO:root:Changed J. Cole to j. cole INFO:root:Found 0 tracks matching ("punchin'.the.clock", 'j. cole') INFO:root:Found 0 tracks matching ("punchin'.the.clock",) INFO:root:Looking for Deja Vu by Olivia Rodrigo INFO:root:Changed Olivia Rodrigo to olivia rodrigo INFO:root:Found 3 tracks matching ('Deja Vu', 'olivia rodrigo') INFO:root:Matching olivia rodrigo against olivia rodrigo INFO:root:Matched INFO:root:Looking for Forever After All by Luke Combs INFO:root:Changed Luke Combs to luke combs INFO:root:Found 0 tracks matching ('Forever After All', 'luke combs') INFO:root:Found 0 tracks matching ('Forever After All',) INFO:root:Looking for Blinding Lights by The Weeknd INFO:root:Changed The Weeknd to the weeknd INFO:root:Found 17 tracks matching ('Blinding Lights', 'the weeknd') INFO:root:Matching the weeknd against the weeknd INFO:root:Matched INFO:root:Looking for Drivers License by Olivia Rodrigo INFO:root:Changed Olivia Rodrigo to olivia rodrigo INFO:root:Found 7 tracks matching ('Drivers License', 'olivia rodrigo') INFO:root:Matching olivia rodrigo against olivia rodrigo INFO:root:Matched INFO:root:Looking for the.climb.back by J. Cole INFO:root:Changed J. Cole to j. cole INFO:root:Found 0 tracks matching ('the.climb.back', 'j. cole') INFO:root:Found 0 tracks matching ('the.climb.back',) INFO:root:Looking for Beautiful Mistakes by Maroon 5 Featuring Megan Thee Stallion INFO:root:Changed Maroon 5 Featuring Megan Thee Stallion to maroon 5 INFO:root:Found 25 tracks matching ('Beautiful Mistakes', 'maroon 5') INFO:root:Matching maroon 5 against maroon 5 INFO:root:Matched INFO:root:Looking for Up by Cardi B INFO:root:Changed Cardi B to cardi b INFO:root:Found 23 tracks matching ('Up', 'cardi b') INFO:root:Matching cardi b against cardi b INFO:root:Matched INFO:root:Looking for hunger.on.hillside by J. Cole & Bas INFO:root:Changed J. Cole & Bas to j. cole INFO:root:Found 0 tracks matching ('hunger.on.hillside', 'j. cole') INFO:root:Found 0 tracks matching ('hunger.on.hillside',) INFO:root:Looking for Calling My Phone by Lil Tjay Featuring 6LACK INFO:root:Changed Lil Tjay Featuring 6LACK to lil tjay INFO:root:Found 5 tracks matching ('Calling My Phone', 'lil tjay') INFO:root:Matching lil tjay against lil tjay INFO:root:Matched INFO:root:Looking for Best Friend by Saweetie Featuring Doja Cat INFO:root:Changed Saweetie Featuring Doja Cat to saweetie INFO:root:Found 15 tracks matching ('Best Friend', 'saweetie') INFO:root:Matching saweetie against saweetie INFO:root:Matched INFO:root:Looking for Beat Box by SpotemGottem Featuring Pooh Shiesty Or DaBaby INFO:root:Changed SpotemGottem Featuring Pooh Shiesty Or DaBaby to spotemgottem INFO:root:Found 16 tracks matching ('Beat Box', 'spotemgottem') INFO:root:Matching spotemgottem against spotemgottem INFO:root:Matched INFO:root:Looking for Heartbreak Anniversary by Giveon INFO:root:Changed Giveon to giveon INFO:root:Found 4 tracks matching ('Heartbreak Anniversary', 'giveon') INFO:root:Matching giveon against giveon INFO:root:Matched INFO:root:Looking for close by J. Cole INFO:root:Changed J. Cole to j. cole INFO:root:Found 0 tracks matching ('close', 'j. cole') INFO:root:Found 25 tracks matching ('close',) INFO:root:Matching j. cole against lil baby INFO:root:Matching j. cole against notd INFO:root:Matching j. cole against the emulated pulsars INFO:root:Matching j. cole against lil wolfie INFO:root:Matching j. cole against can doo INFO:root:Matching j. cole against steven mdierks INFO:root:Matching j. cole against the police INFO:root:Matching j. cole against going back in INFO:root:Matching j. cole against short sighted fellows INFO:root:Matching j. cole against auburn INFO:root:Matching j. cole against purple boy INFO:root:Matching j. cole against purple boy INFO:root:Matching j. cole against relaxing music therapy INFO:root:Matching j. cole against relaxing music therapy INFO:root:Matching j. cole against next INFO:root:Matching j. cole against spa INFO:root:Matching j. cole against spa INFO:root:Matching j. cole against run the jewels INFO:root:Matching j. cole against run the jewels INFO:root:Matching j. cole against run the jewels INFO:root:Matching j. cole against ocean waves for sleep INFO:root:Matching j. cole against nature sounds nature music INFO:root:Matching j. cole against nature sounds nature music INFO:root:Matching j. cole against nature sounds nature music INFO:root:Matching j. cole against lita ford INFO:root:No match. Returning Close Friends by Lil Baby. INFO:root:Looking for My Ex's Best Friend by Machine Gun Kelly X blackbear INFO:root:Changed Machine Gun Kelly X blackbear to machine gun kelly x blackbear INFO:root:Found 0 tracks matching ("My Ex's Best Friend", 'machine gun kelly x blackbear') INFO:root:Found 25 tracks matching ("My Ex's Best Friend",) INFO:root:Matching machine gun kelly x blackbear against machine gun kelly INFO:root:Matching machine gun kelly x blackbear against machine gun kelly INFO:root:Matching machine gun kelly x blackbear against machine gun kelly INFO:root:Matching machine gun kelly x blackbear against our last night INFO:root:Matching machine gun kelly x blackbear against machine gun kelly INFO:root:Matching machine gun kelly x blackbear against kid fly INFO:root:Matching machine gun kelly x blackbear against machine gun kelly INFO:root:Matching machine gun kelly x blackbear against machine gun kelly INFO:root:Matching machine gun kelly x blackbear against machine gun kelly INFO:root:Matching machine gun kelly x blackbear against machine gun kelly INFO:root:Matching machine gun kelly x blackbear against machine gun kelly INFO:root:Matching machine gun kelly x blackbear against karaoke pro INFO:root:Matching machine gun kelly x blackbear against karaoke pro INFO:root:Matching machine gun kelly x blackbear against vox freaks INFO:root:Matching machine gun kelly x blackbear against ghxst figures INFO:root:Matching machine gun kelly x blackbear against kph INFO:root:Matching machine gun kelly x blackbear against dream keys INFO:root:Matching machine gun kelly x blackbear against piano dreamers INFO:root:Matching machine gun kelly x blackbear against vito astone INFO:root:Matching machine gun kelly x blackbear against vito astone INFO:root:Matching machine gun kelly x blackbear against hit the button karaoke INFO:root:Matching machine gun kelly x blackbear against hit the button karaoke INFO:root:Matching machine gun kelly x blackbear against 8 bit universe INFO:root:Matching machine gun kelly x blackbear against piano dreamers INFO:root:Matching machine gun kelly x blackbear against matthew gold INFO:root:No match. Returning my ex's best friend by Machine Gun Kelly. INFO:root:Looking for Every Chance I Get by DJ Khaled Featuring Lil Baby & Lil Durk INFO:root:Changed DJ Khaled Featuring Lil Baby & Lil Durk to dj khaled INFO:root:Found 2 tracks matching ('Every Chance I Get', 'dj khaled') INFO:root:Matching dj khaled against dj khaled INFO:root:Matched INFO:root:Looking for Hell Of A View by Eric Church INFO:root:Changed Eric Church to eric church INFO:root:Found 13 tracks matching ('Hell Of A View', 'eric church') INFO:root:Matching eric church against eric church INFO:root:Matched INFO:root:Looking for Mood by 24kGoldn Featuring iann dior INFO:root:Changed 24kGoldn Featuring iann dior to 24kgoldn INFO:root:Found 5 tracks matching ('Mood', '24kgoldn') INFO:root:Matching 24kgoldn against 24kgoldn INFO:root:Matched INFO:root:Looking for Straightenin by Migos INFO:root:Changed Migos to migos INFO:root:Found 2 tracks matching ('Straightenin', 'migos') INFO:root:Matching migos against migos INFO:root:Matched INFO:root:Looking for Wockesha by Moneybagg Yo INFO:root:Changed Moneybagg Yo to moneybagg yo INFO:root:Found 2 tracks matching ('Wockesha', 'moneybagg yo') INFO:root:Matching moneybagg yo against moneybagg yo INFO:root:Matched INFO:root:Looking for Back In Blood by Pooh Shiesty Featuring Lil Durk INFO:root:Changed Pooh Shiesty Featuring Lil Durk to pooh shiesty INFO:root:Found 5 tracks matching ('Back In Blood', 'pooh shiesty') INFO:root:Matching pooh shiesty against pooh shiesty INFO:root:Matched INFO:root:Looking for The Good Ones by Gabby Barrett INFO:root:Changed Gabby Barrett to gabby barrett INFO:root:Found 7 tracks matching ('The Good Ones', 'gabby barrett') INFO:root:Matching gabby barrett against gabby barrett INFO:root:Matched INFO:root:Looking for Heat Waves by Glass Animals INFO:root:Changed Glass Animals to glass animals INFO:root:Found 25 tracks matching ('Heat Waves', 'glass animals') INFO:root:Matching glass animals against glass animals INFO:root:Matched INFO:root:Looking for Breaking Up Was Easy In The 90's by Sam Hunt INFO:root:Changed Sam Hunt to sam hunt INFO:root:Found 6 tracks matching ("Breaking Up Was Easy In The 90's", 'sam hunt') INFO:root:Matching sam hunt against sam hunt INFO:root:Matched INFO:root:Looking for Track Star by Mooski INFO:root:Changed Mooski to mooski INFO:root:Found 25 tracks matching ('Track Star', 'mooski') INFO:root:Matching mooski against mooski INFO:root:Matched INFO:root:Looking for What You Know Bout Love by Pop Smoke INFO:root:Changed Pop Smoke to pop smoke INFO:root:Found 25 tracks matching ('What You Know Bout Love', 'pop smoke') INFO:root:Matching pop smoke against pop smoke INFO:root:Matched INFO:root:Looking for We're Good by Dua Lipa INFO:root:Changed Dua Lipa to dua lipa INFO:root:Found 9 tracks matching ("We're Good", 'dua lipa') INFO:root:Matching dua lipa against dua lipa INFO:root:Matched INFO:root:Looking for On Me by Lil Baby INFO:root:Changed Lil Baby to lil baby INFO:root:Found 25 tracks matching ('On Me', 'lil baby') INFO:root:Matching lil baby against lil baby INFO:root:Matched INFO:root:Looking for Telepatia by Kali Uchis INFO:root:Changed Kali Uchis to kali uchis INFO:root:Found 25 tracks matching ('Telepatia', 'kali uchis') INFO:root:Matching kali uchis against kali uchis INFO:root:Matched INFO:root:Looking for Wants And Needs by Drake Featuring Lil Baby INFO:root:Changed Drake Featuring Lil Baby to drake INFO:root:Found 2 tracks matching ('Wants And Needs', 'drake') INFO:root:Matching drake against drake INFO:root:Matched INFO:root:Looking for Miss The Rage by Trippie Redd & Playboi Carti INFO:root:Changed Trippie Redd & Playboi Carti to trippie redd INFO:root:Found 10 tracks matching ('Miss The Rage', 'trippie redd') INFO:root:Matching trippie redd against trippie redd INFO:root:Matched INFO:root:Looking for pov by Ariana Grande INFO:root:Changed Ariana Grande to ariana grande INFO:root:Found 4 tracks matching ('pov', 'ariana grande') INFO:root:Matching ariana grande against ariana grande INFO:root:Matched INFO:root:Looking for Fractions by Nicki Minaj INFO:root:Changed Nicki Minaj to nicki minaj INFO:root:Found 3 tracks matching ('Fractions', 'nicki minaj') INFO:root:Matching nicki minaj against nicki minaj INFO:root:Matched INFO:root:Looking for Time Today by Moneybagg Yo INFO:root:Changed Moneybagg Yo to moneybagg yo INFO:root:Found 2 tracks matching ('Time Today', 'moneybagg yo') INFO:root:Matching moneybagg yo against moneybagg yo INFO:root:Matched INFO:root:Looking for Your Power by Billie Eilish INFO:root:Changed Billie Eilish to billie eilish INFO:root:Found 1 tracks matching ('Your Power', 'billie eilish') INFO:root:Matching billie eilish against billie eilish INFO:root:Matched INFO:root:Looking for Famous Friends by Chris Young + Kane Brown INFO:root:Changed Chris Young + Kane Brown to chris young INFO:root:Found 1 tracks matching ('Famous Friends', 'chris young') INFO:root:Matching chris young against chris young INFO:root:Matched INFO:root:Looking for Made For You by Jake Owen INFO:root:Changed Jake Owen to jake owen INFO:root:Found 3 tracks matching ('Made For You', 'jake owen') INFO:root:Matching jake owen against jake owen INFO:root:Matched INFO:root:Looking for Settling Down by Miranda Lambert INFO:root:Changed Miranda Lambert to miranda lambert INFO:root:Found 2 tracks matching ('Settling Down', 'miranda lambert') INFO:root:Matching miranda lambert against miranda lambert INFO:root:Matched INFO:root:Looking for Build A Bitch by Bella Poarch INFO:root:Changed Bella Poarch to bella poarch INFO:root:Found 2 tracks matching ('Build A Bitch', 'bella poarch') INFO:root:Matching bella poarch against bella poarch INFO:root:Matched INFO:root:Looking for Nobody by Dylan Scott INFO:root:Changed Dylan Scott to dylan scott INFO:root:Found 6 tracks matching ('Nobody', 'dylan scott') INFO:root:Matching dylan scott against dylan scott INFO:root:Matched INFO:root:Looking for No More Parties by Coi Leray Featuring Lil Durk INFO:root:Changed Coi Leray Featuring Lil Durk to coi leray INFO:root:Found 25 tracks matching ('No More Parties', 'coi leray') INFO:root:Matching coi leray against coi leray INFO:root:Matched INFO:root:Looking for Almost Maybes by Jordan Davis INFO:root:Changed Jordan Davis to jordan davis INFO:root:Found 25 tracks matching ('Almost Maybes', 'jordan davis') INFO:root:Matching jordan davis against jordan davis INFO:root:Matched INFO:root:Looking for Gone by Dierks Bentley INFO:root:Changed Dierks Bentley to dierks bentley INFO:root:Found 2 tracks matching ('Gone', 'dierks bentley') INFO:root:Matching dierks bentley against dierks bentley INFO:root:Matched INFO:root:Looking for Ski by Young Thug & Gunna INFO:root:Changed Young Thug & Gunna to young thug INFO:root:Found 4 tracks matching ('Ski', 'young thug') INFO:root:Matching young thug against young stoner life INFO:root:Matching young thug against young stoner life INFO:root:Matching young thug against young stoner life INFO:root:Matching young thug against young stoner life INFO:root:No match. Returning Ski by Young Stoner Life. INFO:root:Looking for Lil Bit by Nelly & Florida Georgia Line INFO:root:Changed Nelly & Florida Georgia Line to nelly INFO:root:Found 1 tracks matching ('Lil Bit', 'nelly') INFO:root:Matching nelly against nelly INFO:root:Matched INFO:root:Looking for Goosebumps by Travis Scott & HVME INFO:root:Changed Travis Scott & HVME to travis scott INFO:root:Found 6 tracks matching ('Goosebumps', 'travis scott') INFO:root:Matching travis scott against travis scott INFO:root:Matched INFO:root:Looking for What's Next by Drake INFO:root:Changed Drake to drake INFO:root:Found 2 tracks matching ("What's Next", 'drake') INFO:root:Matching drake against drake INFO:root:Matched INFO:root:Looking for His & Hers by Internet Money, Don Toliver & Lil Uzi Vert Featuring Gunna INFO:root:Changed Internet Money, Don Toliver & Lil Uzi Vert Featuring Gunna to internet money, don toliver INFO:root:Found 2 tracks matching ('His & Hers', 'internet money, don toliver') INFO:root:Matching internet money, don toliver against internet money INFO:root:Matching internet money, don toliver against internet money INFO:root:No match. Returning His & Hers by Internet money. INFO:root:Looking for Streets by Doja Cat INFO:root:Changed Doja Cat to doja cat INFO:root:Found 12 tracks matching ('Streets', 'doja cat') INFO:root:Matching doja cat against doja cat INFO:root:Matched INFO:root:Looking for One Too Many by Keith Urban Duet With P!nk INFO:root:Changed Keith Urban Duet With P!nk to keith urban duet with p!nk INFO:root:Found 0 tracks matching ('One Too Many', 'keith urban duet with p!nk') INFO:root:Found 25 tracks matching ('One Too Many',) INFO:root:Matching keith urban duet with p!nk against keith urban INFO:root:Matching keith urban duet with p!nk against keith urban INFO:root:Matching keith urban duet with p!nk against the chemical brothers INFO:root:Matching keith urban duet with p!nk against sondra locke INFO:root:Matching keith urban duet with p!nk against three days grace INFO:root:Matching keith urban duet with p!nk against kaytranada INFO:root:Matching keith urban duet with p!nk against bob dylan INFO:root:Matching keith urban duet with p!nk against random kats INFO:root:Matching keith urban duet with p!nk against cutty dre INFO:root:Matching keith urban duet with p!nk against maxine conrad INFO:root:Matching keith urban duet with p!nk against sinatris INFO:root:Matching keith urban duet with p!nk against suicidal tendencies INFO:root:Matching keith urban duet with p!nk against bob dylan INFO:root:Matching keith urban duet with p!nk against winds of plague INFO:root:Matching keith urban duet with p!nk against phoenix INFO:root:Matching keith urban duet with p!nk against new medicine INFO:root:Matching keith urban duet with p!nk against reo speedwagon INFO:root:Matching keith urban duet with p!nk against fletcher INFO:root:Matching keith urban duet with p!nk against nick lowe INFO:root:Matching keith urban duet with p!nk against the highwaymen INFO:root:Matching keith urban duet with p!nk against lory s. INFO:root:Matching keith urban duet with p!nk against joan baez INFO:root:Matching keith urban duet with p!nk against me and the boy INFO:root:Matching keith urban duet with p!nk against building 429 INFO:root:Matching keith urban duet with p!nk against the ocean blue INFO:root:No match. Returning One Too Many by Keith Urban. INFO:root:Looking for Quicksand by Morray INFO:root:Changed Morray to morray INFO:root:Found 2 tracks matching ('Quicksand', 'morray') INFO:root:Matching morray against morray INFO:root:Matching morray against morray INFO:root:No match. Returning Quicksand by Morray . INFO:root:Looking for Glad You Exist by Dan + Shay INFO:root:Changed Dan + Shay to dan INFO:root:Found 3 tracks matching ('Glad You Exist', 'dan') INFO:root:Matching dan against dan INFO:root:Matched INFO:root:Looking for Tombstone by Rod Wave INFO:root:Changed Rod Wave to rod wave INFO:root:Found 4 tracks matching ('Tombstone', 'rod wave') INFO:root:Matching rod wave against rod wave INFO:root:Matched INFO:root:Looking for Blame It On You by Jason Aldean INFO:root:Changed Jason Aldean to jason aldean INFO:root:Found 2 tracks matching ('Blame It On You', 'jason aldean') INFO:root:Matching jason aldean against jason aldean INFO:root:Matched INFO:root:Looking for Hold On by Justin Bieber INFO:root:Changed Justin Bieber to justin bieber INFO:root:Found 25 tracks matching ('Hold On', 'justin bieber') INFO:root:Matching justin bieber against justin bieber INFO:root:Matched INFO:root:Looking for Follow You by Imagine Dragons INFO:root:Changed Imagine Dragons to imagine dragons INFO:root:Found 1 tracks matching ('Follow You', 'imagine dragons') INFO:root:Matching imagine dragons against imagine dragons INFO:root:Matched INFO:root:Looking for Solid by Young Thug & Gunna Featuring Drake INFO:root:Changed Young Thug & Gunna Featuring Drake to young thug INFO:root:Found 4 tracks matching ('Solid', 'young thug') INFO:root:Matching young thug against young stoner life INFO:root:Matching young thug against young stoner life INFO:root:Matching young thug against young stoner life INFO:root:Matching young thug against young stoner life INFO:root:No match. Returning Solid (feat. Drake) by Young Stoner Life. INFO:root:Looking for Single Saturday Night by Cole Swindell INFO:root:Changed Cole Swindell to cole swindell INFO:root:Found 1 tracks matching ('Single Saturday Night', 'cole swindell') INFO:root:Matching cole swindell against cole swindell INFO:root:Matched INFO:root:Looking for White Teeth by YoungBoy Never Broke Again INFO:root:Changed YoungBoy Never Broke Again to youngboy never broke again INFO:root:Found 1 tracks matching ('White Teeth', 'youngboy never broke again') INFO:root:Matching youngboy never broke again against youngboy never broke again INFO:root:Matched INFO:root:Looking for The Business by Tiesto INFO:root:Changed Tiesto to tiesto INFO:root:Found 25 tracks matching ('The Business', 'tiesto') INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:Matching tiesto against tiësto INFO:root:No match. Returning The Business by Tiësto. INFO:root:Looking for Arcade by Duncan Laurence INFO:root:Changed Duncan Laurence to duncan laurence INFO:root:Found 25 tracks matching ('Arcade', 'duncan laurence') INFO:root:Matching duncan laurence against duncan laurence INFO:root:Matched INFO:root:Looking for Pick Up Your Feelings by Jazmine Sullivan INFO:root:Changed Jazmine Sullivan to jazmine sullivan INFO:root:Found 3 tracks matching ('Pick Up Your Feelings', 'jazmine sullivan') INFO:root:Matching jazmine sullivan against jazmine sullivan INFO:root:Matched INFO:root:Looking for Itty Bitty Piggy by Nicki Minaj INFO:root:Changed Nicki Minaj to nicki minaj INFO:root:Found 2 tracks matching ('Itty Bitty Piggy', 'nicki minaj') INFO:root:Matching nicki minaj against nicki minaj INFO:root:Matched INFO:root:Looking for Hello by Pop Smoke Featuring A Boogie Wit da Hoodie INFO:root:Changed Pop Smoke Featuring A Boogie Wit da Hoodie to pop smoke INFO:root:Found 7 tracks matching ('Hello', 'pop smoke') INFO:root:Matching pop smoke against pop smoke INFO:root:Matched INFO:root:Looking for Street Runner by Rod Wave INFO:root:Changed Rod Wave to rod wave INFO:root:Found 4 tracks matching ('Street Runner', 'rod wave') INFO:root:Matching rod wave against rod wave INFO:root:Matched INFO:root:Looking for Way Less Sad by AJR INFO:root:Changed AJR to ajr INFO:root:Found 2 tracks matching ('Way Less Sad', 'ajr') INFO:root:Matching ajr against ajr INFO:root:Matched INFO:root:Looking for Drankin N Smokin by Future & Lil Uzi Vert INFO:root:Changed Future & Lil Uzi Vert to future INFO:root:Found 4 tracks matching ('Drankin N Smokin', 'future') INFO:root:Matching future against future INFO:root:Matched INFO:root:Looking for Chasing After You by Ryan Hurd With Maren Morris INFO:root:Changed Ryan Hurd With Maren Morris to ryan hurd with maren morris INFO:root:Found 0 tracks matching ('Chasing After You', 'ryan hurd with maren morris') INFO:root:Found 0 tracks matching ('Chasing After You',) INFO:root:Looking for La Noche de Anoche by Bad Bunny & Rosalia INFO:root:Changed Bad Bunny & Rosalia to bad bunny INFO:root:Found 1 tracks matching ('La Noche de Anoche', 'bad bunny') INFO:root:Matching bad bunny against bad bunny INFO:root:Matched INFO:root:Looking for Come Through by H.E.R. Featuring Chris Brown INFO:root:Changed H.E.R. Featuring Chris Brown to h.e.r. INFO:root:Found 2 tracks matching ('Come Through', 'h.e.r.') INFO:root:Matching h.e.r. against h.e.r. INFO:root:Matched INFO:root:Looking for Shottas (Lala) by Moneybagg Yo INFO:root:Changed Moneybagg Yo to moneybagg yo INFO:root:Found 2 tracks matching ('Shottas (Lala)', 'moneybagg yo') INFO:root:Matching moneybagg yo against moneybagg yo INFO:root:Matched INFO:root:Looking for Never Left by Lil Tecca INFO:root:Changed Lil Tecca to lil tecca INFO:root:Found 0 tracks matching ('Never Left', 'lil tecca') INFO:root:Found 25 tracks matching ('Never Left',) INFO:root:Matching lil tecca against die antwoord INFO:root:Matching lil tecca against die antwoord INFO:root:Matching lil tecca against idles INFO:root:Matching lil tecca against michael jackson INFO:root:Matching lil tecca against ben macklin INFO:root:Matching lil tecca against the van dykes INFO:root:Matching lil tecca against mackenzie burns INFO:root:Matching lil tecca against andrea guerra INFO:root:Matching lil tecca against andrea guerra INFO:root:Matching lil tecca against andrea guerra INFO:root:Matching lil tecca against ascer groove INFO:root:Matching lil tecca against andrea guerra INFO:root:Matching lil tecca against the 3 jacksons INFO:root:Matching lil tecca against mackenzie burns INFO:root:Matching lil tecca against andrea guerra INFO:root:Matching lil tecca against andrea guerra INFO:root:Matching lil tecca against andrea guerra INFO:root:Matching lil tecca against mackenzie burns INFO:root:Matching lil tecca against mackenzie burns INFO:root:Matching lil tecca against mackenzie burns INFO:root:Matching lil tecca against loochi bwalya INFO:root:Matching lil tecca against mackenzie burns INFO:root:Matching lil tecca against euphoreador INFO:root:Matching lil tecca against def dames dope INFO:root:Matching lil tecca against mackenzie burns INFO:root:No match. Returning Never Le Nkemise 1 by Die Antwoord. INFO:root:Looking for Drunk (And I Don't Wanna Go Home) by Elle King & Miranda Lambert INFO:root:Changed Elle King & Miranda Lambert to elle king INFO:root:Found 2 tracks matching ("Drunk (And I Don't Wanna Go Home)", 'elle king') INFO:root:Matching elle king against elle king INFO:root:Matched INFO:root:Looking for 4 Da Gang by 42 Dugg & Roddy Ricch INFO:root:Changed 42 Dugg & Roddy Ricch to 42 dugg INFO:root:Found 4 tracks matching ('4 Da Gang', '42 dugg') INFO:root:Matching 42 dugg against 42 dugg INFO:root:Matched INFO:root:Looking for Things A Man Oughta Know by Lainey Wilson INFO:root:Changed Lainey Wilson to lainey wilson INFO:root:Found 1 tracks matching ('Things A Man Oughta Know', 'lainey wilson') INFO:root:Matching lainey wilson against lainey wilson INFO:root:Matched INFO:root:Looking for Higher Power by Coldplay INFO:root:Changed Coldplay to coldplay INFO:root:Found 2 tracks matching ('Higher Power', 'coldplay') INFO:root:Matching coldplay against coldplay INFO:root:Matched INFO:root:Looking for Minimum Wage by Blake Shelton INFO:root:Changed Blake Shelton to blake shelton INFO:root:Found 3 tracks matching ('Minimum Wage', 'blake shelton') INFO:root:Matching blake shelton against blake shelton INFO:root:Matched INFO:root:Looking for Wasted On You by Morgan Wallen INFO:root:Changed Morgan Wallen to morgan wallen INFO:root:Found 5 tracks matching ('Wasted On You', 'morgan wallen') INFO:root:Matching morgan wallen against morgan wallen INFO:root:Matched INFO:root:Looking for Lady by Brett Young INFO:root:Changed Brett Young to brett young INFO:root:Found 14 tracks matching ('Lady', 'brett young') INFO:root:Matching brett young against brett young INFO:root:Matched INFO:root:Looking for Country Again by Thomas Rhett INFO:root:Changed Thomas Rhett to thomas rhett INFO:root:Found 3 tracks matching ('Country Again', 'thomas rhett') INFO:root:Matching thomas rhett against thomas rhett INFO:root:Matched INFO:root:Looking for Crocodile Teeth by Nicki Minaj & Skillibeng INFO:root:Changed Nicki Minaj & Skillibeng to nicki minaj INFO:root:Found 2 tracks matching ('Crocodile Teeth', 'nicki minaj') INFO:root:Matching nicki minaj against nicki minaj INFO:root:Matched INFO:root:Done.
Thanks for the update. Looks all the script is running fine except for actually uploading the tracks to your playlist. I'm wondering if you have the correct permissions for that. When you created your access token, did you make sure to include the manage_library
scope? And also obviously, does this playlist belong to you so that you can update it?
Could you try to run the following and post the output here please?
import requests
playlist_id = ...
access_token = ...
url = f"https://api.deezer.com/playlist/{playlist_id}/tracks"
params = {"output": "json", "songs": "1061702802", "access_token": access_token}
response = requests.post(url, params=params)
print(response.status_code)
print(response.text)
It has been reported that the playlist is empty after running the script. Tracking progress here.