Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
·
9b83e9d
1
Parent(s):
d26f3ac
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ class myCelSci(Model):
|
|
10 |
|
11 |
def greet(link):
|
12 |
HEADER = {"User-Agent": 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36'}
|
13 |
-
link = "https://youtu.be/vQUCSHUlN-k?si=FfIsODGjJDzIHOAS"
|
14 |
response = requests.get(link) #, headers=HEADER)
|
15 |
soup = BeautifulSoup(response.text, "html.parser")
|
16 |
#print (soup.prettify())
|
|
|
10 |
|
11 |
def greet(link):
|
12 |
HEADER = {"User-Agent": 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36'}
|
13 |
+
#link = "https://youtu.be/vQUCSHUlN-k?si=FfIsODGjJDzIHOAS"
|
14 |
response = requests.get(link) #, headers=HEADER)
|
15 |
soup = BeautifulSoup(response.text, "html.parser")
|
16 |
#print (soup.prettify())
|