File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## Unreleased
99
10+ ### Fixed
11+
12+ - Fix extraction of header on non-stackoverflow and non-stackexchange domains (#385 )
13+
1014## [ 3.0.1] - 2025-12-18
1115
1216### Fixed
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ def _get_site_details(self):
9595 if not title_tag or not title_tag .string :
9696 raise Exception ("Failed to extract site title from homepage" )
9797 site_title = title_tag .string
98- if "stackexchange" in context .domain :
98+ if "stackoverflow" not in context .domain :
9999 # For "regular" stackexchange domains, use the whole header
100100 header_tag = soup .find ("header" , class_ = "site-header" )
101101 if not header_tag :
You can’t perform that action at this time.
0 commit comments