mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-04 16:49:35 +00:00
[DailythanthiBridge] fix url (#4261)
This commit is contained in:
parent
358bebbb89
commit
40041dd65f
@ -3,7 +3,7 @@
|
|||||||
class DailythanthiBridge extends BridgeAbstract
|
class DailythanthiBridge extends BridgeAbstract
|
||||||
{
|
{
|
||||||
const NAME = 'Dailythanthi';
|
const NAME = 'Dailythanthi';
|
||||||
const URI = 'https://www.dailythanthi.com/';
|
const URI = 'https://www.dailythanthi.com';
|
||||||
const DESCRIPTION = 'Retrieve news from dailythanthi.com';
|
const DESCRIPTION = 'Retrieve news from dailythanthi.com';
|
||||||
const MAINTAINER = 'tillcash';
|
const MAINTAINER = 'tillcash';
|
||||||
const PARAMETERS = [
|
const PARAMETERS = [
|
||||||
@ -46,7 +46,7 @@ class DailythanthiBridge extends BridgeAbstract
|
|||||||
|
|
||||||
public function collectData()
|
public function collectData()
|
||||||
{
|
{
|
||||||
$dom = getSimpleHTMLDOM(self::URI . $this->getInput('topic'));
|
$dom = getSimpleHTMLDOM(self::URI . '/' . $this->getInput('topic'));
|
||||||
|
|
||||||
foreach ($dom->find('div.ListingNewsWithMEDImage') as $element) {
|
foreach ($dom->find('div.ListingNewsWithMEDImage') as $element) {
|
||||||
$slug = $element->find('a', 1);
|
$slug = $element->find('a', 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user