cecobask / imdb-trakt-sync

Automatic sync from IMDb to Trakt (watchlist, lists, ratings and history) using GitHub actions.
MIT License
91 stars 216 forks source link

fix: retrieve user info using trakt api instead of scraping #61

Closed cecobask closed 1 month ago

cecobask commented 1 month ago

resolves #60

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 91.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 42.67%. Comparing base (d5b82a5) to head (49f9b70). Report is 1 commits behind head on main.

Files Patch % Lines
pkg/client/client.go 75.00% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #61 +/- ## ========================================== + Coverage 42.23% 42.67% +0.44% ========================================== Files 14 14 Lines 1622 1638 +16 ========================================== + Hits 685 699 +14 - Misses 919 920 +1 - Partials 18 19 +1 ``` | [Files](https://app.codecov.io/gh/cecobask/imdb-trakt-sync/pull/61?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tsvetoslav+Dimov) | Coverage Δ | | |---|---|---| | [internal/entities/trakt.go](https://app.codecov.io/gh/cecobask/imdb-trakt-sync/pull/61?src=pr&el=tree&filepath=internal%2Fentities%2Ftrakt.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tsvetoslav+Dimov#diff-aW50ZXJuYWwvZW50aXRpZXMvdHJha3QuZ28=) | `0.00% <ø> (ø)` | | | [pkg/client/trakt.go](https://app.codecov.io/gh/cecobask/imdb-trakt-sync/pull/61?src=pr&el=tree&filepath=pkg%2Fclient%2Ftrakt.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tsvetoslav+Dimov#diff-cGtnL2NsaWVudC90cmFrdC5nbw==) | `92.12% <100.00%> (+0.12%)` | :arrow_up: | | [pkg/client/client.go](https://app.codecov.io/gh/cecobask/imdb-trakt-sync/pull/61?src=pr&el=tree&filepath=pkg%2Fclient%2Fclient.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tsvetoslav+Dimov#diff-cGtnL2NsaWVudC9jbGllbnQuZ28=) | `94.12% <75.00%> (-5.88%)` | :arrow_down: |