bpHigh commited on
Commit
6c93c7e
1 Parent(s): f9da03f

Update search_recommend.py

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