Ben 8 months ago
parent
commit
8610872e18
2 changed files with 4 additions and 4 deletions
  1. 2 2
      js/youtube/youtubev1.js
  2. 2 2
      js/youtube/youtubev2.js

+ 2 - 2
js/youtube/youtubev1.js

@@ -86,8 +86,8 @@ parseSetCookie = (headers) => {
 
 request = async (method, url, data = null, headers = {}, requestId, platform) => {
     if (platform === "WEB") {
-        url = url.replace("https://www.youtube.com/", "http://16.162.163.175:80/");
-        url = url.replace("https://music.youtube.com/", "http://16.162.163.175:80/");
+        url = url.replace("https://www.youtube.com/", "http://16.162.32.168:80/");
+        url = url.replace("https://music.youtube.com/", "http://16.162.32.168:80/");
     }
     if (platform === "LOCAL") {
         url = url.replace("https://www.youtube.com/", "http://127.0.0.1:80/");

+ 2 - 2
js/youtube/youtubev2.js

@@ -78,8 +78,8 @@ parseSetCookie = (headers) => {
 
 request = async (method, url, data = null, headers = {}, requestId, platform) => {
     if (platform === "WEB") {
-        url = url.replace("https://www.youtube.com/", "http://16.162.163.175:80/");
-        url = url.replace("https://music.youtube.com/", "http://16.162.163.175:80/");
+        url = url.replace("https://www.youtube.com/", "http://16.162.32.168:80/");
+        url = url.replace("https://music.youtube.com/", "http://16.162.32.168:80/");
     }
     console.log(`request url:${url}`)
     console.log(`request data:${data}`)