mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00: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 = [
|
$headers = [
|
||||||
'Cookie: zonconsent=' . date('Y-m-d\TH:i:s.v\Z'),
|
'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
|
// one-page article
|
||||||
$article = getSimpleHTMLDOM($item['uri'], $headers);
|
$article = getSimpleHTMLDOM($item['uri'], $headers);
|
||||||
|
Loading…
Reference in New Issue
Block a user