diff --git a/requests_html.py b/requests_html.py
index d5890a2..979d1fb 100644
--- a/requests_html.py
+++ b/requests_html.py
@@ -154,7 +154,7 @@ class BaseParser:
try:
href = link.attrs['href'].strip()
- if not href.startswith('#') and self.skip_anchors and href not in ['javascript:;']:
+ if not(href.startswith('#') and self.skip_anchors) and href not in ['javascript:;']:
if href:
yield href
except KeyError: