mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-31 23:39:56 +02:00
Merge 211c6421f3
into 4c0b97d605
This commit is contained in:
commit
c70c898214
1 changed files with 3 additions and 0 deletions
|
@ -36,6 +36,9 @@ class ExplosmBridge extends BridgeAbstract
|
|||
$html = getSimpleHTMLDOM($url);
|
||||
|
||||
$element = $html->find('[class*=ComicImage]', 0);
|
||||
if(!$element) {
|
||||
break; // skip, if element was not found
|
||||
}
|
||||
$date = $element->find('[class^=Author__Right] p', 0)->plaintext;
|
||||
$author = str_replace('by ', '', $element->find('[class^=Author__Right] p', 1)->plaintext);
|
||||
$image = $element->find('img', 0)->src;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue