CognitiveScience commited on
Commit
73d7f93
1 Parent(s): d8483de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,7 +9,7 @@ class myCelSci(Celsci):
9
 
10
  def greet(link):
11
  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'}
12
- #link = "https://youtu.be/vQUCSHUlN-k?si=FfIsODGjJDzIHOAS"
13
  response = requests.get(link) #, headers=HEADER)
14
  soup = BeautifulSoup(response.text, "html.parser")
15
  #print (soup.prettify())
@@ -39,7 +39,7 @@ def greet(link):
39
  celsci1=myCelSci()
40
 
41
 
42
- response3= celsci1.fame("dd") #celsci1.celscilist["dd"]['x']['followers'] #checkfame("dd")
43
 
44
  return response3 #result #soup.prettify()
45
 
 
9
 
10
  def greet(link):
11
  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'}
12
+ link = "https://youtu.be/vQUCSHUlN-k?si=FfIsODGjJDzIHOAS"
13
  response = requests.get(link) #, headers=HEADER)
14
  soup = BeautifulSoup(response.text, "html.parser")
15
  #print (soup.prettify())
 
39
  celsci1=myCelSci()
40
 
41
 
42
+ response3= celsci1.fame(celsci1.celscilist["dd"]['x']['followers']) #checkfame("dd")
43
 
44
  return response3 #result #soup.prettify()
45