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

beaufour / flickr-download / 21333792381
86%
master: 86%

Build:
Build:
LAST BUILD BRANCH: modernize-config
DEFAULT BRANCH: master
Ran 25 Jan 2026 02:00PM 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:00PM UTC coverage: 85.77% (+5.0%) from 80.769%
21333792381

Pull #171

github

beaufour
Fix network error handling during photo download (issue #166)

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>
Pull Request #171: Fix network error handling during photo download (issue #166)

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 21333792381.1 25 Jan 2026 02:00PM UTC 12
85.77
GitHub Action Run
2 21333792381.2 25 Jan 2026 02:00PM UTC 12
85.77
GitHub Action Run
3 21333792381.3 25 Jan 2026 02:00PM UTC 12
85.77
GitHub Action Run
4 21333792381.4 25 Jan 2026 02:00PM UTC 12
85.77
GitHub Action Run
Source Files on build 21333792381
  • Tree
  • List 12
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #171
  • PR Base - master (#21333667248)
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