mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
[HentaiHavenBridge] domain and content retrieval update (#2402)
This commit is contained in:
parent
799c93a3c6
commit
590fdd9f9b
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ class HentaiHavenBridge extends BridgeAbstract {
|
|||
|
||||
const MAINTAINER = 'albirew';
|
||||
const NAME = 'Hentai Haven';
|
||||
const URI = 'https://hentaihaven.org/';
|
||||
const URI = 'https://hentaihaven.com/';
|
||||
const CACHE_TIMEOUT = 21600; // 6h
|
||||
const DESCRIPTION = 'Returns releases from Hentai Haven';
|
||||
|
||||
|
@ -13,7 +13,7 @@ class HentaiHavenBridge extends BridgeAbstract {
|
|||
foreach($html->find('div.zoe-grid') as $element) {
|
||||
$item = array();
|
||||
$item['uri'] = $element->find('div.brick-content h3 a', 0)->href;
|
||||
$thumbnailUri = $element->find('a.thumbnail-image img', 0)->getAttribute('data-src');
|
||||
$thumbnailUri = $element->find('a.thumbnail-image img', 0)->getAttribute('src');
|
||||
$item['title'] = mb_convert_encoding(
|
||||
trim($element->find('div.brick-content h3 a', 0)->innertext),
|
||||
'UTF-8',
|
||||
|
|
Loading…
Add table
Reference in a new issue