新增xhamster视频下载,新增视频在线预览(xgPlayer)(同步更新)
This commit is contained in:
@@ -239,8 +239,13 @@ function validateLink(rawLink){
|
||||
else if(rawLink.includes("pornhub.com")){
|
||||
return rawLink.includes("view_video.php")
|
||||
}
|
||||
else if(rawLink.includes("xhamster") && rawLink.includes(".com")){
|
||||
return true
|
||||
}
|
||||
}
|
||||
function coverLink(rawLink){
|
||||
if(rawLink.includes("xhamster"))
|
||||
rawLink = "https://zh.xhamster" + rawLink.substring(rawLink.indexOf(".com"))
|
||||
let url = new URL(rawLink)
|
||||
maskDomain.value.forEach((mask) => {
|
||||
if(url.host === mask['raw'])
|
||||
|
||||
Reference in New Issue
Block a user