1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-06-25 20:34:22 +02:00

[NasaApodBridge] Fix header being parsed as item (#1586)

This commit is contained in:
Corentin Garcia
2020-10-07 08:16:26 +02:00
committed by GitHub
parent d3455dd18a
commit fe166d0216

View File

@ -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;