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

Add rating_processor. #72

Merged
merged 6 commits into from
Jan 26, 2024
Merged

Add rating_processor. #72

merged 6 commits into from
Jan 26, 2024

Conversation

wRAR
Copy link
Member

@wRAR wRAR commented Jan 22, 2024

We had some additional ideas for the processor so it will be a draft for now.

Requires zytedata/zyte-parsers#13

@wRAR wRAR marked this pull request as draft January 22, 2024 20:24
@codecov-commenter
Copy link

codecov-commenter commented Jan 24, 2024

Codecov Report

Merging #72 (3b4b16d) into main (347b851) will not change coverage.
Report is 15 commits behind head on main.
The diff coverage is 0.00%.

❗ Current head 3b4b16d differs from pull request most recent head ca3f816. Consider uploading reports for the commit ca3f816 to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #72   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          8       9    +1     
  Lines       1342    1395   +53     
=====================================
- Misses      1342    1395   +53     
Files Coverage Δ
zyte_common_items/items.py 0.00% <ø> (ø)
zyte_common_items/__init__.py 0.00% <0.00%> (ø)
zyte_common_items/pages.py 0.00% <0.00%> (ø)
zyte_common_items/extractors.py 0.00% <0.00%> (ø)
zyte_common_items/processors.py 0.00% <0.00%> (ø)

@wRAR wRAR marked this pull request as ready for review January 24, 2024 17:33
@wRAR wRAR requested a review from kmike January 25, 2024 10:18
),
(
Selector(text="<html>3.8 out of 10 (5 reviews)</html>"),
AggregateRating(ratingValue=3.8, reviewCount=5),
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems we should have it as xfail test, as bestRating=10 is not extracted

@wRAR wRAR merged commit d6765ee into main Jan 26, 2024
6 checks passed
@wRAR wRAR deleted the zyte-parsers-rating branch January 26, 2024 11:32
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.

4 participants