ptrstn / dailyblink

Downloads the Audio and Text of the Free Daily book from Blinkist.com
MIT License
43 stars 6 forks source link

Determine Cover Image File Extension #30

Closed ptrstn closed 2 years ago

ptrstn commented 2 years ago

Closes https://github.com/ptrstn/dailyblink/issues/29

Extracts the file ending of the cover image from the content-type in the response header.

codecov[bot] commented 2 years ago

Codecov Report

Merging #30 (1061600) into master (a21ccd9) will decrease coverage by 0.18%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #30      +/-   ##
==========================================
- Coverage   90.24%   90.05%   -0.19%     
==========================================
  Files           4        4              
  Lines         164      171       +7     
==========================================
+ Hits          148      154       +6     
- Misses         16       17       +1     
Impacted Files Coverage Δ
dailyblink/__init__.py 100.00% <100.00%> (ø)
dailyblink/core.py 88.05% <100.00%> (+0.65%) :arrow_up:
dailyblink/settings.py 100.00% <100.00%> (ø)
dailyblink/media.py 96.15% <0.00%> (-3.85%) :arrow_down:

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 a21ccd9...1061600. Read the comment docs.