openzim / python-scraperlib

Collection of Python code to re-use across Python-based scrapers
GNU General Public License v3.0
18 stars 16 forks source link

Get language from HTML #37

Closed satyamtg closed 3 years ago

satyamtg commented 3 years ago

This fixes #35 by implementing the following two functions in zimscraperlib.zim.rewriting -

Tests are also implemented for the same.

codecov[bot] commented 3 years ago

Codecov Report

Merging #37 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #37   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           19        19           
  Lines          756       777   +21     
=========================================
+ Hits           756       777   +21     
Impacted Files Coverage Δ
src/zimscraperlib/zim/rewriting.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2a5e27e...6b18b97. Read the comment docs.