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

Fix for issue #3798 LinkExtractor with Unique = False doesn't extract fully identical Links #3799

Closed
wants to merge 3 commits into from

Conversation

Ksianka
Copy link

@Ksianka Ksianka commented May 27, 2019

Fixes #3798

@codecov
Copy link

codecov bot commented May 28, 2019

Codecov Report

Merging #3799 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3799      +/-   ##
==========================================
+ Coverage   85.42%   85.43%   +<.01%     
==========================================
  Files         169      169              
  Lines        9635     9637       +2     
  Branches     1433     1433              
==========================================
+ Hits         8231     8233       +2     
  Misses       1156     1156              
  Partials      248      248
Impacted Files Coverage Δ
scrapy/linkextractors/__init__.py 100% <100%> (ø) ⬆️
scrapy/linkextractors/lxmlhtml.py 92.4% <100%> (ø) ⬆️

1 similar comment
@codecov
Copy link

codecov bot commented May 28, 2019

Codecov Report

Merging #3799 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3799      +/-   ##
==========================================
+ Coverage   85.42%   85.43%   +<.01%     
==========================================
  Files         169      169              
  Lines        9635     9637       +2     
  Branches     1433     1433              
==========================================
+ Hits         8231     8233       +2     
  Misses       1156     1156              
  Partials      248      248
Impacted Files Coverage Δ
scrapy/linkextractors/__init__.py 100% <100%> (ø) ⬆️
scrapy/linkextractors/lxmlhtml.py 92.4% <100%> (ø) ⬆️

@Gallaecio Gallaecio requested a review from kmike May 29, 2019 11:13
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.

The changes look good to me, but I don’t feel familiar enough with link extractors to approve them myself. Hopefully someone else will have a look soon.

@@ -15,7 +15,7 @@
from scrapy.utils.url import (
url_is_from_any_domain, url_has_any_extension,
)

from scrapy.utils.python import unique as unique_list
Copy link
Member

Choose a reason for hiding this comment

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

💄 Could you move it into the group of import above, keeping the alphabetical sorting?

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.

LinkExtractor with Unique = False doesn't extract fully identical Links
2 participants