From f0e6298cab91e7c669aaa242681adb697783c49c Mon Sep 17 00:00:00 2001 From: ORelio Date: Fri, 7 Aug 2020 15:09:21 +0200 Subject: [PATCH] [GBAtemp] Fix tutorial mode URL extraction --- bridges/GBAtempBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/GBAtempBridge.php b/bridges/GBAtempBridge.php index 48a7f851..b1a86ad9 100644 --- a/bridges/GBAtempBridge.php +++ b/bridges/GBAtempBridge.php @@ -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;