[NasaApodBridge] Fix header being parsed as item (#1586)
This commit is contained in:
parent
d3455dd18a
commit
fe166d0216
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ class NasaApodBridge extends BridgeAbstract {
|
|||
|
||||
$list = explode('<br>', $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;
|
||||
|
|
Loading…
Reference in a new issue