Spaces:
Runtime error
Runtime error
Commit
·
d592379
1
Parent(s):
bb4e5fc
Update ecogsphere.py
Browse files- ecogsphere.py +5 -2
ecogsphere.py
CHANGED
|
@@ -11,7 +11,8 @@ RA_TOKEN = "0eb1c72c02mshff1677e9c2e4928p1be55cjsn0fead1e1a6c9" #"bd9aa1d28bmsh0
|
|
| 11 |
|
| 12 |
url = "https://youtube-search-results.p.rapidapi.com/youtube-search/"
|
| 13 |
|
| 14 |
-
querystring = {"q":"robert+west"}
|
|
|
|
| 15 |
|
| 16 |
headers = {
|
| 17 |
"X-RapidAPI-Key": RA_TOKEN,
|
|
@@ -19,7 +20,9 @@ headers = {
|
|
| 19 |
}
|
| 20 |
|
| 21 |
def ecf(inp):
|
| 22 |
-
|
|
|
|
|
|
|
| 23 |
|
| 24 |
if inp is None:
|
| 25 |
response = "No Input!"
|
|
|
|
| 11 |
|
| 12 |
url = "https://youtube-search-results.p.rapidapi.com/youtube-search/"
|
| 13 |
|
| 14 |
+
#querystring = {"q":"robert+west"}
|
| 15 |
+
|
| 16 |
|
| 17 |
headers = {
|
| 18 |
"X-RapidAPI-Key": RA_TOKEN,
|
|
|
|
| 20 |
}
|
| 21 |
|
| 22 |
def ecf(inp):
|
| 23 |
+
inp1="robert+west"
|
| 24 |
+
inp = {"q":inp1}
|
| 25 |
+
|
| 26 |
|
| 27 |
if inp is None:
|
| 28 |
response = "No Input!"
|