Fix thestar.com

This commit is contained in:
Adam 2021-04-04 16:03:13 -07:00
parent 767c100d12
commit d2ec215627

View File

@ -58,7 +58,6 @@ const allowCookies = [
'thecut.com', 'thecut.com',
'thediplomat.com', 'thediplomat.com',
'themercury.com.au', 'themercury.com.au',
'thestar.com',
'towardsdatascience.com', 'towardsdatascience.com',
'trouw.nl', 'trouw.nl',
'vn.nl', 'vn.nl',
@ -119,7 +118,6 @@ const removeCookies = [
'theatlantic.com', 'theatlantic.com',
'thecut.com', 'thecut.com',
'thediplomat.com', 'thediplomat.com',
'thestar.com',
'towardsdatascience.com', 'towardsdatascience.com',
'tubantia.nl', 'tubantia.nl',
'vn.nl', 'vn.nl',
@ -240,7 +238,8 @@ const blockedRegexes = {
'spectator.us': /(cdn\.cxense\.com\/.+|\.tinypass\.com\/.+)/, 'spectator.us': /(cdn\.cxense\.com\/.+|\.tinypass\.com\/.+)/,
'gelocal.it': /(\.repstatic\.it\/minify\/sites\/gelocal\/.+\/config\.cache(_\d)?\.php|cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js)/, 'gelocal.it': /(\.repstatic\.it\/minify\/sites\/gelocal\/.+\/config\.cache(_\d)?\.php|cdn\.ampproject\.org\/v\d\/amp-(access|ad)-.+\.js)/,
'elmundo.es': /cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js/, 'elmundo.es': /cdn\.ampproject\.org\/v\d\/amp-(access|ad|consent)-.+\.js/,
'time.com': /\/time\.com\/dist\/meter-wall-client-js\..+\.js/ 'time.com': /\/time\.com\/dist\/meter-wall-client-js\..+\.js/,
'thestar.com': /\.com\/api\/overlaydata/
}; };
const userAgentDesktop = 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'; const userAgentDesktop = 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)';