[GBAtemp] Fix tutorial mode Title extraction

This commit is contained in:
ORelio 2020-08-07 15:19:14 +02:00
parent f0e6298cab
commit c642652fea
1 changed files with 1 additions and 1 deletions

View File

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