add - Upyso13

This commit is contained in:
yangqiang3504
2022-09-05 16:05:35 +08:00
parent 7374821c7d
commit c4f771bb7a
@@ -70,7 +70,8 @@ public class Misc {
headers.put("Connection", " Keep-Alive");
if (url != null) {
headers.put("Referer", " " +url);
String baseUrl = url.replaceAll("(^https?://(\\w+\\.){2}\\w+).*$", "$1");
headers.put("Referer", " " +baseUrl);
}
return headers;
}