Skip to content

Commit cc2466b

Browse files
author
Adrian
committed
Fix signature decoder
1 parent b1be244 commit cc2466b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

AIMPYouTube.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ FONT 8, "Tahoma", 400, 0, 0
7373
CONTROL "", IDC_YTDLTIMEOUTSPIN, UPDOWN_CLASS, UDS_ARROWKEYS | UDS_AUTOBUDDY | UDS_HOTTRACK | UDS_SETBUDDYINT, 87, 212, 11, 15, WS_EX_LEFT | WS_TABSTOP
7474
AUTOCHECKBOX "Always use youtube-dl", IDC_YTDLFORCE, 15, 183, 250, 8, 0, WS_EX_LEFT | WS_TABSTOP
7575
EDITTEXT IDC_YTDLPARAMS, 58, 195, 137, 14, ES_AUTOHSCROLL, WS_EX_LEFT
76-
LTEXT "aimp_YouTube v1.6", IDC_VERSION, 30, 244, 285, 8, SS_LEFT | SS_NOTIFY, WS_EX_LEFT
76+
LTEXT "aimp_YouTube v1.7", IDC_VERSION, 30, 244, 285, 8, SS_LEFT | SS_NOTIFY, WS_EX_LEFT
7777
}
7878

7979

YouTubeAPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ void YouTubeAPI::ResolveUrl(const std::wstring &url, const std::wstring &playlis
415415
std::wstring YouTubeAPI::GetStreamUrl(const std::wstring &id) {
416416
std::wstring stream_url;
417417
if (!YouTubeDL::Force) {
418-
std::wstring url2(L"https://www.youtube.com/get_video_info?video_id=" + id + L"&eurl=https%3A%2F%2Fyoutube.googleapis.com%2Fv%2F" + id + L"&sts=18389&html5=1");
418+
std::wstring url2(L"https://www.youtube.com/get_video_info?video_id=" + id + L"&eurl=https%3A%2F%2Fyoutube.googleapis.com%2Fv%2F" + id + L"&html5=1");
419419
AimpHTTP::Get(url2, [&](unsigned char *data, int size) {
420420
if (char *streams = strstr((char *)data, "player_response=")) {
421421
streams += 16;

0 commit comments

Comments
 (0)