Logo: Flickr Wayback Recovery

Flickr Wayback Recovery

Communautéit
fuzheado
flickr-wayback-recovery

Recover a deleted or offline Flickr account from the Wayback Machine (CDX enumeration, metadata scraping, image download) and batch-upload the photos that are missing from Wikimedia Commons via pattypan

Iwwersiicht

Editeurfuzheado
RepositoryWikipedia-AI-Skills
Skill-Nummflickr-wayback-recovery
Stären
27
Forks
10
Matgeliwwert Dateien
11
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 11 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    fuzheado huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Flickr Wayback Recovery an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/flickr-wayback-recovery
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fuzheado/Wikipedia-AI-Skills.git /tmp/Wikipedia-AI-Skills
mkdir -p .claude/skills
cp -r /tmp/Wikipedia-AI-Skills/.claude/skills/flickr-wayback-recovery .claude/skills/flickr-wayback-recovery
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Flickr Wayback Recovery an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Flickr Wayback Recovery automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Flickr Wayback Recovery net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Derived from two production rescues (2026) — a deleted Flickr account (44783532@N07 / alias stiftelsen, ~1,100 archived photos) was recovered from the Wayback Machine and 675 of its photos were re-uploaded to Commons in one pattypan batch, and a live account (184802432@N05 / alias stefan-mueller-climate, 16,435 live photos, ~350 deleted) had its deleted subset salvaged (4 fully recovered + 17 images preserved, 325 already safe on Commons). The pipeline, the CDX queries, the modelExport parser, the manifest schema, and every guardrail below are what those runs actually used. Condensed worked examples live in references/internetstiftelsen-case-study.md and references/184802432-case-study.md.

When a Flickr account is deleted (or made private), every photo page and the flickr.com/photos/<nsid>/ people page return 404, but the Wayback Machine usually still holds archived copies of the photo pages and their images. When the account is still live, the same pipeline recovers the photos the owner deleted from it (deleted set = archived IDs − live photostream). Either way this skill turns the archives into a clean pattypan upload of the photos that are not yet on Commons — matched by Flickr ID, never by filename.

When to use this skill

  • "This Flickr account disappeared — can we recover the photos?"
  • "Flickr account X is deleted; upload the photos that aren't on Commons yet"
  • "This photographer deleted ~2k photos from their live account; which of those are lost, and which can be recovered?"
  • Any task that mentions the Wayback CDX API, archived Flickr pages, or "rescue" of a deleted GLAM/institutional Flickr account (e.g. Internetstiftelsen).

Use this skill instead of flickr when the live Flickr API has nothing to offer (the account is gone, so flickr.people.findByUsername 404s). Use flickr when the account is still live.

