Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

removed: Unused code

Pengyu CHEN751155eadeb3
diff --git a/scrapy/linkextractors/sgml.py b/scrapy/linkextractors/sgml.py
index 7084d0180..9938e071f 100644
--- a/scrapy/linkextractors/sgml.py
+++ b/scrapy/linkextractors/sgml.py
@@ -124,9 +124,6 @@ class SgmlLinkExtractor(FilteringLinkExtractor):
restrict_xpaths=restrict_xpaths, restrict_css=restrict_css,
canonicalize=canonicalize, deny_extensions=deny_extensions)
- # FIXME: was added to fix a RegexLinkExtractor testcase
- self.base_url = None
-
def extract_links(self, response):
base_url = None
if self.restrict_xpaths: