We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0595a95 commit 85cf70fCopy full SHA for 85cf70f
src/upload/query_search_suggestion.py
@@ -19,7 +19,7 @@ def get_bilibili_suggestions(term):
19
response = requests.get(url, params=params)
20
if response.status_code == 200:
21
suggestions = response.json()
22
- values_list = [item['value'] for item in suggestions['result']['tag']]
+ values_list = [item['value'][:20] for item in suggestions['result']['tag']]
23
result = ",".join(values_list)
24
return result
25
print(f"Request failed with status code: {response.status_code}")
0 commit comments