diff --git a/lib/faexport/scraper.rb b/lib/faexport/scraper.rb index 4bacdd8..72ce0dd 100644 --- a/lib/faexport/scraper.rb +++ b/lib/faexport/scraper.rb @@ -1416,7 +1416,7 @@ def check_errors(html, url) end # Handle "system message" type errors - maintable_head = html.at_css("table.maintable td.cat") + maintable_head = html.at_css("table.maintable:not(#admin_notice_do_not_adblock) td.cat") if !maintable_head.nil? && maintable_head.content.strip == "System Message" maintable_content = html.at_css("table.maintable td.alt1").content # Handle disabled accounts