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

Use mimetypes guessed from filenames for text files #39

Closed satyamtg closed 3 years ago

satyamtg commented 3 years ago

This fixes #38 by using mimetypes guessed from filenames for the files reported as text (and not just text/plain) by magic.

codecov[bot] commented 3 years ago

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #39   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           19        19           
  Lines          756       756           
=========================================
  Hits           756       756           
Impacted Files Coverage Δ
src/zimscraperlib/zim/filesystem.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 644a2b6...8daac72. Read the comment docs.