Skip to content

Commit

Permalink
Remove deprecated classes BaseSgmlLinkExtractor, RegexLinkExtractor a…
Browse files Browse the repository at this point in the history
…nd SgmlLinkExtractor (#4356)
  • Loading branch information
ashellunts committed Jul 17, 2020
1 parent d29bec6 commit 62a4ede
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 196 deletions.
41 changes: 0 additions & 41 deletions scrapy/linkextractors/regex.py

This file was deleted.

151 changes: 0 additions & 151 deletions scrapy/linkextractors/sgml.py

This file was deleted.

2 changes: 0 additions & 2 deletions tests/ignores.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
scrapy/linkextractors/sgml.py
scrapy/linkextractors/regex.py
scrapy/downloadermiddlewares/cookies.py
scrapy/extensions/statsmailer.py
scrapy/extensions/memusage.py
2 changes: 1 addition & 1 deletion tests/sample_data/link_extractor/linkextractor.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html>
<head>
<base href='http://example.com' />
<title>Sample page with links for testing RegexLinkExtractor</title>
<title>Sample page with links for testing LinkExtractor</title>
</head>
<body>
<div id='wrapper'>
Expand Down
2 changes: 1 addition & 1 deletion tests/sample_data/link_extractor/linkextractor_latin1.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=latin-1">
<base href='http://example.com' />
<title>Sample page with links for testing RegexLinkExtractor</title>
<title>Sample page with links for testing LinkExtractor</title>
</head>
<body>
<div id='wrapper'>
Expand Down

0 comments on commit 62a4ede

Please sign in to comment.