Spaces:
Running
Running
Update search_recommend.py
Browse files- search_recommend.py +1 -1
search_recommend.py
CHANGED
@@ -8,7 +8,7 @@ api_key = os.environ['LISTENNOTES']
|
|
8 |
def search(query):
|
9 |
client = podcast_api.Client(api_key=api_key)
|
10 |
response = client.search(
|
11 |
-
q=query, sort_by_date=0, only_in='title,description', offset=5, type='
|
12 |
|
13 |
results = response.json()
|
14 |
results_final = results['results']
|
|
|
8 |
def search(query):
|
9 |
client = podcast_api.Client(api_key=api_key)
|
10 |
response = client.search(
|
11 |
+
q=query, sort_by_date=0, only_in='title,description', offset=5, type='episode')
|
12 |
|
13 |
results = response.json()
|
14 |
results_final = results['results']
|