CognitiveScience commited on
Commit
0b0c174
1 Parent(s): f0ab6ad

Update youtube1.py

Browse files
Files changed (1) hide show
  1. youtube1.py +1 -1
youtube1.py CHANGED
@@ -8,7 +8,7 @@ import requests
8
  #class myCelSci(Model):
9
  # pass
10
 
11
- def getviews(link): //add source? and for sentsummary: https://huggingface.co/themanas021
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)
 
8
  #class myCelSci(Model):
9
  # pass
10
 
11
+ def getviews(link): #add source? and for sentsummary: https://huggingface.co/themanas021
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)