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

snejus / beetcamp / 10238455047
88%

Build:
DEFAULT BRANCH: main
Ran 04 Aug 2024 06:38PM UTC
Jobs 15
Files 10
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

04 Aug 2024 06:37PM UTC coverage: 91.123% (+0.2%) from 90.931%
10238455047

push

github

snejus
fix: use httpx instead of requests to avoid Bandcamp blocking

When using requests/urllib3, Bandcamp response to all requests with
403 errors.

Investigating why, I tried:
- using curl to send the same request: it worked
- writing a tiny Python script to `GET bandcamp.com/` with requests: it
  failed with 403
- waiting a week to see if it solved itself: no luck
- changing the above mentioned script to use http.client or httpx worked

I think that in this case, Bandcamp's Web Application Firewall (WAF)
blocks the requests based not on their contents but on an artifact of
how urllib3 builds/sends the data, since curl with exact same headers
works.

Instead of trying to identify the exact reason, which is quite hard
without any info on Bandcamp's WAF, and fix/workaround that, I rewrote
the very little required HTTP code to use httpx and sidestep the issue.

532 of 587 branches covered (90.63%)

Branch coverage included in aggregate %.

13 of 18 new or added lines in 3 files covered. (72.22%)

2 existing lines in 1 file now uncovered.

1018 of 1114 relevant lines covered (91.38%)

13.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python3.9_beets1.6.0 - 10238455047.1 04 Aug 2024 06:43PM UTC 0
89.7
GitHub Action Run
2 python3.9_beets1.4.9 - 10238455047.2 04 Aug 2024 06:43PM UTC 0
87.35
GitHub Action Run
3 python3.8_beets1.6.0 - 10238455047.3 04 Aug 2024 06:43PM UTC 0
89.64
GitHub Action Run
4 python3.12_beets1.6.0 - 10238455047.4 04 Aug 2024 06:43PM UTC 0
90.64
GitHub Action Run
5 python3.9_beets1.5.0 - 10238455047.5 04 Aug 2024 06:43PM UTC 0
89.7
GitHub Action Run
6 python3.11_beets1.6.0 - 10238455047.6 04 Aug 2024 06:43PM UTC 0
90.85
GitHub Action Run
7 python3.10_beets1.4.9 - 10238455047.7 04 Aug 2024 06:43PM UTC 0
87.35
GitHub Action Run
8 python3.8_beets1.4.9 - 10238455047.8 04 Aug 2024 06:43PM UTC 0
87.29
GitHub Action Run
9 python3.11_beets1.5.0 - 10238455047.9 04 Aug 2024 06:43PM UTC 0
90.85
GitHub Action Run
10 python3.12_beets1.4.9 - 10238455047.10 04 Aug 2024 06:43PM UTC 0
88.59
GitHub Action Run
11 python3.12_beets1.5.0 - 10238455047.11 04 Aug 2024 06:43PM UTC 0
90.64
GitHub Action Run
12 python3.8_beets1.5.0 - 10238455047.12 04 Aug 2024 06:43PM UTC 0
89.64
GitHub Action Run
13 python3.11_beets1.4.9 - 10238455047.13 04 Aug 2024 06:43PM UTC 0
88.77
GitHub Action Run
14 python3.10_beets1.5.0 - 10238455047.14 04 Aug 2024 06:43PM UTC 0
89.7
GitHub Action Run
15 python3.10_beets1.6.0 - 10238455047.15 04 Aug 2024 06:43PM UTC 0
89.7
GitHub Action Run
Source Files on build 10238455047
Detailed source file information is not available for this build.
  • Back to Repo
  • 46c51eb0 on github
  • Prev Build on main (#9030010577)
  • Next Build on main (#10925838927)
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