链接混淆字符串改为动态加载
This commit is contained in:
@@ -74,6 +74,10 @@ export default {
|
||||
return store.getters.preDownloadVideo
|
||||
})
|
||||
|
||||
let maskDomain = computed(() => {
|
||||
return store.getters.maskDomain
|
||||
})
|
||||
|
||||
const loadComplete = computed(() => {
|
||||
return store.getters.loadComplete
|
||||
})
|
||||
@@ -147,19 +151,10 @@ export default {
|
||||
}
|
||||
|
||||
function coverLink(rawLink){
|
||||
let tempLink = ""
|
||||
if(rawLink.includes("hentai")) {
|
||||
if (rawLink.includes("exhentai.org"))
|
||||
tempLink = rawLink.replace("exhentai.org", "element-plus.org")
|
||||
else if (rawLink.includes("e-hentai.org"))
|
||||
tempLink = rawLink.replace("e-hentai.org", "element.org")
|
||||
}
|
||||
else if(rawLink.includes("xvideos.com") || rawLink.includes("pornhub.com")){
|
||||
tempLink = rawLink.replace("xvideos.com", "xiaomi.com").
|
||||
replace("cn.pornhub.com", "pixiv.com").
|
||||
replace("pornhub.com", "pixiv.com")
|
||||
}
|
||||
return tempLink;
|
||||
maskDomain.value.forEach((mask) => {
|
||||
rawLink = rawLink.replace(mask['raw'], mask['mask'])
|
||||
})
|
||||
return rawLink;
|
||||
}
|
||||
|
||||
function validateLink(rawLink){
|
||||
|
||||
Reference in New Issue
Block a user