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 01aad50 commit 44c87d6Copy full SHA for 44c87d6
src/upload/extract_video_info.py
@@ -76,7 +76,7 @@ def generate_tag(video_path):
76
tags = get_bilibili_suggestions(artist_text)
77
78
if not tags:
79
- tags = ["直播回放", "切片"]
+ tags = "直播回放"
80
81
return tags
82
src/upload/query_search_suggestion.py
@@ -26,10 +26,10 @@ def get_bilibili_suggestions(term):
26
f"Request get_bilibili_suggestions failed with status code: {response.status_code}"
27
)
28
# fallback to default tags
29
- return ["直播回放", "切片"]
+ return "直播回放"
30
except requests.RequestException as e:
31
upload_log.error(f"Request get_bilibili_suggestions failed with exception: {e}")
32
33
34
35
if __name__ == "__main__":
0 commit comments