[GBAtemp] Fix tutorial mode URL extraction

This commit is contained in:
ORelio 2020-08-07 15:09:21 +02:00
parent 45e247b9d0
commit f0e6298cab

View file

@ -113,7 +113,7 @@ class GBAtempBridge extends BridgeAbstract {
break;
case 'T':
foreach($html->find('li.portal-tutorial') as $tutorialItem) {
$url = self::URI . $tutorialItem->find('a', 0)->href;
$url = self::URI . $tutorialItem->find('a', 1)->href;
$title = $tutorialItem->find('a', 0)->plaintext;
$time = $this->findItemDate($tutorialItem);
$author = $tutorialItem->find('a.username', 0)->plaintext;