mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 15:47:32 +02:00
fix(ph): consent cookie (#3490)
This commit is contained in:
@@ -67,7 +67,9 @@ class PornhubBridge extends BridgeAbstract
|
|||||||
|
|
||||||
$show_images = $this->getInput('show_images');
|
$show_images = $this->getInput('show_images');
|
||||||
|
|
||||||
$html = getSimpleHTMLDOM($uri);
|
$html = getSimpleHTMLDOM($uri, [
|
||||||
|
'cookie: accessAgeDisclaimerPH=1'
|
||||||
|
]);
|
||||||
|
|
||||||
foreach ($html->find('div.videoUList ul.videos li.videoblock') as $element) {
|
foreach ($html->find('div.videoUList ul.videos li.videoblock') as $element) {
|
||||||
$item = [];
|
$item = [];
|
||||||
|
Reference in New Issue
Block a user