Pipeline at a glance

  1. Enumerate every archived photo ID via the CDX API (both URL forms). For a live account, diff against the full photostream → the deleted subset.
  2. Dedupe against Commons — skip photos already uploaded (match by Flickr ID; back-fill the photographer's existing category first).
  3. Scrape per-photo metadata from archived photo pages (title, description, date, license, tags, owner). Photos whose pages are SPA shells yield nothing here — that is not "lost".
  4. Find + download the best archived image per photo — from the model's sizes when present, otherwise via a CDX wildcard scan of the image host (works even for shell pages).
  5. Build a pattypan manifest (Commons-safe wikitext) from the photos that have metadata + image + a free license; keep image-only recoveries for license confirmation.
  6. Validate the manifest, then upload with pattypan.

SOP: 1 — Enumerate photo IDs via the Wayback CDX API

CDX basics (memorize)

The CDX API returns a capture listing as JSON:

https://web.archive.org/cdx/search/cdx?url=<url-pattern>&output=json&fl=timestamp,original,statuscode,digest&filter=statuscode:200&collapse=digest
  • url is a glob pattern — the account uses .../photos/<nsid>/* and the alias form .../photos/<username>/*.
  • fl= selects columns; always request timestamp,original,statuscode,digest.
  • collapse=digest dedupes captures of the same page content; filter=statuscode:200 drops error/redirect captures.
  • Response is [["timestamp","original","statuscode","digest"], [...row...], ...].
  • A raw replayed page is https://web.archive.org/web/<timestamp>/<original> ; append id_ right after the timestamp to get the raw response (/web/<ts>id_/<url>), which is what you want for images and HTML you parse.

Query both URL forms

The CDX holds captures under two URL shapes — the NSID (flickr.com/photos/44783532@N07/<id>/) and the username alias (flickr.com/photos/stiftelsen/<id>/). Query both and union the photo IDs; one form is often missing captures the other has.

The trailing-slash pitfall

The first extraction regex required a trailing slash (/photos/<account>/(\d+)/) and silently dropped 209 IDs whose only captures use the NSID form without the trailing slash. Use a regex that tolerates the optional trailing slash and the in/<pool> suffix:

python
PHOTO_RE = re.compile(
    r"/photos/(?:44783532@N07|stiftelsen)/(\d+)/?"
    r"(?:in/(?:photostream|set-[\w]+|album-[\w]+|pool-[\w]+))?/?$"
)

Etiquette

The CDX API is not rate-limited formally but can be slow or flaky. Use one requests.Session() / urllib opener, send a descriptive User-Agent, sleep ~1 s between calls, and retry on timeout/connection errors with backoff. Save the full CDX result to disk (wayback_full.json) so later steps don't re-query.

python
import json, re, time, urllib.parse, urllib.request

CDX = "https://web.archive.org/cdx/search/cdx"
def cdx_rows(account_url):
    qs = urllib.parse.urlencode({
        "url": account_url, "output": "json", "fl": "timestamp,original,statuscode,digest",
        "filter": "statuscode:200", "collapse": "digest",
    })
    req = urllib.request.Request(f"{CDX}?{qs}", headers={"User-Agent": UA})
    for attempt in range(5):
        try:
            with urllib.request.urlopen(req, timeout=120) as r:
                rows = json.load(r)
            return [dict(zip(rows[0], row)) for row in rows[1:]]
        except Exception:
            time.sleep(2 * (attempt + 1))
    raise RuntimeError("CDX query failed")

rows = []
for nsid in ("44783532@N07", "stiftelsen"):
    rows += cdx_rows(f"https://www.flickr.com/photos/{nsid}/*")
    time.sleep(1)

photo_ids = sorted({int(m.group(1)) for r in rows
                    if (m := PHOTO_RE.search(r["original"]))})

SOP: 1b — Find archived images via CDX (works even for shell pages)

Image discovery is separate from page discovery. The Wayback crawler follows <img>/og:image URLs to the Flickr image host, so image bytes are archived even when the photo page is a bare SPA shell with no metadata (Flickr stopped server-rendering photo pages around Feb 2023; 2023+ captures are ~80–106 KB shells). Modern uploads live under live.staticflickr.com/65535/; pre-2019 uploads use farm<N>.staticflickr.com/<server>/.

The pattern that works — a plain trailing wildcard, no matchType:

https://web.archive.org/cdx/search/cdx?url=live.staticflickr.com/65535/<id>_*&output=json&fl=timestamp,original,statuscode,mimetype&limit=60

This returns every size capture for the ID (multiple secrets, multiple sizes, e.g. _b.jpg, _n.jpg with a different secret, sometimes _k.jpg/_h.jpg).

Two forms that return garbage — do not use them:

  • matchType=prefix with a trailing * → the * is treated as a literal, so the query matches nothing. ("No images archived" from this query is a lie.)
  • a leading-domain wildcard like *.staticflickr.com/*<id>_* → only generic staticflickr.com root captures, not the image.

Keep only rows with statuscode=200 and an image mimetype (429 rows are Flickr rate-limit responses). Pick the largest size by URL suffix (_o k h b c z w m n s t q sq, largest first; l maps to _b, m has no suffix). scripts/scan-cdx-images.py automates this and writes rescue_out/image_scan.json, which download-images.py reads as a fallback when the page model has no sizes block.

python
# Minimal per-ID image scan (correct pattern)
def image_captures(pid, hosts=("live.staticflickr.com/65535",)):
    rows = cdx_rows(f"{hosts[0]}/{pid}_*")   # trailing wildcard, no matchType
    return {r["original"]: r for r in rows
            if r["statuscode"] == "200" and "image" in r.get("mimetype", "")}

SOP: 2 — Find which photos are already on Commons

Match by Flickr ID, not by Commons filename — uploaders rename files freely. An ID can appear in a Commons file's title (Name (12345678901).jpg), wikitext (|Source = [https://www.flickr.com/photos/<nsid>/<id>/ ...]), or Structured Data (P973/P7482 URL claims). Check all three:

  1. Full-text/insource search for the ID: Special:Search insource:"<id>" or the Action API list=search with srsearch="<id>" on commons.wikimedia.org.
  2. Wikitext scan of the candidate files: prop=revisions&rvprop=content (50 titles per request), regex for flickr\.com/.../(\d{5,}).
  3. SDC scan: action=wbgetentities&sites=commonswiki&titles=... and read P973/P7482 URL claims for flickr.com.

Aggregate into commons_flickr_ids.txt (one ID per line). The rescue run found 399 already-present IDs this way. Use the User-Agent/rate-limit rules from wikimedia-api-access — this is a Wikimedia API.

Back-fill the photographer's category first

If the photographer maintains their own Commons category (Category:Photographs by <Name>), start there: pull the category's file titles (list=categorymembers, cmtype=file, paginated), extract the (<id>) from each title, and diff against the deleted set. In the second rescue run this found 315 of 350 deleted photos already safe on Commons in one API walk, before any per-photo search. Follow with insource:"<id>" full-text search for the remainder (found 10 more whose files don't put the ID in the title). Only the 25 leftover IDs needed per-photo work — that reframes the whole job.


SOP: 3 — Scrape metadata from archived photo pages

Shell pages: when there is no metadata

Flickr stopped server-rendering photo pages around Feb 2023. Archived pages after that cutoff are ~80–106 KB SPA shells with no modelExport (and no api.flickr.com responses either — those XHR calls were not crawled). So for 2023+ uploads there is no title, description, license, or date in the archive, even when the image bytes were captured. Detect a shell quickly by byte size + absence of modelExport; do not spend request budget fetching every capture of a shell. A shell page is not a lost photo — it just drops the photo into the "image-only, license unknown" bucket (see the License rule). The Internetstiftelsen run (pages server-rendered) is the good case; the 184802432@N05 run is the mixed case.

The modelExport JSON blob

An archived Flickr photo page embeds a serialized JSON blob inside a <script class="modelExport"> tag. The real blob is the first occurrence of modelExport: after that script tag (the token also appears in JS comments). Flickr uses a "cyclical JSON" format: data["main"] contains photo-models, person-models, photo-stats-models, photo-head-meta-models, and strings like "~3" reference data["legend"] entries. Resolve the ~N references before reading fields.

python
def extract_model(html):
    idx = html.find('<script class="modelExport"')
    if idx == -1:
        return None
    m = re.search(r"modelExport:\s*(\{)", html[idx:])
    if not m:
        return None
    start = m.start(1)
    depth = 0
    in_str = esc = False
    for i in range(start, len(html[idx:])):
        c = html[idx:][i]
        if in_str:
            if esc:
                esc = False
            elif c == "\\":
                esc = True
            elif c == '"':
                in_str = False
            continue
        if c == '"':
            in_str = True
        elif c == "{":
            depth += 1
        elif c == "}":
            depth -= 1
            if depth == 0:
                return json.loads(html[idx:][start:i + 1])
    return None

assets/inspect_model.py implements the full extraction + ~N resolution; the fetch-photo-metadata.py script uses it.

Fields to pull (photo-models[0] + stats + head-meta + person-models)

FieldWhereNotes
titlephoto-models[0].titlepercent-encoded, latin-1 bytes — decode
descriptionphoto-models[0].descriptionsame decoding
licensephoto-models[0].licenseFlickr license id — only free set 4,5,7,8,9,10,11,12 is uploadable (see License below)
dateTakenphoto-stats-models[0].dateTakenstring; fall back to datePosted
tagsphoto-head-meta-models[0].keywordscomma-separated, same decoding
ownerperson-models[0]nsid, pathAlias, username, realname
sizesphoto-models[0].sizesdict of size key → {url, ...}

The percent-encoding quirk (mojibake)

Flickr percent-encodes metadata with latin-1 bytes (%E4 = ä), so decode with urllib.parse.unquote_to_bytes(s).decode("latin-1"), not the default UTF-8. Archives also store pre-encoded mojibake (ã¶ for ö) in some places — normalize with unicodedata.normalize("NFKC", ...) where you see it.

Some captures are photo-page shells with no photo model (the page was archived but the content blob wasn't), and some photo IDs have no capture at all. Record both cases (error: "no model" / error: "no capture") and carry on — they are excluded from the manifest, not fatal.


SOP: 4 — Download the images

Try, in order:

  1. The archived original size: from sizes["o"] (fall back k, h, l, c, z), rewrite the URL as https://web.archive.org/web/<page_ts>id_/<original_url> and fetch. The id_ modifier returns the raw bytes, not an HTML wrapper.
  2. The archived staticflickr URL: many captures point at c1.staticflickr.com/.../<id>_<secret>[_o].jpg; fetch those directly through /web/<ts>id_/....
  3. Sizes in the page itself: some archived pages embed //web.archive.org/ web/<ts>/<img-url> URLs in sizes — parse and fetch the largest suffix.
  4. CDX-discovered image URLs (shell pages, no model): run scripts/scan-cdx-images.py and read rescue_out/image_scan.json — the wildcard-scan captures on the image host, independent of the page. The script download-images.py already falls back to this file automatically when the page model has no sizes block.

Validate every download with magic bytes — Wayback sometimes returns an HTML error page with HTTP 200:

python
def looks_like_image(blob):
    for magic, ext in [(b"\xff\xd8\xff", "jpg"), (b"\x89PNG\r\n\x1a\n", "png"),
                       (b"GIF87a", "gif"), (b"GIF89a", "gif")]:
        if blob.startswith(magic):
            return ext
    return None

Save as images/<id>.<ext>, record byte counts and the URL in an images.json state file so a rerun skips what already downloaded. Throttle (~1 s), retry with backoff on 429/503/timeout, and re-check files whose size on disk differs from the recorded byte count.


SOP: 5 — Build the pattypan manifest

The manifest is the 13-column CSV that pattypan's build_pattypan_spreadsheet.py turns into the .xls:

path,name,description,date,source,archive_ts,photo_id,author,photographer,categories,license,title,other_fields

path is the absolute local path to images/<id>.<ext> (keep the .xls next to the images so the paths resolve). The template's 13 variables map 1:1 onto these columns.

Filenames — the Flickr ID is sacred

<normalized title> - <Event> (<flickr id>).jpg. Normalize the Flickr title: strip event-year abbreviations (IDD12-, IDD13-), drop redundant trailing event words, and append a - <Event> <year> disambiguator when the bare title doesn't identify the event. The (<flickr id>) suffix is what Commons search/category work uses later — never lose it.

Camera-garbage titles

Titles that are just camera filenames (IMG_2184, ind12_.SE_9888, 11042013-dsc_3685, _W6A8157.jpg) carry no information. Replace them with a sequential per-year counter after the account name, one counter per year:

Swedish Internet Foundation 2012 (001) … — and keep the numbering contiguous across the rows that actually survive pruning (see the exclusion list below).

Descriptions

  • Wrap the Flickr description in its detected language: {{sv|1=...}} / {{en|1=...}}. Strip embedded credit lines (Fotograf: / Photo: / CC-BY ...) — the credit belongs in the author field.
  • Never use the Flickr title as the description.
  • Add a one-line language-tagged event placeholder in the same style ({{sv|1=Internetdagarna. Årlig konferens ...}}). Omit it when the real description is already in that language (never two blocks in one language).
  • Drop descriptions that only repeat the event name (Webbstjärnan 2018).
  • Short tag-like fragments (Arthackday 2013, sponsor .SE) → move to the Flickr tags (other_fields) and fall back to the placeholder; the event they name still drives the categories.

Categories

The template always adds the account category [[Category:Photographs by the Swedish Internet Foundation]]. Add per photo: event category (Internetdagarna 2012), year category, person categories for the photographed people/speakers — not the photographers (red/nonexistent person categories are acceptable and get created by a bot later). Photographer categories (Photographs by <Photographer>) come from the photographer column, separately.

License

The license id comes from the archived page's modelExport blob (photo-models[0].license); keep that id in the manifest and let the pattypan template translate it. Only the free set 4, 5, 7, 8, 9, 10, 11, 12 is uploadable to Commons — the flickr skill has the full id → Commons-template map. Anything else (0–3, 6) is non-free: skip the photo, never invent a license. A missing or unreadable license in the archive is a skip reason too — do not guess.

Deleted photos. When the Flickr page is gone, {{FlickreviewR}} cannot run (it checks the live URL). Cite the Wayback capture as the Information-block source ([https://web.archive.org/web/<ts>/https://www.flickr.com/photos/<nsid>/<id>/ <title>]) and note the deletion; the archived page's license id is the license evidence. Use {{FlickreviewR|...}} only when the live Flickr page still exists.

Author / credit

Credit the account. If the Flickr people page is not archived (common — the 404 hit it too), a link to flickr.com/people/<nsid>/ is dead: use the plain username Stiftelsen instead of [https://www.flickr.com/people/<nsid>/ ...]. Keep {{Flickrreview}} below the license template.

Tags → other_fields

{{Information field|name=Flickr tags|value=se, hack, musik, ...}} (repair the latin-1 mojibake first).

Exclusion list for pruned photos

Keep a skip_photos.txt (one Flickr ID per line) for photos the user has decided to drop (irrelevant, derivative work, duplicate). The build skips any ID in that list even if a local file or archived URL exists — a plain "no file on disk" check is not enough, because the archived URL would silently keep the row in the manifest.


SOP: 6 — Validate and upload with pattypan

Run the validation from scripts/validate-manifest.py and the pattypan build:

bash
python3 .claude/skills/pattypan/scripts/build_pattypan_spreadsheet.py \
    --manifest manifest.csv --template template.wikitext --output pattypan-upload.xls

Non-negotiable checks (0 errors, warnings advisory):

  • filename illegal characters (#<>[]|{}/) and trailing dots/whitespace;
  • filename byte-length ≤ 240 (MediaWiki hard limit);
  • no empty description, date, or archive_ts;
  • no path that still points at a URL (every row must have a local file);
  • every path file exists and is a valid image;
  • no row references a skip_photos.txt ID.

Then open the .xls in pattypan, confirm "N files loaded, 0 errors", spot-check a few rendered descriptions, and upload.


Guardrails

  1. Match by Flickr ID everywhere — Commons filenames, titles, and SDC claims are renamed by uploaders; the (<id>) in the title and the ID in source/SDC are the only reliable join keys.
  2. Query both CDX URL forms (NSID + alias) and make the photo-ID regex tolerate the missing trailing slash, or you silently drop IDs.
  3. Skip CC BY-NC (license 2); never fake a license. Only the free set (4, 5, 7, 8, 9, 10, 11, 12) can go to Commons. A shell page with no license in the archive is a skip reason — the photo becomes an image-only recovery pending the owner's confirmation, not an upload.
  4. A missing local file is not "excluded" if images.json still holds an archived URL — the URL keeps the row alive. Use an explicit skip_photos.txt.
  5. Wayback returns HTML error pages with HTTP 200 — always validate image downloads by magic bytes, never trust status code or extension.
  6. Throttle and resume: sleep ~1 s between Wayback/Commons calls, retry with backoff, and make every stage resumable from its on-disk state (metadata.json, images.json, cached pages/).
  7. Never use the Flickr title as a description; strip credits; one language block per language.
  8. Person categories describe the photographed people, not the photographers. Red/nonexistent person categories are fine — they get created on upload.
  9. No dead people-page links — if flickr.com/people/<nsid>/ isn't archived, credit the account by plain username.
  10. Commons API calls need a proper User-Agent and polite rate limits (see wikimedia-api-access).
  11. A "no image" conclusion needs the right CDX query. matchType=prefix with a trailing * returns zero rows (the * is literal); a leading-domain * returns generic root captures. Query live.staticflickr.com/65535/<id>_* (or farm<N>.staticflickr.com/<server>/<id>_*) with no matchType before declaring an image lost. See SOP 1b and scan-cdx-images.py.
  12. Shell page ≠ lost photo. Flickr stopped server-rendering pages ~Feb 2023; the crawler still stored the image bytes. Split recoveries into "metadata+image+free license" (upload), "image-only, license unknown" (preserve locally, ask the owner), and "nothing" (lost).
  13. Back-fill the photographer's Commons category first — category title-IDs + insource:"<id>" often show most deleted photos are already safe, shrinking the real work to a handful of IDs.
  14. Deleted photos: {{FlickreviewR}} cannot verify a live license when the Flickr page is gone — cite the Wayback capture as source/license evidence.
  15. Originals hide under a different secret. The page's secret is not the original's. Scan host/server/<id>_* (all secrets) and rank by size suffix (_o>_k>_h…) — this recovers full-resolution originals the page model never exposed (Internetstiftelsen revisit: 3 of 6 "lost" photos recovered).
  16. live.staticflickr.com images are often never archived (page saved, zero image bytes). If every size URL points there, the image is probably lost; don't chase it with matchType=domain&filter=… scans — busy staticflickr subdomains return HTTP 504.
  17. Scan images for every at-risk ID, even page-less ones, and diff recovered images against manifest.csv/upload lists before concluding a loss — a missing photo is often a pipeline gap, not an archival gap.

Tooling

  • scripts/cdx-photo-ids.py — CDX enumeration (both URL forms, dedupe, save wayback_full.json + wayback_photo_ids.txt).
  • scripts/check-commons.py — find which Flickr IDs already exist on Commons (title + wikitext + SDC) → commons_flickr_ids.txt.
  • scripts/fetch-photo-metadata.py — fetch archived photo pages, parse the modelExport blob → rescue_out/metadata.json (+ cached pages).
  • scripts/scan-cdx-images.py — CDX image discovery per ID (trailing-wildcard queries against the image host; works for SPA-shell pages with no model) → rescue_out/image_scan.json.
  • scripts/download-images.py — download the best archived image per photo → images/<id>.<ext> + images.json (falls back to image_scan.json when the page model has no sizes).
  • scripts/build-manifest.py — build the 13-column manifest from metadata + images + skip_photos.txt → manifest.csv.
  • scripts/validate-manifest.py — the non-negotiable checks above.
  • assets/inspect_model.py — modelExport extractor + ~N resolver (imported by fetch/download scripts).
  • references/wayback-cdx-notes.md — CDX parameter reference and pitfalls (incl. the wildcard/matchType gotcha and image-host patterns).
  • references/internetstiftelsen-case-study.md — first production run (deleted account): numbers, failures, lessons.
  • references/184802432-case-study.md — second production run (live account, deleted subset): the CDX wildcard bug, SPA-shell pages, live.staticflickr.com image recovery, category back-fill.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Flickr Wayback Recovery?

Recover a deleted or offline Flickr account from the Wayback Machine (CDX enumeration, metadata scraping, image download) and batch-upload the photos that are missing from Wikimedia Commons via pattypan

Firwat Flickr Wayback Recovery op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Flickr Wayback Recovery besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Flickr Wayback Recovery an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/fuzheado/Wikipedia-AI-Skills/tree/main/.claude/skills/flickr-wayback-recovery an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Flickr Wayback Recovery benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Flickr Wayback Recovery benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Flickr Wayback Recovery domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Flickr Wayback Recovery gratis?

Jo. fuzheado huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