From df725987f1c363126dd23044d36c95f17c3b49e9 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Fri, 11 Aug 2023 09:16:11 +0200 Subject: [PATCH] Add The Week (UK & USA) --- README.md | 2 ++ changelog.txt | 1 + custom/manifest.json | 2 +- custom/sites_custom.json | 5 ----- manifest.json | 4 +++- sites.js | 9 +++++++++ sites_updated.json | 10 ++++++++++ 7 files changed, 26 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1cf3578..f03c578 100644 --- a/README.md +++ b/README.md @@ -218,6 +218,7 @@ Grouped in options:\ [The Point Magazine](https://thepointmag.com) - [The Spectator World](https://thespectator.com) - [The Verge](https://www.theverge.com) - +[The Week](https://theweek.com) - [The Wrap](https://www.thewrap.com) - [Washington Examiner](https://www.washingtonexaminer.com) @@ -444,6 +445,7 @@ Grouped in options:\ [The Telegraph](https://www.telegraph.co.uk) - [The Times (link to archive.is)](https://www.thetimes.co.uk) - [The Times Literary Supplement](https://www.the-tls.co.uk) - +[The Week](https://www.theweek.co.uk) - [UnHerd](https://unherd.com) Grouped in options:\ diff --git a/changelog.txt b/changelog.txt index 7c8c13f..1bd96fd 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,6 +4,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal Post-release Add 4 more Lee Enterprises Group sites +Add The Week (UK & USA) Remove The Hollywood Reporter (no paywall) Fix Harvard Business Review (js) Fix Stylist.co.uk (css) diff --git a/custom/manifest.json b/custom/manifest.json index 1e5dbf2..cfac9e7 100644 --- a/custom/manifest.json +++ b/custom/manifest.json @@ -51,5 +51,5 @@ "webRequestBlocking", "*://*/*" ], - "version": "3.2.8.4" + "version": "3.2.8.5" } diff --git a/custom/sites_custom.json b/custom/sites_custom.json index 2bc1c7f..4661a24 100644 --- a/custom/sites_custom.json +++ b/custom/sites_custom.json @@ -529,11 +529,6 @@ "domain": "thetexan.news", "useragent": "googlebot" }, - "Theweek.com": { - "allow_cookies": 1, - "domain": "theweek.com", - "useragent": "googlebot" - }, "Tijorifinance.com": { "allow_cookies": 1, "domain": "tijorifinance.com", diff --git a/manifest.json b/manifest.json index 5828179..98c5456 100644 --- a/manifest.json +++ b/manifest.json @@ -667,6 +667,8 @@ "*://*.thestate.com/*", "*://*.thetimes.co.uk/*", "*://*.theverge.com/*", + "*://*.theweek.co.uk/*", + "*://*.theweek.com/*", "*://*.thewest.com.au/*", "*://*.thewrap.com/*", "*://*.thueringer-allgemeine.de/*", @@ -779,5 +781,5 @@ "*://*.wyleex.com/*", "*://webcache.googleusercontent.com/*" ], - "version": "3.2.8.4" + "version": "3.2.8.5" } diff --git a/sites.js b/sites.js index ef78f9f..06307ae 100644 --- a/sites.js +++ b/sites.js @@ -2291,6 +2291,15 @@ var defaultSites = { allow_cookies: 1, block_regex: /\.washingtonpost\.com\/tetro\/metering\/evaluate/ }, + "The Week (regwall)": { + domain: "###_uk_theweek", + group: [ + "theweek.co.uk", + "theweek.com" + ], + allow_cookies: 1, + useragent: "googlebot" + }, "The West Australian (+ regional/opt-in to custom sites)": { domain: "thewest.com.au", allow_cookies: 1 diff --git a/sites_updated.json b/sites_updated.json index 53a819c..c6c9548 100644 --- a/sites_updated.json +++ b/sites_updated.json @@ -153,6 +153,16 @@ "ld_json": "div.bg-paywall-fade|div.duet--article--article-body-component-container", "new_site": 1 }, + "The Week - UK": { + "domain": "theweek.co.uk", + "allow_cookies": 1, + "useragent": "googlebot" + }, + "The Week - USA": { + "domain": "theweek.com", + "allow_cookies": 1, + "useragent": "googlebot" + }, "Times of India": { "domain": "###_timesofindia", "group": [