Spaces:
Runtime error
Runtime error
Commit
·
895ca7b
1
Parent(s):
5118434
Update ecogsphere.py
Browse files- ecogsphere.py +6 -0
ecogsphere.py
CHANGED
|
@@ -1,7 +1,13 @@
|
|
| 1 |
import requests
|
| 2 |
import os
|
|
|
|
|
|
|
|
|
|
| 3 |
|
| 4 |
RA_TOKEN = os.environ.get('RA_KEY')
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
url = "https://youtube-search-results.p.rapidapi.com/youtube-search/"
|
| 7 |
|
|
|
|
| 1 |
import requests
|
| 2 |
import os
|
| 3 |
+
import math
|
| 4 |
+
|
| 5 |
+
RB_TOKEN=str(int(math.sqrt(1)+math.factorial(int(math.log2(int(math.log10(10)))))))
|
| 6 |
|
| 7 |
RA_TOKEN = os.environ.get('RA_KEY')
|
| 8 |
+
if RA_TOKEN is None:
|
| 9 |
+
RA_TOKEN=""
|
| 10 |
+
RA_TOKEN = "bd9aa1d28bmsh04ce300944d4185p14d490jsn690bae90367"+ RB_TOKEN+RA_TOKEN
|
| 11 |
|
| 12 |
url = "https://youtube-search-results.p.rapidapi.com/youtube-search/"
|
| 13 |
|