Fix La Stampa (http error 403)

This commit is contained in:
magnolia1234 2021-10-23 17:32:12 +02:00
parent 7cba2e8fb6
commit 6dbbe24f76
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,6 @@ const restrictions = {
'faz.net': /^((?!\/.+\.faz\.net\/aktuell\/(\?switchfaznet)?$).)*$/, 'faz.net': /^((?!\/.+\.faz\.net\/aktuell\/(\?switchfaznet)?$).)*$/,
'foreignaffairs.com': /.+\.foreignaffairs\.com\/(articles|fa-caching|interviews|reviews|sites)\/.+/, 'foreignaffairs.com': /.+\.foreignaffairs\.com\/(articles|fa-caching|interviews|reviews|sites)\/.+/,
'ft.com': /.+\.ft\.com\/content\//, 'ft.com': /.+\.ft\.com\/content\//,
'lastampa.it': /^((?!\/video\.lastampa\.it\/).)*$/,
'medianama.com': /\.medianama\.com\/((\d){4}\/(\d){2}|wp-content)\//, 'medianama.com': /\.medianama\.com\/((\d){4}\/(\d){2}|wp-content)\//,
'timesofindia.com': /.+\.timesofindia\.com\/($|toi-plus(\/.+)?|.+\.cms)/, 'timesofindia.com': /.+\.timesofindia\.com\/($|toi-plus(\/.+)?|.+\.cms)/,
'nknews.org': /^((?!nknews\.org\/pro\/).)*$/, 'nknews.org': /^((?!nknews\.org\/pro\/).)*$/,
@ -636,7 +635,7 @@ function add_grouped_sites(init_rules) {
} }
for (let domain of it_repubblica_domains) { for (let domain of it_repubblica_domains) {
allow_cookies.push(domain); allow_cookies.push(domain);
if (['gelocal.it', 'ilsecoloxix.it', 'lastampa.it', 'repubblica.it'].includes(domain)) if (['gelocal.it', 'ilsecoloxix.it', 'repubblica.it'].includes(domain))
use_google_bot.push(domain); use_google_bot.push(domain);
blockedRegexes[domain] = /(scripts\.repubblica\.it\/pw\/pw\.js|cdn\.ampproject\.org\/v\d\/amp-(access|ad|user-notification)-.+\.js)/; blockedRegexes[domain] = /(scripts\.repubblica\.it\/pw\/pw\.js|cdn\.ampproject\.org\/v\d\/amp-(access|ad|user-notification)-.+\.js)/;
} }

View file

@ -12,6 +12,7 @@ Fix Il Tirreno (GElocal.it)
Fix Financial Times (amp) Fix Financial Times (amp)
Fix Knack.be Fix Knack.be
Fix La Croix (timing) Fix La Croix (timing)
Fix La Stampa (http error 403)
Fix The Athletic Fix The Athletic
Fix The Globe and Mail Fix The Globe and Mail
Fix The New Yorker (homepage) Fix The New Yorker (homepage)