janw / podcast-archiver

Archive all your favorite podcasts
MIT License
118 stars 21 forks source link

fix: Avoid parsing links unless it's the enclosure #156

Closed janw closed 5 months ago

janw commented 5 months ago

Fixes #141

codeclimate[bot] commented 5 months ago

Code Climate has analyzed commit d1bd4b7b and detected 0 issues on this pull request.

View more on Code Climate.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.39%. Comparing base (e27b1b3) to head (d1bd4b7).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/janw/podcast-archiver/pull/156/graphs/tree.svg?width=650&height=150&src=pr&token=G8WI2ZILRG&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Willhaus)](https://app.codecov.io/gh/janw/podcast-archiver/pull/156?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Willhaus) ```diff @@ Coverage Diff @@ ## main #156 +/- ## ========================================== + Coverage 90.34% 90.39% +0.05% ========================================== Files 17 16 -1 Lines 818 802 -16 Branches 140 139 -1 ========================================== - Hits 739 725 -14 + Misses 55 54 -1 + Partials 24 23 -1 ``` | [Files](https://app.codecov.io/gh/janw/podcast-archiver/pull/156?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Willhaus) | Coverage Δ | | |---|---|---| | [podcast\_archiver/base.py](https://app.codecov.io/gh/janw/podcast-archiver/pull/156?src=pr&el=tree&filepath=podcast_archiver%2Fbase.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Willhaus#diff-cG9kY2FzdF9hcmNoaXZlci9iYXNlLnB5) | `85.36% <100.00%> (-0.35%)` | :arrow_down: | | [podcast\_archiver/config.py](https://app.codecov.io/gh/janw/podcast-archiver/pull/156?src=pr&el=tree&filepath=podcast_archiver%2Fconfig.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Willhaus#diff-cG9kY2FzdF9hcmNoaXZlci9jb25maWcucHk=) | `86.51% <100.00%> (ø)` | | | [podcast\_archiver/download.py](https://app.codecov.io/gh/janw/podcast-archiver/pull/156?src=pr&el=tree&filepath=podcast_archiver%2Fdownload.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Willhaus#diff-cG9kY2FzdF9hcmNoaXZlci9kb3dubG9hZC5weQ==) | `93.24% <ø> (ø)` | | | [podcast\_archiver/models.py](https://app.codecov.io/gh/janw/podcast-archiver/pull/156?src=pr&el=tree&filepath=podcast_archiver%2Fmodels.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Willhaus#diff-cG9kY2FzdF9hcmNoaXZlci9tb2RlbHMucHk=) | `93.82% <100.00%> (+1.01%)` | :arrow_up: | | [podcast\_archiver/processor.py](https://app.codecov.io/gh/janw/podcast-archiver/pull/156?src=pr&el=tree&filepath=podcast_archiver%2Fprocessor.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Jan+Willhaus#diff-cG9kY2FzdF9hcmNoaXZlci9wcm9jZXNzb3IucHk=) | `89.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.