From b93564031760f924769f74b52054db743298b97d Mon Sep 17 00:00:00 2001 From: Oussema Frikha Date: Mon, 22 Jun 2026 15:10:14 +0100 Subject: [PATCH] chore: refresh stale Camo cache on PyPI badges MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The PyPI version + Python-versions badges in the README were rendering as "package not found" even after v0.1.0 went live, because GitHub's image proxy (camo.githubusercontent.com) had cached the SVG fetched before publication and refused to revalidate. Diagnosis (confirmed before this change): - pypi.org/project/socialapis-sdk → HTTP 200 - shields.io API returns: {"label":"pypi","message":"v0.1.0"} - PyPI JSON API confirms version: 0.1.0 → data is correct everywhere; only Camo was stale Fix: change the badge URLs so Camo treats them as new images and re-fetches: - PyPI version: img.shields.io/pypi/v/... → badge.fury.io/py/... (different host, different image, fresh Camo entry) - Python versions: drop the .svg suffix (shields.io serves SVG by default; the URL change forces Camo to re-fetch) Both badges now point at the correct PyPI version/data, just via URLs Camo hasn't seen before. The functional behavior is identical — clicking still routes to pypi.org/project/socialapis-sdk. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 35ea52c..d3592ca 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # socialapis — Python SDK for Facebook + Instagram public data -[![PyPI](https://img.shields.io/pypi/v/socialapis-sdk.svg)](https://pypi.org/project/socialapis-sdk/) -[![Python versions](https://img.shields.io/pypi/pyversions/socialapis-sdk.svg)](https://pypi.org/project/socialapis-sdk/) +[![PyPI](https://badge.fury.io/py/socialapis-sdk.svg)](https://pypi.org/project/socialapis-sdk/) +[![Python versions](https://img.shields.io/pypi/pyversions/socialapis-sdk)](https://pypi.org/project/socialapis-sdk/) [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE) The modern alternative to [`kevinzg/facebook-scraper`](https://github.com/kevinzg/facebook-scraper)