add - Upyso13
This commit is contained in:
@@ -70,7 +70,8 @@ public class Misc {
|
|||||||
|
|
||||||
headers.put("Connection", " Keep-Alive");
|
headers.put("Connection", " Keep-Alive");
|
||||||
if (url != null) {
|
if (url != null) {
|
||||||
headers.put("Referer", " " +url);
|
String baseUrl = url.replaceAll("(^https?://(\\w+\\.){2}\\w+).*$", "$1");
|
||||||
|
headers.put("Referer", " " +baseUrl);
|
||||||
}
|
}
|
||||||
return headers;
|
return headers;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user