1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-02 14:47:35 +02:00

[AO3Bridge] Fix bad heading selector (#4045)

This commit is contained in:
July
2024-03-31 16:41:58 -04:00
committed by GitHub
parent d5d470cbc2
commit 7001fbaf49

View File

@@ -77,7 +77,7 @@ class AO3Bridge extends BridgeAbstract
$html = defaultLinkTo($html, self::URI); $html = defaultLinkTo($html, self::URI);
// Get list title. Will include page range + count in some cases // Get list title. Will include page range + count in some cases
$heading = ($html->find('#main > h2', 0)); $heading = ($html->find('#main h2', 0));
if ($heading->find('a.tag')) { if ($heading->find('a.tag')) {
$heading = $heading->find('a.tag', 0); $heading = $heading->find('a.tag', 0);
} }