diff --git a/bridges/NasaApodBridge.php b/bridges/NasaApodBridge.php index 8e293e0f..e5893dbc 100644 --- a/bridges/NasaApodBridge.php +++ b/bridges/NasaApodBridge.php @@ -14,8 +14,8 @@ class NasaApodBridge extends BridgeAbstract { $list = explode('
', $html->find('b', 0)->innertext); - for($i = 0; $i < 3; $i++) { - $line = $list[$i]; + // Start at 1 to skip the "APOD Full Archive" on top of the page + for($i = 1; $i < 4; $i++) { $item = array(); $uri_page = $html->find('a', $i + 3)->href;