Closed Qiasm closed 4 years ago
@Qiasm I don't understand the problem you're describing. The package is returning the top song result for your query. You want a list of song options instead of picking the top song?
I want the lyrics of a song I'm searching not the list of songs.
sob., 9 lis 2019, 22:44 uĆŒytkownik John W. Miller notifications@github.com napisaĆ:
@Qiasm https://github.com/Qiasm I don't understand the problem you're describing. The package is returning the top song result for your query. You want a list of song options instead of picking the top song?
â You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/johnwmillr/LyricsGenius/issues/117?email_source=notifications&email_token=AEI2P4EBO56GI6YMP7WGHIDQS4VKPA5CNFSM4JCTVTSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUP5NQ#issuecomment-552140470, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEI2P4DWZJWKUSXNJIGGQQLQS4VKPANCNFSM4JCTVTSA .
Try this:
song = genius.search_song("Post Malone (feat. RANI)", "Sam Feldt")
print(song.lyrics)
Okay so I tried it and got this: [image: image.png] It's displaying songs from genius.com which are not even connected with the one I search for... Anyway, I want the lyrics not some random songs.
sob., 9 lis 2019 o 22:46 John W. Miller notifications@github.com napisaĆ(a):
Try this:
song = genius.search_song("Post Malone (feat. RANI)", "Sam Feldt")print(song.lyrics)
â You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/johnwmillr/LyricsGenius/issues/117?email_source=notifications&email_token=AEI2P4DB24DO63RZCOZ73ILQS4VUDA5CNFSM4JCTVTSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUP65A#issuecomment-552140660, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEI2P4H236QJMXOS7LEP3NDQS4VUDANCNFSM4JCTVTSA .
Your image didnât come through. The lyrics are included with each song that is returned from the search.
When I search for the Post Malone example above, I get the correct song. Can you give an example of the incorrect results?
[image: unnamed.png] Okay, maybe now the image went through. My output is just some random songs' artists and titles not the lyrics for the song I'm searching for. e.g: Ed Sheeran - Cross Me Justin Bieber - Sorry Eben - Over You ...
I hope the you got the image so you can see exactly what I mean.
niedz., 10 lis 2019 o 17:53 John W. Miller notifications@github.com napisaĆ(a):
Your image didnât come through. The lyrics are included with each song that is returned from the search.
When I search for the Post Malone example above, I get the correct song. Can you give an example of the incorrect results?
â You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/johnwmillr/LyricsGenius/issues/117?email_source=notifications&email_token=AEI2P4BL2RUXKE3CVJOB6ELQTA4ABA5CNFSM4JCTVTSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDVBPLQ#issuecomment-552212398, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEI2P4DLFR7Y4IKRKQPVEWDQTA4ABANCNFSM4JCTVTSA .
Still no image. Can you paste the text you're searching for and the output text?
I'm doing this:
import lyricsgenius
genius = lyricsgenius.Genius("my_token") song = genius.search_song("Post Malone (feat. RANI)", "Sam Feldt") print(song.lyrics)
and the output is: Searching for "Post Malone (feat. RANI)" by Sam Feldt... Done. Ed Sheeran - Cross Me (feat. Chance the Rapper & PnB Rock) Young Thug - The London (feat. J. Cole & Travis Scott) Ty Dolla $ign - Purple Emoji (feat. J. Cole) 5 Seconds of Summer - Easier YG - In The Dark Clairo - Bags Kygo - Not Ok Thomas Rhett - Center Point Road Shenseea - Blessed (with Tyga) YUNGBLUD - Parents FLETCHER - About You Joyner Lucas - Isis Lucky Daye - Call Jess Glynne - One Touch Carlie Hanson - WYA Lil Tecca - Ransom Juanes - Querer Mejor Ally Brooke - Lips Don't Lie (feat. A Boogie Wit da Hoodie) Beast Coast - Snow In The Stadium (feat. Erick The Architect, Joey Bada$$, Meechy Darko, Kirk Knight, CJ Fly & Issa Gold) Denzel Curry - SPEEDBOAT Lila Drew - take it back The Amazons - Fuzzy Tree Steve Lacy - Playground BAYNK - Go with U whenyoung - A Labour Of Love $uicideBoy$ - Sour Grapes ($UICIDEBOY$ X TRAVIS BARKER) Moneybagg Yo - Style Ainât Free (feat. Offset) Flying Lotus - Black Balloons Reprise Jacquees - Who's Brendan Bennett - Long Year Sylo Nozra - FOMO boy pablo - 50 Souls and a Discobowl - Recorded at Spotify Studios Stockholm Hey Violet - Close My Eyes Kelsey Lu - Due West - Skrillex Remix Collie Buddz - Time Flies (feat. Russ) Paulo Londra - Homerun (Intro) Bones UK - Pretty Waste Virginia To Vegas - Just Friends NCT 127 - Superhuman Sam Feldt - Post Malone (feat. RANI) Will Smith - Friend Like Me (End Title) Caravan Palace - About You Kim Petras - All I Do Is Cry Johnny Stimson - Vacation Mokita - Inside Out IDK - Digital HEX - Too Bad PRETTYMUCH - Gone 2 Long Mannequin Pussy - Who You Are LOVA - I Can Do Better YN Billy - O Man BlocBoy JB - Mercedes The Score - Stay BEXEY - TRU COLOURS Cuco - Bossa No SĂ© (feat. Jean Carter) Theresa Rex - Like I Love You Astrid S - The First One Famous Dex - Fully Loaded (feat. Lil Gotit) Sigala - Wish You Well EMMA WAHLIN - Who I Am Yella Beezy - Rich MF daydream Masi - Stardust Dounia - UP 4 AIR Boundary Run - Marigolds Lepani - Pocket Full of Love Miya Folick - Malibu Barbie Yoshi Flower - empty Two Door Cinema Club - Dirty Air Nora En Pure - Birthright Rynx - Read My Mind (feat. Mainland) Cyn - Holy Roller Trove - GTFO Dylan Brady - Over Us XYLĂ - the end Emeli SandĂ© - Extraordinary Being Jon Pardi - Heartache Medication Taron Egerton - Crocodile Rock Kaiser Chiefs - Record Collection Still Young - When We Were Young chloe mk - To Be Young Skizzy Mars - No Advice Kemba - Last Year Being Broke Rotimi - Decisions Money Man - Same Way ELM - Fear Chris Lake - Stay With Me Sure Sure - What's It Like? Shay Lia - Good Together Inner Wave - Six AM Royal & the Serpent - Salvador Dali Yandel - En Cero Renni Rucci - Elevators [FXXXXY - Home]đ Sevenn - Harder Ess See - Slip Slide Laine Hardy - Flame
pon., 11 lis 2019 o 03:48 John W. Miller notifications@github.com napisaĆ(a):
Still no image. Can you paste the text you're searching for and the output text?
â You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/johnwmillr/LyricsGenius/issues/117?email_source=notifications&email_token=AEI2P4ABXIEQHQ36JPGNT4LQTDBX7A5CNFSM4JCTVTSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDVP77A#issuecomment-552271868, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEI2P4AT6M2SSX7ZE3I352DQTDBX7ANCNFSM4JCTVTSA .
Closing this as it seems the issue has been solved since there's been no activity.
Describe the bug When I search for the lyrics of a song it shows me a list of different songs on genius but no the lyrics of the song I specified. I'm using the
search_song()
function. The title of the song is without any "remix", "live" etc. tags.Expected behavior It should be displaying the lyrics of the song not a list of different songs grabbed from genius.
To Reproduce Describe the steps required to reproduce the behavior.
genius.search_song("Post Malone (feat. RANI)", "Sam Feldt"
I get no error just the behavior of the module is wrong.
Version info
Additional context It's not happening to every song. Just a few songs have this problem.