Skip to content

Conversation

ideaflow
Copy link
Collaborator

selectolax 会默认将网页字符串视为'utf-8'编码,如果不是这个编码会报错,而BeautifulSoup可以更自动地处理编码问题,所以如果修复html的步骤遇到编码错误,则替换为BeautifulSoup

Copy link

codecov bot commented Sep 25, 2025

Codecov Report

❌ Patch coverage is 57.14286% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...it/main_html_parser/simplify_html/simplify_html.py 57.14% 3 Missing ⚠️

❌ Your patch check has failed because the patch coverage (57.14%) is below the target coverage (85.00%). You can increase the patch coverage or adjust the target coverage.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #569      +/-   ##
==========================================
- Coverage   90.97%   90.85%   -0.13%     
==========================================
  Files         102      106       +4     
  Lines        8890     9220     +330     
==========================================
+ Hits         8088     8377     +289     
- Misses        802      843      +41     
Files with missing lines Coverage Δ
...it/main_html_parser/simplify_html/simplify_html.py 82.84% <57.14%> (-0.17%) ⬇️

... and 10 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant