[GBAtemp] Fix tutorial mode Title extraction
This commit is contained in:
parent
f0e6298cab
commit
c642652fea
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ class GBAtempBridge extends BridgeAbstract {
|
||||||
case 'T':
|
case 'T':
|
||||||
foreach($html->find('li.portal-tutorial') as $tutorialItem) {
|
foreach($html->find('li.portal-tutorial') as $tutorialItem) {
|
||||||
$url = self::URI . $tutorialItem->find('a', 1)->href;
|
$url = self::URI . $tutorialItem->find('a', 1)->href;
|
||||||
$title = $tutorialItem->find('a', 0)->plaintext;
|
$title = $tutorialItem->find('a', 1)->plaintext;
|
||||||
$time = $this->findItemDate($tutorialItem);
|
$time = $this->findItemDate($tutorialItem);
|
||||||
$author = $tutorialItem->find('a.username', 0)->plaintext;
|
$author = $tutorialItem->find('a.username', 0)->plaintext;
|
||||||
$content = $this->fetchPostContent($url, self::URI);
|
$content = $this->fetchPostContent($url, self::URI);
|
||||||
|
|
Loading…
Reference in a new issue