Skallwar / suckit

Suck the InTernet
Apache License 2.0
735 stars 38 forks source link

Add CSS parsing and scrapping #167

Open Skallwar opened 2 years ago

Skallwar commented 2 years ago

Fixes #68

Still some work to do but downloaded site are noticeably prettier now

codecov[bot] commented 2 years ago

Codecov Report

Merging #167 (f59c924) into master (931f1e5) will decrease coverage by 4.23%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #167      +/-   ##
==========================================
- Coverage   64.32%   60.08%   -4.24%     
==========================================
  Files          17       17              
  Lines         625      669      +44     
==========================================
  Hits          402      402              
- Misses        223      267      +44     
Impacted Files Coverage Δ
src/downloader.rs 68.46% <0.00%> (-2.56%) :arrow_down:
src/response.rs 100.00% <ø> (ø)
src/scraper.rs 18.66% <0.00%> (-4.04%) :arrow_down:
Skallwar commented 2 years ago

Also fixes #143 I guess, since fonts in CSS will be downloaded

Skallwar commented 2 years ago

Writing this makes me think that a good refactor is needed