Remove iwara.tv from excludes and add it to special.

https://ntc.party/t/topic/668/
This commit is contained in:
ValdikSS 2021-03-27 12:49:00 +03:00
parent a8862f9a8d
commit 2a41cfe711
3 changed files with 2 additions and 3 deletions

View File

@ -41,4 +41,3 @@ rt.pornhub.com
ru.pornhub.com
www.pornhub.com
pixiv.net
iwara.tv

View File

@ -65,7 +65,7 @@ echo " if (domains.length < 10) return \"DIRECT\"; // list is broken
}
var shost;
if (/\.(ru|co|cu|com|info|net|org|gov|edu|int|mil|biz|pp|ne|msk|spb|nnov|od|in|ho|cc|dn|i|tut|v|dp|sl|ddns|dyndns|livejournal|herokuapp|azurewebsites|cloudfront|ucoz|3dn|nov|linode|amazonaws|sl-reverse|kiev|beget|kirov|akadns|scaleway|fastly|hldns|appspot|my1|hwcdn|deviantart|wixmp|netdna-ssl|brightcove|berlogovo|edgecastcdn|trafficmanager)\.[^.]+$/.test(host))
if (/\.(ru|co|cu|com|info|net|org|gov|edu|int|mil|biz|pp|ne|msk|spb|nnov|od|in|ho|cc|dn|i|tut|v|dp|sl|ddns|dyndns|livejournal|herokuapp|azurewebsites|cloudfront|ucoz|3dn|nov|linode|amazonaws|sl-reverse|kiev|beget|kirov|akadns|scaleway|fastly|hldns|appspot|my1|hwcdn|deviantart|wixmp|netdna-ssl|brightcove|berlogovo|edgecastcdn|trafficmanager|iwara)\.[^.]+$/.test(host))
shost = host;
else
shost = host.replace(/(.+)\.([^.]+\.[^.]+$)/, \"\$2\");

View File

@ -17,7 +17,7 @@
{sub(/\.$/, "", $1)}
{
if (!(/\.(ru|co|cu|com|info|net|org|gov|edu|int|mil|biz|pp|ne|msk|spb|nnov|od|in|ho|cc|dn|i|tut|v|dp|sl|ddns|dyndns|livejournal|herokuapp|azurewebsites|cloudfront|ucoz|3dn|nov|linode|amazonaws|sl-reverse|kiev|beget|kirov|akadns|scaleway|fastly|hldns|appspot|my1|hwcdn|deviantart|wixmp|netdna-ssl|brightcove|berlogovo|edgecastcdn|trafficmanager)\.[^.]+$/))
if (!(/\.(ru|co|cu|com|info|net|org|gov|edu|int|mil|biz|pp|ne|msk|spb|nnov|od|in|ho|cc|dn|i|tut|v|dp|sl|ddns|dyndns|livejournal|herokuapp|azurewebsites|cloudfront|ucoz|3dn|nov|linode|amazonaws|sl-reverse|kiev|beget|kirov|akadns|scaleway|fastly|hldns|appspot|my1|hwcdn|deviantart|wixmp|netdna-ssl|brightcove|berlogovo|edgecastcdn|trafficmanager|iwara)\.[^.]+$/))
{$1 = gensub(/(.+)\.([^.]+\.[^.]+$)/, "\\2", 1)}
}