[GBAtemp] Fix tutorial mode URL extraction
This commit is contained in:
parent
45e247b9d0
commit
f0e6298cab
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class GBAtempBridge extends BridgeAbstract {
|
||||||
break;
|
break;
|
||||||
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', 0)->href;
|
$url = self::URI . $tutorialItem->find('a', 1)->href;
|
||||||
$title = $tutorialItem->find('a', 0)->plaintext;
|
$title = $tutorialItem->find('a', 0)->plaintext;
|
||||||
$time = $this->findItemDate($tutorialItem);
|
$time = $this->findItemDate($tutorialItem);
|
||||||
$author = $tutorialItem->find('a.username', 0)->plaintext;
|
$author = $tutorialItem->find('a.username', 0)->plaintext;
|
||||||
|
|
Loading…
Reference in a new issue