Closed benoit74 closed 4 months ago
Attention: Patch coverage is 0%
with 12 lines
in your changes are missing coverage. Please review.
Project coverage is 0.00%. Comparing base (
e5c6401
) to head (7d0833a
).
Files | Patch % | Lines |
---|---|---|
src/ted2zim/scraper.py | 0.00% | 12 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
In the past, we had a similar output when the server returned a different response like a 40x/50x or whatever: we're thus parsing stuff that we expect to be JSON but can be HTML or empty or nil.
It is not exactly the same, because we have a req.raise_for_status()
(don't ask me why we have named this req
since it's a response 😉). So here status code is 2xx but content is inappropriate ... weird.
Rationale
Fix #161 Close #163 (not really a fix, but should it reproduce again we will have more logs)
Changes
recordedOn
property of video JSON data is null, use "Unknown" as date value (we need a string to display in the UI)