Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove FilteringLinkExtractor #5720

Merged
merged 1 commit into from
Nov 22, 2022
Merged

Remove FilteringLinkExtractor #5720

merged 1 commit into from
Nov 22, 2022

Conversation

Laerte
Copy link
Member

@Laerte Laerte commented Nov 21, 2022

This class was deprecated on Scrapy 2.0.0 (2020-03-03).

I was in doubt about moving the private functions to scrapy/linkextractors/lxmlhtml.py then i figure out that was used in other parts of code so i leaved like it was.

I followed the instructions from the original PR:

assuming that upon removal its code can go into LxmlLinkExtractor.

@codecov
Copy link

codecov bot commented Nov 21, 2022

Codecov Report

Merging #5720 (1a6408c) into master (d5b6c23) will decrease coverage by 0.01%.
The diff coverage is 96.15%.

@@            Coverage Diff             @@
##           master    #5720      +/-   ##
==========================================
- Coverage   88.77%   88.76%   -0.02%     
==========================================
  Files         162      162              
  Lines       10985    10971      -14     
  Branches     1802     1801       -1     
==========================================
- Hits         9752     9738      -14     
  Misses        952      952              
  Partials      281      281              
Impacted Files Coverage Δ
scrapy/linkextractors/__init__.py 100.00% <ø> (+2.89%) ⬆️
scrapy/linkextractors/lxmlhtml.py 95.27% <96.15%> (+0.27%) ⬆️

Copy link
Member

@Gallaecio Gallaecio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@wRAR wRAR merged commit 603e42b into scrapy:master Nov 22, 2022
@Laerte Laerte deleted the remove-filteringlinkextractor branch November 22, 2022 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants