bpHigh commited on
Commit
864502a
1 Parent(s): 0c85c33

Update search_recommend.py

Browse files
Files changed (1) hide show
  1. 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='podcast')
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']