Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcelibs authored Dec 26, 2023
1 parent 00e7ee3 commit 6019118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Local-Windows/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def call_gemini_api(input_text):
return None


# 使用 yt-dlp 获取 YouTube 媒体流地址
# 使用 yt-dlp 獲取 YouTube 直播媒體位置
def get_stream_url(youtube_url):
command = ["yt-dlp", "-g", youtube_url]
process = subprocess.run(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
Expand Down

0 comments on commit 6019118

Please sign in to comment.