Fixed selector in CeskaTelevizeBridge (#3872)

* Fixed selector in CeskaTelevizeBridge

* Fixed also description selector
This commit is contained in:
Petr Kolář 2024-01-02 16:23:13 +01:00 committed by GitHub
parent e904de2dc9
commit 0f6fa8034b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,9 +57,9 @@ class CeskaTelevizeBridge extends BridgeAbstract
$this->feedName .= " ({$category})";
}
foreach ($html->find('#episodeListSection a[data-testid=next-link]') as $element) {
foreach ($html->find('#episodeListSection a[data-testid=card]') as $element) {
$itemTitle = $element->find('h3', 0);
$itemContent = $element->find('div[class^=content-]', 0);
$itemContent = $element->find('p[class^=content-]', 0);
$itemDate = $element->find('div[class^=playTime-] span', 0);
$itemThumbnail = $element->find('img', 0);
$itemUri = self::URI . $element->getAttribute('href');