• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

beaufour / flickr-download / 21333873589
86%

Build:
DEFAULT BRANCH: master
Ran 25 Jan 2026 02:06PM UTC
Jobs 4
Files 12
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Jan 2026 02:06PM UTC coverage: 85.77% (+5.0%) from 80.769%
21333873589

push

github

web-flow
Fix network error handling during photo download (issue #166) (#171)

Network errors (ConnectionError, DNS failures) during API calls for photo
metadata were not being caught, causing the program to crash. This fix:

- Wrap photo._getOutputFilename() in try-except for OSError/FlickrError
- Extend photo.load() exception handling to also catch OSError
- Wrap photo._getLargestSizeLabel() in try-except for OSError/FlickrError

On error, the photo is now skipped with a log message, and the download
continues to the next photo instead of crashing.

Also adds comprehensive error handling tests and types-requests to dev deps.

Fixes #166

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>

139 of 141 new or added lines in 2 files covered. (98.58%)

874 of 1019 relevant lines covered (85.77%)

3.43 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
73.22
12.09% flickr_download/flick_download.py
Jobs
ID Job ID Ran Files Coverage
1 21333873589.1 25 Jan 2026 02:06PM UTC 12
85.77
GitHub Action Run
2 21333873589.2 25 Jan 2026 02:06PM UTC 12
85.77
GitHub Action Run
3 21333873589.3 25 Jan 2026 02:06PM UTC 12
85.77
GitHub Action Run
4 21333873589.4 25 Jan 2026 02:06PM UTC 12
85.77
GitHub Action Run
Source Files on build 21333873589
  • Tree
  • List 12
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6babd7f7 on github
  • Prev Build on master (#21333667248)
  • Next Build on master (#21340199041)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc