mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 14:18:35 +01:00
[ZeitBridge] Revert User-Agent (#3350)
The Googlebot User-Agent is no longer sufficient to circumvent the paywall.
This commit is contained in:
parent
7eca527160
commit
0718fdc829
@ -67,7 +67,7 @@ class ZeitBridge extends FeedExpander
|
||||
|
||||
$headers = [
|
||||
'Cookie: zonconsent=' . date('Y-m-d\TH:i:s.v\Z'),
|
||||
'User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'];
|
||||
];
|
||||
|
||||
// one-page article
|
||||
$article = getSimpleHTMLDOM($item['uri'], $headers);
|
||||
|
Loading…
x
Reference in New Issue
Block a user