-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[EconomistWorldInBriefBridge] Add cookie to options (#4165)
* [EconomistWorldInBriefBridge] Add cookie * [EconomistWorldInBriefBridge] Add docs * [EconomistWorldInBriefBridge] Best-effort to work without cookie
- Loading branch information
1 parent
d28a0fd
commit f773878
Showing
2 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# EconomistWorldInBriefBridge | ||
|
||
In May 2024, The Economist finally fixed its paywall, and it started requiring authorization. Which means you can't use this bridge unless you have an active subscription. | ||
|
||
If you do, the way to use the bridge is to snitch a cookie: | ||
1. Log in to The Economist | ||
2. Open DevTools (Chrome DevTools or Firefox Developer Tools) | ||
2. Go to https://www.economist.com/the-world-in-brief | ||
3. In DevTools, go to the "Network" tab, there select the first request (`the-world-in-brief`) and copy the value of the `Cookie:` header from "Request Headers". | ||
|
||
The cookie lives three months. | ||
|
||
Once you've done this, add the cookie to your `config.ini.php`: | ||
|
||
``` | ||
[EconomistWorldInBriefBridge] | ||
cookie = "<value>" | ||
``` |