@Thehappysquid/

Lyric Finder

Python

Find songs with just lyrics!

fork
loading
Files
  • main.py
  • stuff
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import requests, lxml
from bs4 import BeautifulSoup

song_search = input("Song Title: ")

search_req = requests.get("https://genius.com/search?q=" + str(song_search.replace(" ", "+")))

soup = BeautifulSoup(search_req.text, "html.parser")
title = soup.select('div', class_="mini_card-title")
with open("stuff", "w") as x:
	x.write(str(soup))
  

































"""
Yeah, I'm gonna take my gauntlet to the old space road 
I'm gonna snap til' I turn to dust
I'm gonna take my gauntlet to the old space road 
I'm gonna snap til' I turn to dust

I got the gauntlet in the back 
Infinity stones attached 
Helm is fully gold
Got the gauntlet gold to match
Snappin with a gauntlet
You can whip out Stormbreaker
I been in on Titan
You've ain't been off that spaceship now

Can't nobody tell me nothin'
You can't tell me nothin'
Can't nobody tell me nothin'
You can't tell me nothin'
"""