SPB Git forge

spb/crea-ka

Public

Créa·Ka — annuaire public cross-plateforme des créateurs de contenu québécois (crea-ka.com)

52commits 1branches 0releases
11.3 MBsize
maindefault branch
19 days agolast push
Python 73.6% HTML 13.2% TypeScript 6% JavaScript 4.5% CSS 1.7% Dockerfile 0.6%

Vague 2 : balados-rss (RSS sans clé), Podcast Index (prêt — clés requises), abonnés X sans clé, bio-liens, plateformes spotify/discord/apple-podcasts

- balados-rss : flux RSS auto-déclarés (cap 150/passage, re-visite 7 j, fetch
  parallèle poli, repli regex) → épisodes réels, dernier épisode/dormant,
  pochette→avatar, description→bio, catégories→niches, <link>→site-web
  (portails partagés et domaines de plateformes exclus — anti-fusion §12.2)
- podcastindex : connecteur complet API officielle, sauté proprement sans
  clés (SkipSource) ; PODCASTINDEX_API_KEY/SECRET dans .env.example
- x-profil : abonnés/abonnements/badge X via le service public de syndication
  (widgets officiels) + repli page x.com ; fetch via curl (requests 429-é par
  empreinte TLS, constaté) ; followbutton mort et Facebook bloqué → documenté
- bio-liens : liaison croisée conservatrice depuis les URLs complètes des
  bios déjà stockées (cross_link, cap 5/fiche, jamais de @handle textuel)
- normalize/frontend : plateformes spotify, discord, apple-podcasts→podcast
  (fusion par collectionId) ; icônes simple-icons ; PLAT du SPA
- sources.json : 4 nouvelles sources documentées ; tests vague 2 (35 verts)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Simon-Pierre Boucher committed 1 mo ago (Aug 18, 2026) parent 154742b

13 changed files +861 −7

modified .env.example +5 −0
@@ -11,3 +11,8 @@ FIRECRAWL_API_KEY=
11 11 YOUTUBE_API_KEY=
12 12 TWITCH_CLIENT_ID=
13 13 TWITCH_CLIENT_SECRET=
14 +# Podcast Index — enrichissement des balados (GRATUIT, inscription requise :
15 +# https://api.podcastindex.org ; sans clés le connecteur est sauté proprement
16 +# et balados-rss couvre les mêmes champs sans clé)
17 +PODCASTINDEX_API_KEY=
18 +PODCASTINDEX_API_SECRET=
added creaka/connectors/balados_rss.py +264 −0
@@ -0,0 +1,264 @@
1 +# ==============================================================================
2 +# Author: Simon-Pierre Boucher <contact@spboucher.ai>
3 +# File: creaka/connectors/balados_rss.py
4 +# Desc: Connecteur ENRICHISSEMENT « balados-rss » — lecture directe des flux
5 +# RSS auto-déclarés des balados (AUCUNE clé requise). Palier 1 (§9).
6 +# Cap 150 flux/passage, re-visite 7 j, timeout court, fetch parallèle
7 +# poli (les flux vivent presque tous sur des hôtes différents).
8 +# ==============================================================================
9 +"""Enrichissement des balados par leur propre flux RSS.
10 +
11 +Le flux RSS d'un balado est publié PAR le créateur (auto-déclaré via Apple
12 +Podcasts) : c'est la source la plus fraîche et la plus fiable sans clé.
13 +On en extrait :
14 +
15 +- nb d'épisodes réels (``<item>``) + date du dernier épisode (``pubDate``)
16 + → détection dormant (>12 mois) bien plus juste que le releaseDate iTunes ;
17 +- l'image du flux (``itunes:image``/``image/url``) → avatar si absent ;
18 +- le lien officiel (``<link>``) → compte site-web (ou compte de plateforme
19 + si l'URL en est une), signal cross_link — le créateur le déclare lui-même ;
20 +- la description du flux → bio si vide ;
21 +- les catégories iTunes → niches §6.1.
22 +
23 +Substitut sans clé de l'API Podcast Index (connecteur `podcastindex`).
24 +"""
25 +from __future__ import annotations
26 +
27 +import re
28 +from concurrent.futures import ThreadPoolExecutor, as_completed
29 +from datetime import datetime, timedelta, timezone
30 +from email.utils import parsedate_to_datetime
31 +from xml.etree import ElementTree as ET
32 +
33 +import requests
34 +
35 +from ..identity import account
36 +from ..normalize import map_niche, platform_from_url
37 +from ..schema import Creator, now_iso
38 +from .base import USER_AGENT, BaseConnector
39 +from .balados_itunes import DORMANT_AFTER_DAYS, _GENRE_NICHE
40 +
41 +_ITUNES_NS = "{http://www.itunes.com/dtds/podcast-1.0.dtd}"
42 +_MAX_BYTES = 8 * 1024 * 1024 # flux géants : on tronque (regex de repli)
43 +
44 +# hébergeurs de balados : leur page « show » n'est pas le site PERSONNEL du
45 +# créateur → jamais transformée en compte site-web
46 +_HOSTING_DOMAINS = (
47 + "anchor.fm", "podcasters.spotify.com", "feeds.feedburner.com",
48 + "buzzsprout.com", "podbean.com", "spreaker.com", "soundcloud.com",
49 + "audioboom.com", "transistor.fm", "simplecast.com", "libsyn.com",
50 + "megaphone.fm", "omny.fm", "acast.com", "captivate.fm", "podomatic.com",
51 + "rss.com", "pod.link", "podcastics.com", "ausha.co", "pippa.io",
52 + "audiomeans.fr", "wordpress.com", "blogspot.com", "squarespace.com",
53 + # portails PARTAGÉS entre plusieurs balados : un domaine commun ne doit
54 + # JAMAIS devenir un compte site-web (clé forte → risque de fusion §12.2
55 + # entre deux créateurs différents)
56 + "baladoquebec.ca", "radio-canada.ca", "qub.ca", "telequebec.tv",
57 + "noovo.ca", "urbania.ca", "cogecomedia.com", "985fm.ca", "98.5fm.ca",
58 + # domaines des grandes plateformes : si platform_from_url ne reconnaît pas
59 + # le lien (page générique), ce n'est PAS un site personnel non plus
60 + "facebook.com", "instagram.com", "youtube.com", "tiktok.com", "x.com",
61 + "twitter.com", "spotify.com", "apple.com", "google.com", "linktr.ee",
62 + "beacons.ai", "patreon.com",
63 +)
64 +
65 +
66 +def _parse_date(raw: str | None) -> datetime | None:
67 + """pubDate RFC-2822 (ou ISO en repli) → datetime UTC, sinon None."""
68 + if not raw:
69 + return None
70 + raw = raw.strip()
71 + try:
72 + dt = parsedate_to_datetime(raw)
73 + except (TypeError, ValueError):
74 + try:
75 + dt = datetime.fromisoformat(raw.replace("Z", "+00:00"))
76 + except ValueError:
77 + return None
78 + if dt.tzinfo is None:
79 + dt = dt.replace(tzinfo=timezone.utc)
80 + return dt.astimezone(timezone.utc)
81 +
82 +
83 +def parse_feed(raw: bytes) -> dict | None:
84 + """Flux RSS (bytes) → dict {episodes, last_episode, image, link,
85 + description, categories} ; None si illisible.
86 +
87 + Voie principale : ElementTree. Repli (flux tronqué/malformé) : regex sur
88 + l'en-tête du canal + comptage des ``<item``.
89 + """
90 + try:
91 + root = ET.fromstring(raw)
92 + except ET.ParseError:
93 + return _parse_feed_regex(raw)
94 + channel = root.find("channel")
95 + if channel is None: # Atom ou format exotique
96 + return _parse_feed_regex(raw)
97 + items = channel.findall("item")
98 + last = None
99 + for it in items[:10]: # le plus récent est presque
100 + dt = _parse_date((it.findtext("pubDate") or "").strip()) # toujours en tête
101 + if dt and (last is None or dt > last):
102 + last = dt
103 + image = ""
104 + itunes_img = channel.find(f"{_ITUNES_NS}image")
105 + if itunes_img is not None:
106 + image = (itunes_img.get("href") or "").strip()
107 + if not image:
108 + image = (channel.findtext("image/url") or "").strip()
109 + cats: list[str] = []
110 + for cat in channel.iter(f"{_ITUNES_NS}category"):
111 + text = (cat.get("text") or "").strip()
112 + if text and text not in cats:
113 + cats.append(text)
114 + description = (channel.findtext("description")
115 + or channel.findtext(f"{_ITUNES_NS}summary") or "").strip()
116 + # retirer un éventuel balisage HTML de la description
117 + description = re.sub(r"<[^>]+>", " ", description)
118 + description = re.sub(r"\s+", " ", description).strip()
119 + return {
120 + "episodes": len(items),
121 + "last_episode": last,
122 + "image": image,
123 + "link": (channel.findtext("link") or "").strip(),
124 + "description": description,
125 + "categories": cats,
126 + }
127 +
128 +
129 +def _parse_feed_regex(raw: bytes) -> dict | None:
130 + """Repli tolérant : flux tronqué à _MAX_BYTES ou XML malformé."""
131 + text = raw.decode("utf-8", errors="replace")
132 + if "<channel" not in text and "<rss" not in text:
133 + return None
134 + head = text.split("<item", 1)[0]
135 + m_img = re.search(r'itunes:image[^>]*href="([^"]+)"', head)
136 + m_link = re.search(r"<link>\s*([^<\s]+)\s*</link>", head)
137 + m_desc = re.search(r"<description>(?:<!\[CDATA\[)?(.*?)(?:\]\]>)?</description>",
138 + head, re.S)
139 + cats = re.findall(r'itunes:category[^>]*text="([^"]+)"', head)
140 + m_date = re.search(r"<pubDate>\s*(.*?)\s*</pubDate>", text)
141 + desc = re.sub(r"<[^>]+>", " ", m_desc.group(1)) if m_desc else ""
142 + return {
143 + "episodes": text.count("<item"),
144 + "last_episode": _parse_date(m_date.group(1)) if m_date else None,
145 + "image": m_img.group(1).strip() if m_img else "",
146 + "link": m_link.group(1).strip() if m_link else "",
147 + "description": re.sub(r"\s+", " ", desc).strip(),
148 + "categories": list(dict.fromkeys(cats)),
149 + }
150 +
151 +
152 +def _needs_visit(metrics: dict, revisit_days: int) -> bool:
153 + checked = _parse_date(metrics.get("rss_checked"))
154 + if checked is None:
155 + return True
156 + return datetime.now(timezone.utc) - checked > timedelta(days=revisit_days)
157 +
158 +
159 +def _site_domain(link: str) -> str:
160 + domain = link.split("://", 1)[-1].split("/", 1)[0].lower()
161 + return domain.removeprefix("www.")
162 +
163 +
164 +class BaladosRssConnector(BaseConnector):
165 + source_id = "balados-rss"
166 + kind = "enrichment"
167 + request_delay = 0.2 # hôtes presque tous différents (poli quand même)
168 + timeout = 12 # timeout court : un flux lent ne bloque pas le lot
169 + max_feeds = 150 # cap par passage (rotation complète en ~3 jours)
170 + revisit_days = 7 # cache : un flux déjà lu n'est relu qu'après 7 j
171 + workers = 6
172 +
173 + def __init__(self) -> None:
174 + super().__init__()
175 + self.errors = 0
176 +
177 + def _fetch_feed(self, url: str) -> dict | None:
178 + """Télécharge (borné à _MAX_BYTES) et parse un flux. None si échec."""
179 + resp = requests.get(url, timeout=self.timeout, stream=True,
180 + headers={"User-Agent": USER_AGENT})
181 + resp.raise_for_status()
182 + chunks, size = [], 0
183 + for chunk in resp.iter_content(chunk_size=65536):
184 + chunks.append(chunk)
185 + size += len(chunk)
186 + if size >= _MAX_BYTES:
187 + break
188 + resp.close()
189 + return parse_feed(b"".join(chunks))
190 +
191 + def enrich(self, creators: list[Creator]) -> list[Creator]:
192 + # candidats : comptes podcast avec feed_url, pas relus depuis 7 j ;
193 + # jamais lus d'abord (metrics.rss_checked absent)
194 + todo: list[tuple[Creator, object]] = []
195 + for cr in creators:
196 + for acc in cr.platforms:
197 + if acc.platform != "podcast" or not acc.metrics.get("feed_url"):
198 + continue
199 + if _needs_visit(acc.metrics, self.revisit_days):
200 + todo.append((cr, acc))
201 + break # un seul balado par fiche
202 + todo.sort(key=lambda t: bool(t[1].metrics.get("rss_checked")))
203 + todo = todo[:self.max_feeds]
204 +
205 + results: dict[int, dict | None] = {}
206 + with ThreadPoolExecutor(max_workers=self.workers) as pool:
207 + futures = {pool.submit(self._fetch_feed,
208 + acc.metrics["feed_url"]): i
209 + for i, (_, acc) in enumerate(todo)}
210 + for fut in as_completed(futures):
211 + try:
212 + results[futures[fut]] = fut.result()
213 + except Exception:
214 + self.errors += 1
215 + results[futures[fut]] = None
216 +
217 + enriched: list[Creator] = []
218 + now = datetime.now(timezone.utc)
219 + for i, (cr, acc) in enumerate(todo):
220 + feed = results.get(i)
221 + if feed is None:
222 + continue # échec réseau/parse : on réessaiera
223 + acc.metrics["rss_checked"] = now_iso()
224 + acc.last_checked = now_iso()
225 + if feed["episodes"]:
226 + acc.metrics["episodes"] = feed["episodes"]
227 + last = feed["last_episode"]
228 + if last is not None:
229 + acc.metrics["last_episode"] = last.strftime("%Y-%m-%dT%H:%M:%SZ")
230 + if now - last > timedelta(days=DORMANT_AFTER_DAYS):
231 + acc.metrics["dormant"] = True
232 + # dormant → inactive SEULEMENT si le balado est l'unique
233 + # plateforme de la fiche (§13 ; réversible au retour)
234 + if all(a.platform == "podcast" for a in cr.platforms):
235 + cr.status = "inactive"
236 + else:
237 + acc.metrics.pop("dormant", None)
238 + if feed["image"].startswith("http") and not cr.avatar_url:
239 + cr.avatar_url = feed["image"]
240 + if feed["description"] and len(cr.bio or "") < 40:
241 + cr.bio = feed["description"]
242 + niches = {map_niche(_GENRE_NICHE.get(c, c))
243 + for c in feed["categories"]}
244 + niches.discard("autre")
245 + if niches:
246 + cr.niches = sorted(set(cr.niches or []) | niches)
247 + # <link> officiel auto-déclaré → compte (plateforme reconnue ou site-web)
248 + link = feed["link"]
249 + if link.startswith("http"):
250 + hit = platform_from_url(link)
251 + existing = {a.key for a in cr.platforms}
252 + if hit and f"{hit[0]}:{hit[1]}" not in existing:
253 + cr.platforms.append(
254 + account(hit[0], hit[1], "cross_link", url=link).finalize())
255 + elif not hit:
256 + domain = _site_domain(link)
257 + if (domain and "." in domain
258 + and not any(h in link.lower() for h in _HOSTING_DOMAINS)
259 + and f"site-web:{domain}" not in existing):
260 + cr.platforms.append(
261 + account("site-web", domain, "cross_link",
262 + url=link).finalize())
263 + enriched.append(cr)
264 + return enriched
added creaka/connectors/bio_liens.py +76 −0
@@ -0,0 +1,76 @@
1 +# ==============================================================================
2 +# Author: Simon-Pierre Boucher <contact@spboucher.ai>
3 +# File: creaka/connectors/bio_liens.py
4 +# Desc: Connecteur ENRICHISSEMENT « bio-liens » — découverte croisée
5 +# inter-plateformes SANS AUCUNE requête : liaison conservatrice à
6 +# partir des URLs COMPLÈTES déjà stockées dans les bios publiques.
7 +# Palier 1 (§9) — passe en dernier (après link-in-bio).
8 +# ==============================================================================
9 +"""Liaison croisée à partir des bios déjà en base.
10 +
11 +Une bio publique contient souvent l'URL complète d'un autre compte du même
12 +créateur (« youtube.com/@x », « patreon.com/x »…). C'est exactement le signal
13 +`cross_link` §12.1 (0.90) : le créateur pointe lui-même vers son autre compte.
14 +
15 +Passe CONSERVATRICE (vague 2, §12) : uniquement les URLs complètes reconnues
16 +par normalize.platform_from_url — jamais de simple « @handle » textuel
17 +(ambigu), jamais d'inférence. Aucune requête réseau : tout vient des bios
18 +déjà collectées par les autres connecteurs. Cap 5 nouveaux comptes par fiche
19 +(garde-fou contre les bios-annuaires).
20 +"""
21 +from __future__ import annotations
22 +
23 +import re
24 +
25 +from ..identity import account
26 +from ..normalize import platform_from_url
27 +from ..schema import Creator
28 +from .base import BaseConnector
29 +
30 +# URL complète (avec ou sans schéma) — les domaines nus type « exemple.com »
31 +# sans chemin ne désignent pas un compte et sont ignorés par platform_from_url
32 +_URL_RE = re.compile(r"(?:https?://|www\.)[^\s\"'<>()\[\]{}]+", re.I)
33 +
34 +MAX_NEW_PER_CREATOR = 5
35 +
36 +
37 +def extract_bio_accounts(bio: str, existing_keys: set[str]) -> list:
38 + """Bio publique → nouveaux comptes cross_link (URLs complètes seulement)."""
39 + accounts = []
40 + seen = set(existing_keys)
41 + for raw in _URL_RE.findall(bio or ""):
42 + url = raw.rstrip(".,;!?…")
43 + if not url.lower().startswith("http"):
44 + url = "https://" + url
45 + hit = platform_from_url(url)
46 + if not hit:
47 + continue
48 + platform, handle = hit
49 + key = f"{platform}:{handle}"
50 + if key in seen:
51 + continue
52 + seen.add(key)
53 + accounts.append(account(platform, handle, "cross_link", url=url))
54 + if len(accounts) >= MAX_NEW_PER_CREATOR:
55 + break
56 + return accounts
57 +
58 +
59 +class BioLiensConnector(BaseConnector):
60 + source_id = "bio-liens"
61 + kind = "enrichment"
62 + request_delay = 0.0 # AUCUNE requête réseau
63 +
64 + def enrich(self, creators: list[Creator]) -> list[Creator]:
65 + enriched: list[Creator] = []
66 + for cr in creators:
67 + if not cr.bio:
68 + continue
69 + existing = {a.key for a in cr.platforms}
70 + # ne jamais relier une fiche vers son propre handle X/IG déjà connu
71 + new_accounts = extract_bio_accounts(cr.bio, existing)
72 + if not new_accounts:
73 + continue
74 + cr.platforms.extend(a.finalize() for a in new_accounts)
75 + enriched.append(cr)
76 + return enriched
added creaka/connectors/podcastindex.py +118 −0
@@ -0,0 +1,118 @@
1 +# ==============================================================================
2 +# Author: Simon-Pierre Boucher <contact@spboucher.ai>
3 +# File: creaka/connectors/podcastindex.py
4 +# Desc: Connecteur ENRICHISSEMENT « podcastindex » — API Podcast Index
5 +# (OFFICIELLE, gratuite ; clé + secret requis, inscription gratuite :
6 +# https://api.podcastindex.org). Palier 2 (§9, §10). Sans clés :
7 +# passage sauté PROPREMENT (SkipSource, comme twitch).
8 +# ==============================================================================
9 +"""Enrichissement des balados via l'API Podcast Index.
10 +
11 +``/podcasts/byfeedurl`` retourne pour un flux : episodeCount,
12 +lastUpdateTime, itunesId, image/artwork, catégories — reach/fraîcheur/avatar
13 +des balados. Authentification officielle : en-têtes X-Auth-Key + X-Auth-Date
14 ++ Authorization = sha1(key + secret + date).
15 +
16 +Complément (avec clés) du connecteur sans clé `balados-rss` : mêmes champs,
17 +mais en UNE requête légère par balado au lieu de télécharger le flux complet.
18 +"""
19 +from __future__ import annotations
20 +
21 +import hashlib
22 +import os
23 +import time
24 +from datetime import datetime, timedelta, timezone
25 +
26 +from ..normalize import map_niche
27 +from ..schema import Creator, now_iso
28 +from .base import BaseConnector, SkipSource
29 +from .balados_itunes import DORMANT_AFTER_DAYS, _GENRE_NICHE
30 +
31 +API_URL = "https://api.podcastindex.org/api/1.0/podcasts/byfeedurl"
32 +
33 +
34 +class PodcastIndexConnector(BaseConnector):
35 + source_id = "podcastindex"
36 + kind = "enrichment"
37 + request_delay = 0.4
38 + max_feeds = 200 # cap par passage
39 + revisit_days = 7 # re-visite hebdomadaire par balado
40 +
41 + def __init__(self) -> None:
42 + super().__init__()
43 + self.errors = 0
44 +
45 + def _auth_headers(self, key: str, secret: str) -> dict:
46 + ts = str(int(time.time()))
47 + digest = hashlib.sha1((key + secret + ts).encode("utf-8")).hexdigest()
48 + return {"X-Auth-Key": key, "X-Auth-Date": ts, "Authorization": digest}
49 +
50 + def _needs_visit(self, metrics: dict) -> bool:
51 + raw = metrics.get("pi_checked")
52 + if not raw:
53 + return True
54 + try:
55 + checked = datetime.fromisoformat(raw.replace("Z", "+00:00"))
56 + except ValueError:
57 + return True
58 + return (datetime.now(timezone.utc) - checked
59 + > timedelta(days=self.revisit_days))
60 +
61 + def enrich(self, creators: list[Creator]) -> list[Creator]:
62 + key = os.environ.get("PODCASTINDEX_API_KEY", "")
63 + secret = os.environ.get("PODCASTINDEX_API_SECRET", "")
64 + if not key or not secret:
65 + # pas de clés → passage sauté PROPREMENT (§15) ; le connecteur
66 + # sans clé balados-rss couvre les mêmes champs en attendant
67 + raise SkipSource("clés PODCASTINDEX_API_KEY/PODCASTINDEX_API_SECRET "
68 + "manquantes (.env — inscription gratuite : "
69 + "https://api.podcastindex.org)")
70 + enriched: list[Creator] = []
71 + fetched = 0
72 + now = datetime.now(timezone.utc)
73 + for cr in creators:
74 + if fetched >= self.max_feeds:
75 + break
76 + acc = next((a for a in cr.platforms
77 + if a.platform == "podcast" and a.metrics.get("feed_url")),
78 + None)
79 + if acc is None or not self._needs_visit(acc.metrics):
80 + continue
81 + try:
82 + resp = self.get(API_URL,
83 + params={"url": acc.metrics["feed_url"]},
84 + headers=self._auth_headers(key, secret))
85 + feed = resp.json().get("feed") or {}
86 + except Exception:
87 + self.errors += 1
88 + continue
89 + fetched += 1
90 + if not feed or not isinstance(feed, dict):
91 + continue
92 + acc.metrics["pi_checked"] = now_iso()
93 + acc.last_checked = now_iso()
94 + if feed.get("episodeCount"):
95 + acc.metrics["episodes"] = feed["episodeCount"]
96 + if feed.get("itunesId"):
97 + acc.metrics["itunes_id"] = feed["itunesId"]
98 + last_ts = feed.get("lastUpdateTime") or feed.get("newestItemPubdate")
99 + if last_ts:
100 + last = datetime.fromtimestamp(int(last_ts), tz=timezone.utc)
101 + acc.metrics["last_episode"] = last.strftime("%Y-%m-%dT%H:%M:%SZ")
102 + if now - last > timedelta(days=DORMANT_AFTER_DAYS):
103 + acc.metrics["dormant"] = True
104 + if all(a.platform == "podcast" for a in cr.platforms):
105 + cr.status = "inactive" # §13, réversible au retour
106 + else:
107 + acc.metrics.pop("dormant", None)
108 + image = (feed.get("image") or feed.get("artwork") or "").strip()
109 + if image.startswith("http") and not cr.avatar_url:
110 + cr.avatar_url = image
111 + cats = feed.get("categories") or {}
112 + niches = {map_niche(_GENRE_NICHE.get(c, c))
113 + for c in cats.values() if isinstance(c, str)}
114 + niches.discard("autre")
115 + if niches:
116 + cr.niches = sorted(set(cr.niches or []) | niches)
117 + enriched.append(cr)
118 + return enriched
added creaka/connectors/x_profil.py +196 −0
@@ -0,0 +1,196 @@
1 +# ==============================================================================
2 +# Author: Simon-Pierre Boucher <contact@spboucher.ai>
3 +# File: creaka/connectors/x_profil.py
4 +# Desc: Connecteur ENRICHISSEMENT « x-profil » — abonnés X (Twitter) SANS clé
5 +# via le service public de syndication (widgets d'intégration officiels)
6 +# syndication.twitter.com/srv/timeline-profile/screen-name/{handle},
7 +# repli page publique x.com/{handle}. Palier 3 (§9).
8 +# Facebook sondé aussi : page publique bloquée sans clé (HTTP 400)
9 +# → aucune voie fiable, on passe (documenté dans data/sources.json).
10 +# ==============================================================================
11 +"""Enrichissement X (Twitter) : nombre d'abonnés par créateur, sans clé.
12 +
13 +L'API officielle de lecture est payante depuis 2023 et l'ancien widget
14 +followbutton (cdn.syndication.twimg.com/widgets/followbutton) est mort
15 +(vérifié 2026-08-18 : réponse vide). Deux voies publiques restent :
16 +
17 +1. ``syndication.twitter.com/srv/timeline-profile/screen-name/{h}`` — le
18 + service OFFICIEL des widgets d'intégration : son __NEXT_DATA__ contient
19 + l'objet user complet (followers_count, verified, avatar). Fiable et conçu
20 + pour être appelé sans authentification. VOIE PRINCIPALE.
21 +2. la page ``x.com/{handle}`` rendue côté serveur expose
22 + ``UserRelationshipCounts",followers:N`` — mais mur de connexion après
23 + ~15-20 requêtes par IP (constaté 2026-08-18). REPLI seulement.
24 +
25 +⚠ Ces services 429-ent l'empreinte TLS de python-requests (constaté
26 +2026-08-18 : curl 200, requests 429, même IP/UA/en-têtes) → le fetch passe
27 +par le binaire système ``curl`` (toujours présent sur macOS), avec le même
28 +User-Agent CreaKaBot et le même throttling poli que les autres connecteurs.
29 +
30 +On ne lit QUE les compteurs publics du profil déjà rattaché (§15).
31 +Cap 150 profils/passage + re-visite 7 j (~180 comptes X → rotation douce).
32 +"""
33 +from __future__ import annotations
34 +
35 +import json
36 +import re
37 +import subprocess
38 +import time
39 +from datetime import datetime, timedelta, timezone
40 +
41 +from ..schema import Creator, now_iso
42 +from .base import USER_AGENT, BaseConnector
43 +
44 +SYNDICATION_URL = ("https://syndication.twitter.com/srv/timeline-profile/"
45 + "screen-name/{h}")
46 +PAGE_URL = "https://x.com/{h}"
47 +
48 +_NEXT_DATA_RE = re.compile(
49 + r'<script id="__NEXT_DATA__"[^>]*>(.*?)</script>', re.S)
50 +
51 +# repli x.com : état intégré du rendu serveur (clés non citées, pas du JSON)
52 +_COUNT_RES = (
53 + re.compile(r'UserRelationshipCounts",followers:(\d+),following:(\d+)'),
54 + re.compile(r"followers:(\d+),following:(\d+)"),
55 +)
56 +
57 +
58 +def _find_user(node, handle: str) -> dict | None:
59 + """Parcourt le JSON Next.js : l'objet user dont screen_name == handle."""
60 + if isinstance(node, dict):
61 + sn = node.get("screen_name")
62 + if isinstance(sn, str) and sn.lower() == handle \
63 + and "followers_count" in node:
64 + return node
65 + for v in node.values():
66 + hit = _find_user(v, handle)
67 + if hit:
68 + return hit
69 + elif isinstance(node, list):
70 + for item in node:
71 + hit = _find_user(item, handle)
72 + if hit:
73 + return hit
74 + return None
75 +
76 +
77 +def parse_syndication(html: str, handle: str) -> dict | None:
78 + """Page timeline-profile → {followers, following, verified, avatar} ou None."""
79 + m = _NEXT_DATA_RE.search(html)
80 + if not m:
81 + return None
82 + try:
83 + data = json.loads(m.group(1))
84 + except ValueError:
85 + return None
86 + user = _find_user(data, handle.lower())
87 + if not user:
88 + return None
89 + return {
90 + "followers": int(user.get("followers_count") or 0),
91 + "following": user.get("friends_count"),
92 + "verified": bool(user.get("verified")) or None,
93 + "avatar": (user.get("profile_image_url_https") or "").replace(
94 + "_normal.", "_400x400."),
95 + }
96 +
97 +
98 +def parse_counts(html: str) -> tuple[int, int] | None:
99 + """(repli) HTML x.com → (followers, following) ou None (mur de connexion)."""
100 + for rx in _COUNT_RES:
101 + m = rx.search(html)
102 + if m:
103 + return int(m.group(1)), int(m.group(2))
104 + return None
105 +
106 +
107 +class XProfilConnector(BaseConnector):
108 + source_id = "x-profil"
109 + kind = "enrichment"
110 + request_delay = 2.0 # poli — service d'intégration public
111 + timeout = 15
112 + max_profiles = 150
113 + revisit_days = 7
114 +
115 + def __init__(self) -> None:
116 + super().__init__()
117 + self.errors = 0
118 + self._fallback_left = 10 # x.com bloque vite : repli très limité
119 +
120 + def _needs_visit(self, metrics: dict) -> bool:
121 + raw = metrics.get("x_checked")
122 + if not raw:
123 + return True
124 + try:
125 + checked = datetime.fromisoformat(raw.replace("Z", "+00:00"))
126 + except ValueError:
127 + return True
128 + return (datetime.now(timezone.utc) - checked
129 + > timedelta(days=self.revisit_days))
130 +
131 + def _curl(self, url: str) -> str:
132 + """GET via le binaire curl (voir docstring : requests est 429-é),
133 + throttling poli hérité du connecteur ; lève en cas d'échec HTTP."""
134 + self._throttle()
135 + try:
136 + proc = subprocess.run(
137 + ["curl", "-sS", "--fail", "--max-time", str(self.timeout),
138 + "-A", USER_AGENT, "-H", "Accept-Language: en", url],
139 + capture_output=True, text=True, timeout=self.timeout + 5)
140 + finally:
141 + self._last_request = time.time()
142 + if proc.returncode != 0:
143 + raise RuntimeError(f"curl {proc.returncode}: {url}")
144 + return proc.stdout
145 +
146 + def _lookup(self, handle: str) -> dict | None:
147 + info = parse_syndication(self._curl(SYNDICATION_URL.format(h=handle)),
148 + handle)
149 + if info:
150 + return info
151 + if self._fallback_left <= 0:
152 + return None
153 + self._fallback_left -= 1
154 + counts = parse_counts(self._curl(PAGE_URL.format(h=handle)))
155 + if counts is None:
156 + return None
157 + return {"followers": counts[0], "following": counts[1],
158 + "verified": None, "avatar": ""}
159 +
160 + def enrich(self, creators: list[Creator]) -> list[Creator]:
161 + # jamais lus d'abord, puis par portée (l'appelant trie déjà par reach)
162 + candidates = []
163 + for cr in creators:
164 + acc = next((a for a in cr.platforms if a.platform == "x"), None)
165 + if acc is not None and self._needs_visit(acc.metrics):
166 + candidates.append((cr, acc))
167 + candidates.sort(key=lambda t: bool(t[1].metrics.get("x_checked")))
168 +
169 + enriched: list[Creator] = []
170 + fetched = 0
171 + for cr, acc in candidates:
172 + if fetched >= self.max_profiles:
173 + break
174 + fetched += 1 # le cap borne les TENTATIVES réseau
175 + try:
176 + info = self._lookup(acc.handle)
177 + except Exception:
178 + self.errors += 1
179 + continue
180 + if info is None:
181 + # profil sans tweet public / suspendu : rien à lire — mais on
182 + # horodate pour ne pas re-consommer le cap avant 7 jours
183 + acc.metrics["x_checked"] = now_iso()
184 + enriched.append(cr)
185 + continue
186 + acc.followers = info["followers"]
187 + if info.get("verified") and acc.verified is None:
188 + acc.verified = True
189 + if info.get("following") is not None:
190 + acc.metrics["following"] = info["following"]
191 + acc.metrics["x_checked"] = now_iso()
192 + acc.last_checked = now_iso()
193 + if info.get("avatar", "").startswith("http") and not cr.avatar_url:
194 + cr.avatar_url = info["avatar"]
195 + enriched.append(cr)
196 + return enriched
modified creaka/ingest.py +5 −2
@@ -27,9 +27,12 @@ from .connectors import CONNECTORS
27 27 from .connectors.base import SkipSource
28 28 from .dedup import dedupe
29 29
30 −# ordre d'exécution des connecteurs d'enrichissement (link-in-bio en dernier)
30 +# ordre d'exécution des connecteurs d'enrichissement — link-in-bio vers la
31 +# fin (il consomme les link_in_bio_url des étapes précédentes) ; bio-liens en
32 +# tout dernier (il relit les bios enrichies, sans aucune requête)
31 33 ENRICH_ORDER = ["instagram-profil", "tiktok-profil", "youtube", "twitch",
32 − "link-in-bio"]
34 + "x-profil", "balados-rss", "podcastindex",
35 + "link-in-bio", "bio-liens"]
33 36
34 37
35 38 def _finalize_batch(creators: list) -> tuple[list, int]:
modified creaka/normalize.py +14 −1
@@ -25,7 +25,7 @@ NICHES = {
25 25 PLATFORMS = {
26 26 "instagram", "tiktok", "youtube", "twitch", "kick", "x", "facebook",
27 27 "snapchat", "substack", "patreon", "onlyfans", "mym", "fansly",
28 − "linkedin", "threads", "podcast", "site-web", "autre",
28 + "linkedin", "threads", "spotify", "discord", "podcast", "site-web", "autre",
29 29 }
30 30
31 31 CREATOR_TYPES = {
@@ -61,6 +61,10 @@ _URL_TEMPLATES: dict[str, str | None] = {
61 61 "fansly": "https://fansly.com/{h}",
62 62 "linkedin": "https://www.linkedin.com/in/{h}",
63 63 "threads": "https://www.threads.net/@{h}",
64 + # IDs Spotify et codes d'invitation Discord : sensibles à la casse →
65 + # pas de forme canonique reconstruite, on conserve l'URL source
66 + "spotify": None,
67 + "discord": None,
64 68 "podcast": None,
65 69 "site-web": None,
66 70 "autre": None,
@@ -84,6 +88,13 @@ _URL_PLATFORM_RES: list[tuple[str, re.Pattern]] = [
84 88 ("fansly", re.compile(r"fansly\.com/([\w.\-]+)", re.I)),
85 89 ("linkedin", re.compile(r"linkedin\.com/in/([\w.\-]+)", re.I)),
86 90 ("threads", re.compile(r"threads\.net/@?([\w.\-]+)", re.I)),
91 + ("spotify", re.compile(
92 + r"open\.spotify\.com/(?:intl-[\w\-]+/)?(?:artist|show|user)/([A-Za-z0-9]+)",
93 + re.I)),
94 + ("discord", re.compile(r"discord(?:\.gg|(?:app)?\.com/invite)/([\w\-]+)", re.I)),
95 + # une page Apple Podcasts pointe le MÊME balado que balados-itunes
96 + # (handle = collectionId) → fusion naturelle des comptes podcast
97 + ("podcast", re.compile(r"podcasts\.apple\.com/\S*?/id(\d+)", re.I)),
87 98 ]
88 99
89 100 # chemins qui ne sont PAS des handles (pages génériques des plateformes)
@@ -142,7 +153,9 @@ def normalize_platform(raw: str | None) -> str:
142 153 "substack": "substack", "patreon": "patreon", "onlyfans": "onlyfans",
143 154 "of": "onlyfans", "mym": "mym", "fansly": "fansly",
144 155 "linkedin": "linkedin", "threads": "threads",
156 + "spotify": "spotify", "discord": "discord",
145 157 "podcast": "podcast", "balado": "podcast",
158 + "apple podcasts": "podcast", "apple-podcasts": "podcast",
146 159 "site": "site-web", "site-web": "site-web", "website": "site-web",
147 160 "web": "site-web", "blogue": "site-web", "blog": "site-web",
148 161 }
modified data/sources.json +38 −1
@@ -2,7 +2,7 @@
2 2 "_author": "Simon-Pierre Boucher <contact@spboucher.ai>",
3 3 "_file": "data/sources.json",
4 4 "_desc": "Registre des sources connectées — famille, mode d'accès, cadence (CLAUDE.md §9, §14, §19)",
5 − "updated": "2026-08-17",
5 + "updated": "2026-08-18",
6 6 "sources": [
7 7 {
8 8 "id": "listes-medias",
@@ -93,6 +93,43 @@
93 93 "signal_identite": "link_in_bio (0.95) — le signal le plus fort (§12.1)",
94 94 "cadence": "mensuelle",
95 95 "notes": "une page → TOUS les comptes du créateur ; consomme les link_in_bio_url découvertes par instagram-profil/tiktok-profil"
96 + },
97 + {
98 + "id": "balados-rss",
99 + "famille": "enrichissement",
100 + "palier": 1,
101 + "acces": "requêtes directes (flux RSS auto-déclarés des balados — AUCUNE clé) ; cap 150 flux/passage, re-visite 7 j, timeout court, fetch parallèle poli",
102 + "signal_identite": "cross_link (0.90) pour le lien officiel <link> du flux",
103 + "cadence": "quotidienne (watch) — rotation complète des 433 balados en ~3 jours, puis hebdomadaire",
104 + "notes": "nb d'épisodes réels, date du dernier épisode (détection dormant >12 mois), pochette → avatar, description → bio, catégories iTunes → niches, <link> → compte site-web/plateforme. Substitut sans clé de Podcast Index."
105 + },
106 + {
107 + "id": "podcastindex",
108 + "famille": "enrichissement",
109 + "palier": 2,
110 + "statut": "prêt — clés requises",
111 + "acces": "API Podcast Index (officielle, GRATUITE — inscription requise : https://api.podcastindex.org ; PODCASTINDEX_API_KEY/SECRET dans .env) — sauté proprement sans clés",
112 + "signal_identite": "api_officielle (0.95)",
113 + "cadence": "quotidienne (watch), re-visite 7 j par balado",
114 + "notes": "episodeCount, lastUpdateTime, itunesId, image, catégories des balados par feed_url. En attendant les clés, balados-rss couvre les mêmes champs sans clé."
115 + },
116 + {
117 + "id": "x-profil",
118 + "famille": "enrichissement",
119 + "palier": 3,
120 + "acces": "requêtes directes (service public de syndication des widgets officiels : syndication.twitter.com/srv/timeline-profile — objet user complet dans __NEXT_DATA__ ; repli très limité page x.com) ; cap 150/passage, re-visite 7 j, délai 2 s",
121 + "signal_identite": "aucun nouveau rattachement — métriques du compte déjà rattaché seulement",
122 + "cadence": "quotidienne (watch), rotation hebdomadaire",
123 + "notes": "abonnés + abonnements + badge + avatar X. Ancien widget followbutton MORT (vérifié 2026-08-18 : réponse vide) ; page x.com : mur de connexion après ~15-20 req/IP (constaté 2026-08-18) → repli seulement. Facebook : page publique bloquée sans clé (HTTP 400, vérifié 2026-08-18) et Scrapfly non justifié → aucune voie fiable, on passe."
124 + },
125 + {
126 + "id": "bio-liens",
127 + "famille": "enrichissement",
128 + "palier": 1,
129 + "acces": "AUCUNE requête — liaison croisée à partir des URLs COMPLÈTES déjà stockées dans les bios publiques (jamais de « @handle » textuel ambigu)",
130 + "signal_identite": "cross_link (0.90) — le créateur pointe lui-même vers son autre compte",
131 + "cadence": "quotidienne (watch), en dernier du pipeline",
132 + "notes": "passe conservatrice §12 : patrons sûrs seulement, cap 5 nouveaux comptes par fiche"
96 133 }
97 134 ]
98 135 }
modified frontend/dist/index.html +4 −2
@@ -2,7 +2,7 @@
2 2 Author: Simon-Pierre Boucher <contact@spboucher.ai>
3 3 File: frontend/src/index.template.html
4 4 Desc: Gabarit du frontend Créa-Ka — marqueurs remplacés par
5 − scripts/build_frontend.py : {"_author":"Simon-Pierre Boucher <contact@spboucher.ai>","_file":"frontend/src/icons.json","_desc":"Trac\u00e9s SVG des marques de plateformes (simple-icons v13, CC0) + glyphes maison (linkedin/site-web/autre)","instagram":"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077","tiktok":"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z","youtube":"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z","twitch":"M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z","kick":"M1.333 0h8v5.333H12V2.667h2.667V0h8v8H20v2.667h-2.667v2.666H20V16h2.667v8h-8v-2.667H12v-2.666H9.333V24h-8Z","x":"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z","facebook":"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z","snapchat":"M12.206.793c.99 0 4.347.276 5.93 3.821.529 1.193.403 3.219.299 4.847l-.003.06c-.012.18-.022.345-.03.51.075.045.203.09.401.09.3-.016.659-.12 1.033-.301.165-.088.344-.104.464-.104.182 0 .359.029.509.09.45.149.734.479.734.838.015.449-.39.839-1.213 1.168-.089.029-.209.075-.344.119-.45.135-1.139.36-1.333.81-.09.224-.061.524.12.868l.015.015c.06.136 1.526 3.475 4.791 4.014.255.044.435.27.42.509 0 .075-.015.149-.045.225-.24.569-1.273.988-3.146 1.271-.059.091-.12.375-.164.57-.029.179-.074.36-.134.553-.076.271-.27.405-.555.405h-.03c-.135 0-.313-.031-.538-.074-.36-.075-.765-.135-1.273-.135-.3 0-.599.015-.913.074-.6.104-1.123.464-1.723.884-.853.599-1.826 1.288-3.294 1.288-.06 0-.119-.015-.18-.015h-.149c-1.468 0-2.427-.675-3.279-1.288-.599-.42-1.107-.779-1.707-.884-.314-.045-.629-.074-.928-.074-.54 0-.958.089-1.272.149-.211.043-.391.074-.54.074-.374 0-.523-.224-.583-.42-.061-.192-.09-.389-.135-.567-.046-.181-.105-.494-.166-.57-1.918-.222-2.95-.642-3.189-1.226-.031-.063-.052-.15-.055-.225-.015-.243.165-.465.42-.509 3.264-.54 4.73-3.879 4.791-4.02l.016-.029c.18-.345.224-.645.119-.869-.195-.434-.884-.658-1.332-.809-.121-.029-.24-.074-.346-.119-1.107-.435-1.257-.93-1.197-1.273.09-.479.674-.793 1.168-.793.146 0 .27.029.383.074.42.194.789.3 1.104.3.234 0 .384-.06.465-.105l-.046-.569c-.098-1.626-.225-3.651.307-4.837C7.392 1.077 10.739.807 11.727.807l.419-.015h.06z","substack":"M22.539 8.242H1.46V5.406h21.08v2.836zM1.46 10.812V24L12 18.11 22.54 24V10.812H1.46zM22.54 0H1.46v2.836h21.08V0z","patreon":"M22.957 7.21c-.004-3.064-2.391-5.576-5.191-6.482-3.478-1.125-8.064-.962-11.384.604C2.357 3.231 1.093 7.391 1.046 11.54c-.039 3.411.302 12.396 5.369 12.46 3.765.047 4.326-4.804 6.068-7.141 1.24-1.662 2.836-2.132 4.801-2.618 3.376-.836 5.678-3.501 5.673-7.031Z","onlyfans":"M24 4.003h-4.015c-3.45 0-5.3.197-6.748 1.957a7.996 7.996 0 1 0 2.103 9.211c3.182-.231 5.39-2.134 6.085-5.173 0 0-2.399.585-4.43 0 4.018-.777 6.333-3.037 7.005-5.995zM5.61 11.999A2.391 2.391 0 0 1 9.28 9.97a2.966 2.966 0 0 1 2.998-2.528h.008c-.92 1.778-1.407 3.352-1.998 5.263A2.392 2.392 0 0 1 5.61 12Zm2.386-7.996a7.996 7.996 0 1 0 7.996 7.996 7.996 7.996 0 0 0-7.996-7.996Zm0 10.394A2.399 2.399 0 1 1 10.395 12a2.396 2.396 0 0 1-2.399 2.398Z","threads":"M12.186 24h-.007c-3.581-.024-6.334-1.205-8.184-3.509C2.35 18.44 1.5 15.586 1.472 12.01v-.017c.03-3.579.879-6.43 2.525-8.482C5.845 1.205 8.6.024 12.18 0h.014c2.746.02 5.043.725 6.826 2.098 1.677 1.29 2.858 3.13 3.509 5.467l-2.04.569c-1.104-3.96-3.898-5.984-8.304-6.015-2.91.022-5.11.936-6.54 2.717C4.307 6.504 3.616 8.914 3.589 12c.027 3.086.718 5.496 2.057 7.164 1.43 1.783 3.631 2.698 6.54 2.717 2.623-.02 4.358-.631 5.8-2.045 1.647-1.613 1.618-3.593 1.09-4.798-.31-.71-.873-1.3-1.634-1.75-.192 1.352-.622 2.446-1.284 3.272-.886 1.102-2.14 1.704-3.73 1.79-1.202.065-2.361-.218-3.259-.801-1.063-.689-1.685-1.74-1.752-2.964-.065-1.19.408-2.285 1.33-3.082.88-.76 2.119-1.207 3.583-1.291a13.853 13.853 0 0 1 3.02.142c-.126-.742-.375-1.332-.75-1.757-.513-.586-1.308-.883-2.359-.89h-.029c-.844 0-1.992.232-2.721 1.32L7.734 7.847c.98-1.454 2.568-2.256 4.478-2.256h.044c3.194.02 5.097 1.975 5.287 5.388.108.046.216.094.321.142 1.49.7 2.58 1.761 3.154 3.07.797 1.82.871 4.79-1.548 7.158-1.85 1.81-4.094 2.628-7.277 2.65Zm1.003-11.69c-.242 0-.487.007-.739.021-1.836.103-2.98.946-2.916 2.143.067 1.256 1.452 1.839 2.784 1.767 1.224-.065 2.818-.543 3.086-3.71a10.5 10.5 0 0 0-2.215-.221z","podcast":"M5.34 0A5.328 5.328 0 000 5.34v13.32A5.328 5.328 0 005.34 24h13.32A5.328 5.328 0 0024 18.66V5.34A5.328 5.328 0 0018.66 0zm6.525 2.568c2.336 0 4.448.902 6.056 2.587 1.224 1.272 1.912 2.619 2.264 4.392.12.59.12 2.2.007 2.864a8.506 8.506 0 01-3.24 5.296c-.608.46-2.096 1.261-2.336 1.261-.088 0-.096-.091-.056-.46.072-.592.144-.715.48-.856.536-.224 1.448-.874 2.008-1.435a7.644 7.644 0 002.008-3.536c.208-.824.184-2.656-.048-3.504-.728-2.696-2.928-4.792-5.624-5.352-.784-.16-2.208-.16-3 0-2.728.56-4.984 2.76-5.672 5.528-.184.752-.184 2.584 0 3.336.456 1.832 1.64 3.512 3.192 4.512.304.2.672.408.824.472.336.144.408.264.472.856.04.36.03.464-.056.464-.056 0-.464-.176-.896-.384l-.04-.03c-2.472-1.216-4.056-3.274-4.632-6.012-.144-.706-.168-2.392-.03-3.04.36-1.74 1.048-3.1 2.192-4.304 1.648-1.737 3.768-2.656 6.128-2.656zm.134 2.81c.409.004.803.04 1.106.106 2.784.62 4.76 3.408 4.376 6.174-.152 1.114-.536 2.03-1.216 2.88-.336.43-1.152 1.15-1.296 1.15-.023 0-.048-.272-.048-.603v-.605l.416-.496c1.568-1.878 1.456-4.502-.256-6.224-.664-.67-1.432-1.064-2.424-1.246-.64-.118-.776-.118-1.448-.008-1.02.167-1.81.562-2.512 1.256-1.72 1.704-1.832 4.342-.264 6.222l.413.496v.608c0 .336-.027.608-.06.608-.03 0-.264-.16-.512-.36l-.034-.011c-.832-.664-1.568-1.842-1.872-2.997-.184-.698-.184-2.024.008-2.72.504-1.878 1.888-3.335 3.808-4.019.41-.145 1.133-.22 1.814-.211zm-.13 2.99c.31 0 .62.06.844.178.488.253.888.745 1.04 1.259.464 1.578-1.208 2.96-2.72 2.254h-.015c-.712-.331-1.096-.956-1.104-1.77 0-.733.408-1.371 1.112-1.745.224-.117.534-.176.844-.176zm-.011 4.728c.988-.004 1.706.349 1.97.97.198.464.124 1.932-.218 4.302-.232 1.656-.36 2.074-.68 2.356-.44.39-1.064.498-1.656.288h-.003c-.716-.257-.87-.605-1.164-2.644-.341-2.37-.416-3.838-.218-4.302.262-.616.974-.966 1.97-.97z","linktree":"m13.73635 5.85251 4.00467-4.11665 2.3248 2.3808-4.20064 4.00466h5.9085v3.30473h-5.9365l4.22865 4.10766-2.3248 2.3338L12.0005 12.099l-5.74052 5.76852-2.3248-2.3248 4.22864-4.10766h-5.9375V8.12132h5.9085L3.93417 4.11666l2.3248-2.3808 4.00468 4.11665V0h3.4727zm-3.4727 10.30614h3.4727V24h-3.4727z","linkedin":"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.225 0z","site-web":"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm7.938 9h-3.243a15.6 15.6 0 00-1.4-4.653A8.03 8.03 0 0119.938 9zM12 2.05c.9 1.2 1.9 3.2 2.5 6.95h-5C10.1 5.25 11.1 3.25 12 2.05zM4.062 15A8.06 8.06 0 013.75 12c0-1.05.15-2.05.312-3h3.55A25 25 0 007.5 12c0 1.05.05 2.05.113 3zm.643 2h3.243c.35 1.8.85 3.35 1.4 4.653A8.03 8.03 0 014.705 17zm3.243-10H4.705a8.03 8.03 0 014.643-4.653A15.6 15.6 0 007.948 7zM12 21.95c-.9-1.2-1.9-3.2-2.5-6.95h5c-.6 3.75-1.6 5.75-2.5 6.95zM14.787 13H9.213A23 23 0 019.1 12c0-1.05.037-2.05.113-3h5.574c.076.95.113 1.95.113 3s-.037 2.05-.113 3zm.508 8.653c.55-1.303 1.05-2.853 1.4-4.653h3.243a8.03 8.03 0 01-4.643 4.653zM16.388 15c.062-.95.112-1.95.112-3s-.05-2.05-.112-3h3.55c.162.95.312 1.95.312 3s-.15 2.05-.312 3z","autre":"M10.59 13.41a1 1 0 010-1.41l2.83-2.83a3 3 0 114.24 4.24l-1.41 1.42a1 1 0 11-1.42-1.42l1.42-1.41a1 1 0 10-1.42-1.42L12 13.41a1 1 0 01-1.41 0zm2.82-2.82a1 1 0 010 1.41l-2.82 2.83a3 3 0 11-4.25-4.24l1.42-1.42a1 1 0 111.41 1.42L7.76 12a1 1 0 101.41 1.41L12 10.59a1 1 0 011.41 0z"} (tracés SVG simple-icons, CC0),
5 + scripts/build_frontend.py : {"_author":"Simon-Pierre Boucher <contact@spboucher.ai>","_file":"frontend/src/icons.json","_desc":"Trac\u00e9s SVG des marques de plateformes (simple-icons v13, CC0) + glyphes maison (linkedin/site-web/autre)","instagram":"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077","tiktok":"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z","youtube":"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z","twitch":"M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z","kick":"M1.333 0h8v5.333H12V2.667h2.667V0h8v8H20v2.667h-2.667v2.666H20V16h2.667v8h-8v-2.667H12v-2.666H9.333V24h-8Z","x":"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z","facebook":"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z","snapchat":"M12.206.793c.99 0 4.347.276 5.93 3.821.529 1.193.403 3.219.299 4.847l-.003.06c-.012.18-.022.345-.03.51.075.045.203.09.401.09.3-.016.659-.12 1.033-.301.165-.088.344-.104.464-.104.182 0 .359.029.509.09.45.149.734.479.734.838.015.449-.39.839-1.213 1.168-.089.029-.209.075-.344.119-.45.135-1.139.36-1.333.81-.09.224-.061.524.12.868l.015.015c.06.136 1.526 3.475 4.791 4.014.255.044.435.27.42.509 0 .075-.015.149-.045.225-.24.569-1.273.988-3.146 1.271-.059.091-.12.375-.164.57-.029.179-.074.36-.134.553-.076.271-.27.405-.555.405h-.03c-.135 0-.313-.031-.538-.074-.36-.075-.765-.135-1.273-.135-.3 0-.599.015-.913.074-.6.104-1.123.464-1.723.884-.853.599-1.826 1.288-3.294 1.288-.06 0-.119-.015-.18-.015h-.149c-1.468 0-2.427-.675-3.279-1.288-.599-.42-1.107-.779-1.707-.884-.314-.045-.629-.074-.928-.074-.54 0-.958.089-1.272.149-.211.043-.391.074-.54.074-.374 0-.523-.224-.583-.42-.061-.192-.09-.389-.135-.567-.046-.181-.105-.494-.166-.57-1.918-.222-2.95-.642-3.189-1.226-.031-.063-.052-.15-.055-.225-.015-.243.165-.465.42-.509 3.264-.54 4.73-3.879 4.791-4.02l.016-.029c.18-.345.224-.645.119-.869-.195-.434-.884-.658-1.332-.809-.121-.029-.24-.074-.346-.119-1.107-.435-1.257-.93-1.197-1.273.09-.479.674-.793 1.168-.793.146 0 .27.029.383.074.42.194.789.3 1.104.3.234 0 .384-.06.465-.105l-.046-.569c-.098-1.626-.225-3.651.307-4.837C7.392 1.077 10.739.807 11.727.807l.419-.015h.06z","substack":"M22.539 8.242H1.46V5.406h21.08v2.836zM1.46 10.812V24L12 18.11 22.54 24V10.812H1.46zM22.54 0H1.46v2.836h21.08V0z","patreon":"M22.957 7.21c-.004-3.064-2.391-5.576-5.191-6.482-3.478-1.125-8.064-.962-11.384.604C2.357 3.231 1.093 7.391 1.046 11.54c-.039 3.411.302 12.396 5.369 12.46 3.765.047 4.326-4.804 6.068-7.141 1.24-1.662 2.836-2.132 4.801-2.618 3.376-.836 5.678-3.501 5.673-7.031Z","onlyfans":"M24 4.003h-4.015c-3.45 0-5.3.197-6.748 1.957a7.996 7.996 0 1 0 2.103 9.211c3.182-.231 5.39-2.134 6.085-5.173 0 0-2.399.585-4.43 0 4.018-.777 6.333-3.037 7.005-5.995zM5.61 11.999A2.391 2.391 0 0 1 9.28 9.97a2.966 2.966 0 0 1 2.998-2.528h.008c-.92 1.778-1.407 3.352-1.998 5.263A2.392 2.392 0 0 1 5.61 12Zm2.386-7.996a7.996 7.996 0 1 0 7.996 7.996 7.996 7.996 0 0 0-7.996-7.996Zm0 10.394A2.399 2.399 0 1 1 10.395 12a2.396 2.396 0 0 1-2.399 2.398Z","threads":"M12.186 24h-.007c-3.581-.024-6.334-1.205-8.184-3.509C2.35 18.44 1.5 15.586 1.472 12.01v-.017c.03-3.579.879-6.43 2.525-8.482C5.845 1.205 8.6.024 12.18 0h.014c2.746.02 5.043.725 6.826 2.098 1.677 1.29 2.858 3.13 3.509 5.467l-2.04.569c-1.104-3.96-3.898-5.984-8.304-6.015-2.91.022-5.11.936-6.54 2.717C4.307 6.504 3.616 8.914 3.589 12c.027 3.086.718 5.496 2.057 7.164 1.43 1.783 3.631 2.698 6.54 2.717 2.623-.02 4.358-.631 5.8-2.045 1.647-1.613 1.618-3.593 1.09-4.798-.31-.71-.873-1.3-1.634-1.75-.192 1.352-.622 2.446-1.284 3.272-.886 1.102-2.14 1.704-3.73 1.79-1.202.065-2.361-.218-3.259-.801-1.063-.689-1.685-1.74-1.752-2.964-.065-1.19.408-2.285 1.33-3.082.88-.76 2.119-1.207 3.583-1.291a13.853 13.853 0 0 1 3.02.142c-.126-.742-.375-1.332-.75-1.757-.513-.586-1.308-.883-2.359-.89h-.029c-.844 0-1.992.232-2.721 1.32L7.734 7.847c.98-1.454 2.568-2.256 4.478-2.256h.044c3.194.02 5.097 1.975 5.287 5.388.108.046.216.094.321.142 1.49.7 2.58 1.761 3.154 3.07.797 1.82.871 4.79-1.548 7.158-1.85 1.81-4.094 2.628-7.277 2.65Zm1.003-11.69c-.242 0-.487.007-.739.021-1.836.103-2.98.946-2.916 2.143.067 1.256 1.452 1.839 2.784 1.767 1.224-.065 2.818-.543 3.086-3.71a10.5 10.5 0 0 0-2.215-.221z","podcast":"M5.34 0A5.328 5.328 0 000 5.34v13.32A5.328 5.328 0 005.34 24h13.32A5.328 5.328 0 0024 18.66V5.34A5.328 5.328 0 0018.66 0zm6.525 2.568c2.336 0 4.448.902 6.056 2.587 1.224 1.272 1.912 2.619 2.264 4.392.12.59.12 2.2.007 2.864a8.506 8.506 0 01-3.24 5.296c-.608.46-2.096 1.261-2.336 1.261-.088 0-.096-.091-.056-.46.072-.592.144-.715.48-.856.536-.224 1.448-.874 2.008-1.435a7.644 7.644 0 002.008-3.536c.208-.824.184-2.656-.048-3.504-.728-2.696-2.928-4.792-5.624-5.352-.784-.16-2.208-.16-3 0-2.728.56-4.984 2.76-5.672 5.528-.184.752-.184 2.584 0 3.336.456 1.832 1.64 3.512 3.192 4.512.304.2.672.408.824.472.336.144.408.264.472.856.04.36.03.464-.056.464-.056 0-.464-.176-.896-.384l-.04-.03c-2.472-1.216-4.056-3.274-4.632-6.012-.144-.706-.168-2.392-.03-3.04.36-1.74 1.048-3.1 2.192-4.304 1.648-1.737 3.768-2.656 6.128-2.656zm.134 2.81c.409.004.803.04 1.106.106 2.784.62 4.76 3.408 4.376 6.174-.152 1.114-.536 2.03-1.216 2.88-.336.43-1.152 1.15-1.296 1.15-.023 0-.048-.272-.048-.603v-.605l.416-.496c1.568-1.878 1.456-4.502-.256-6.224-.664-.67-1.432-1.064-2.424-1.246-.64-.118-.776-.118-1.448-.008-1.02.167-1.81.562-2.512 1.256-1.72 1.704-1.832 4.342-.264 6.222l.413.496v.608c0 .336-.027.608-.06.608-.03 0-.264-.16-.512-.36l-.034-.011c-.832-.664-1.568-1.842-1.872-2.997-.184-.698-.184-2.024.008-2.72.504-1.878 1.888-3.335 3.808-4.019.41-.145 1.133-.22 1.814-.211zm-.13 2.99c.31 0 .62.06.844.178.488.253.888.745 1.04 1.259.464 1.578-1.208 2.96-2.72 2.254h-.015c-.712-.331-1.096-.956-1.104-1.77 0-.733.408-1.371 1.112-1.745.224-.117.534-.176.844-.176zm-.011 4.728c.988-.004 1.706.349 1.97.97.198.464.124 1.932-.218 4.302-.232 1.656-.36 2.074-.68 2.356-.44.39-1.064.498-1.656.288h-.003c-.716-.257-.87-.605-1.164-2.644-.341-2.37-.416-3.838-.218-4.302.262-.616.974-.966 1.97-.97z","linktree":"m13.73635 5.85251 4.00467-4.11665 2.3248 2.3808-4.20064 4.00466h5.9085v3.30473h-5.9365l4.22865 4.10766-2.3248 2.3338L12.0005 12.099l-5.74052 5.76852-2.3248-2.3248 4.22864-4.10766h-5.9375V8.12132h5.9085L3.93417 4.11666l2.3248-2.3808 4.00468 4.11665V0h3.4727zm-3.4727 10.30614h3.4727V24h-3.4727z","linkedin":"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.225 0z","site-web":"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm7.938 9h-3.243a15.6 15.6 0 00-1.4-4.653A8.03 8.03 0 0119.938 9zM12 2.05c.9 1.2 1.9 3.2 2.5 6.95h-5C10.1 5.25 11.1 3.25 12 2.05zM4.062 15A8.06 8.06 0 013.75 12c0-1.05.15-2.05.312-3h3.55A25 25 0 007.5 12c0 1.05.05 2.05.113 3zm.643 2h3.243c.35 1.8.85 3.35 1.4 4.653A8.03 8.03 0 014.705 17zm3.243-10H4.705a8.03 8.03 0 014.643-4.653A15.6 15.6 0 007.948 7zM12 21.95c-.9-1.2-1.9-3.2-2.5-6.95h5c-.6 3.75-1.6 5.75-2.5 6.95zM14.787 13H9.213A23 23 0 019.1 12c0-1.05.037-2.05.113-3h5.574c.076.95.113 1.95.113 3s-.037 2.05-.113 3zm.508 8.653c.55-1.303 1.05-2.853 1.4-4.653h3.243a8.03 8.03 0 01-4.643 4.653zM16.388 15c.062-.95.112-1.95.112-3s-.05-2.05-.112-3h3.55c.162.95.312 1.95.312 3s-.15 2.05-.312 3z","autre":"M10.59 13.41a1 1 0 010-1.41l2.83-2.83a3 3 0 114.24 4.24l-1.41 1.42a1 1 0 11-1.42-1.42l1.42-1.41a1 1 0 10-1.42-1.42L12 13.41a1 1 0 01-1.41 0zm2.82-2.82a1 1 0 010 1.41l-2.82 2.83a3 3 0 11-4.25-4.24l1.42-1.42a1 1 0 111.41 1.42L7.76 12a1 1 0 101.41 1.41L12 10.59a1 1 0 011.41 0z","spotify":"M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z","discord":"M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"} (tracés SVG simple-icons, CC0),
6 6 /* -----------------------------------------------------------------------------
7 7 Auteur : Simon-Pierre Boucher — contact@spboucher.ai
8 8 Fichier : ka-ui/tokens.css — SOURCE CANONIQUE (repo ka-ui sur spbgit)
@@ -930,7 +930,7 @@ select.f.active{background-color:var(--accent-soft);color:var(--ink);border-colo
930 930 <script>
931 931 "use strict";
932 932 /* Créa-Ka SPA — routes : / · /createur/{id} · /stats · /retrait · /compte · /contact */
933 −const ICONS={"_author":"Simon-Pierre Boucher <contact@spboucher.ai>","_file":"frontend/src/icons.json","_desc":"Trac\u00e9s SVG des marques de plateformes (simple-icons v13, CC0) + glyphes maison (linkedin/site-web/autre)","instagram":"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077","tiktok":"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z","youtube":"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z","twitch":"M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z","kick":"M1.333 0h8v5.333H12V2.667h2.667V0h8v8H20v2.667h-2.667v2.666H20V16h2.667v8h-8v-2.667H12v-2.666H9.333V24h-8Z","x":"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z","facebook":"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z","snapchat":"M12.206.793c.99 0 4.347.276 5.93 3.821.529 1.193.403 3.219.299 4.847l-.003.06c-.012.18-.022.345-.03.51.075.045.203.09.401.09.3-.016.659-.12 1.033-.301.165-.088.344-.104.464-.104.182 0 .359.029.509.09.45.149.734.479.734.838.015.449-.39.839-1.213 1.168-.089.029-.209.075-.344.119-.45.135-1.139.36-1.333.81-.09.224-.061.524.12.868l.015.015c.06.136 1.526 3.475 4.791 4.014.255.044.435.27.42.509 0 .075-.015.149-.045.225-.24.569-1.273.988-3.146 1.271-.059.091-.12.375-.164.57-.029.179-.074.36-.134.553-.076.271-.27.405-.555.405h-.03c-.135 0-.313-.031-.538-.074-.36-.075-.765-.135-1.273-.135-.3 0-.599.015-.913.074-.6.104-1.123.464-1.723.884-.853.599-1.826 1.288-3.294 1.288-.06 0-.119-.015-.18-.015h-.149c-1.468 0-2.427-.675-3.279-1.288-.599-.42-1.107-.779-1.707-.884-.314-.045-.629-.074-.928-.074-.54 0-.958.089-1.272.149-.211.043-.391.074-.54.074-.374 0-.523-.224-.583-.42-.061-.192-.09-.389-.135-.567-.046-.181-.105-.494-.166-.57-1.918-.222-2.95-.642-3.189-1.226-.031-.063-.052-.15-.055-.225-.015-.243.165-.465.42-.509 3.264-.54 4.73-3.879 4.791-4.02l.016-.029c.18-.345.224-.645.119-.869-.195-.434-.884-.658-1.332-.809-.121-.029-.24-.074-.346-.119-1.107-.435-1.257-.93-1.197-1.273.09-.479.674-.793 1.168-.793.146 0 .27.029.383.074.42.194.789.3 1.104.3.234 0 .384-.06.465-.105l-.046-.569c-.098-1.626-.225-3.651.307-4.837C7.392 1.077 10.739.807 11.727.807l.419-.015h.06z","substack":"M22.539 8.242H1.46V5.406h21.08v2.836zM1.46 10.812V24L12 18.11 22.54 24V10.812H1.46zM22.54 0H1.46v2.836h21.08V0z","patreon":"M22.957 7.21c-.004-3.064-2.391-5.576-5.191-6.482-3.478-1.125-8.064-.962-11.384.604C2.357 3.231 1.093 7.391 1.046 11.54c-.039 3.411.302 12.396 5.369 12.46 3.765.047 4.326-4.804 6.068-7.141 1.24-1.662 2.836-2.132 4.801-2.618 3.376-.836 5.678-3.501 5.673-7.031Z","onlyfans":"M24 4.003h-4.015c-3.45 0-5.3.197-6.748 1.957a7.996 7.996 0 1 0 2.103 9.211c3.182-.231 5.39-2.134 6.085-5.173 0 0-2.399.585-4.43 0 4.018-.777 6.333-3.037 7.005-5.995zM5.61 11.999A2.391 2.391 0 0 1 9.28 9.97a2.966 2.966 0 0 1 2.998-2.528h.008c-.92 1.778-1.407 3.352-1.998 5.263A2.392 2.392 0 0 1 5.61 12Zm2.386-7.996a7.996 7.996 0 1 0 7.996 7.996 7.996 7.996 0 0 0-7.996-7.996Zm0 10.394A2.399 2.399 0 1 1 10.395 12a2.396 2.396 0 0 1-2.399 2.398Z","threads":"M12.186 24h-.007c-3.581-.024-6.334-1.205-8.184-3.509C2.35 18.44 1.5 15.586 1.472 12.01v-.017c.03-3.579.879-6.43 2.525-8.482C5.845 1.205 8.6.024 12.18 0h.014c2.746.02 5.043.725 6.826 2.098 1.677 1.29 2.858 3.13 3.509 5.467l-2.04.569c-1.104-3.96-3.898-5.984-8.304-6.015-2.91.022-5.11.936-6.54 2.717C4.307 6.504 3.616 8.914 3.589 12c.027 3.086.718 5.496 2.057 7.164 1.43 1.783 3.631 2.698 6.54 2.717 2.623-.02 4.358-.631 5.8-2.045 1.647-1.613 1.618-3.593 1.09-4.798-.31-.71-.873-1.3-1.634-1.75-.192 1.352-.622 2.446-1.284 3.272-.886 1.102-2.14 1.704-3.73 1.79-1.202.065-2.361-.218-3.259-.801-1.063-.689-1.685-1.74-1.752-2.964-.065-1.19.408-2.285 1.33-3.082.88-.76 2.119-1.207 3.583-1.291a13.853 13.853 0 0 1 3.02.142c-.126-.742-.375-1.332-.75-1.757-.513-.586-1.308-.883-2.359-.89h-.029c-.844 0-1.992.232-2.721 1.32L7.734 7.847c.98-1.454 2.568-2.256 4.478-2.256h.044c3.194.02 5.097 1.975 5.287 5.388.108.046.216.094.321.142 1.49.7 2.58 1.761 3.154 3.07.797 1.82.871 4.79-1.548 7.158-1.85 1.81-4.094 2.628-7.277 2.65Zm1.003-11.69c-.242 0-.487.007-.739.021-1.836.103-2.98.946-2.916 2.143.067 1.256 1.452 1.839 2.784 1.767 1.224-.065 2.818-.543 3.086-3.71a10.5 10.5 0 0 0-2.215-.221z","podcast":"M5.34 0A5.328 5.328 0 000 5.34v13.32A5.328 5.328 0 005.34 24h13.32A5.328 5.328 0 0024 18.66V5.34A5.328 5.328 0 0018.66 0zm6.525 2.568c2.336 0 4.448.902 6.056 2.587 1.224 1.272 1.912 2.619 2.264 4.392.12.59.12 2.2.007 2.864a8.506 8.506 0 01-3.24 5.296c-.608.46-2.096 1.261-2.336 1.261-.088 0-.096-.091-.056-.46.072-.592.144-.715.48-.856.536-.224 1.448-.874 2.008-1.435a7.644 7.644 0 002.008-3.536c.208-.824.184-2.656-.048-3.504-.728-2.696-2.928-4.792-5.624-5.352-.784-.16-2.208-.16-3 0-2.728.56-4.984 2.76-5.672 5.528-.184.752-.184 2.584 0 3.336.456 1.832 1.64 3.512 3.192 4.512.304.2.672.408.824.472.336.144.408.264.472.856.04.36.03.464-.056.464-.056 0-.464-.176-.896-.384l-.04-.03c-2.472-1.216-4.056-3.274-4.632-6.012-.144-.706-.168-2.392-.03-3.04.36-1.74 1.048-3.1 2.192-4.304 1.648-1.737 3.768-2.656 6.128-2.656zm.134 2.81c.409.004.803.04 1.106.106 2.784.62 4.76 3.408 4.376 6.174-.152 1.114-.536 2.03-1.216 2.88-.336.43-1.152 1.15-1.296 1.15-.023 0-.048-.272-.048-.603v-.605l.416-.496c1.568-1.878 1.456-4.502-.256-6.224-.664-.67-1.432-1.064-2.424-1.246-.64-.118-.776-.118-1.448-.008-1.02.167-1.81.562-2.512 1.256-1.72 1.704-1.832 4.342-.264 6.222l.413.496v.608c0 .336-.027.608-.06.608-.03 0-.264-.16-.512-.36l-.034-.011c-.832-.664-1.568-1.842-1.872-2.997-.184-.698-.184-2.024.008-2.72.504-1.878 1.888-3.335 3.808-4.019.41-.145 1.133-.22 1.814-.211zm-.13 2.99c.31 0 .62.06.844.178.488.253.888.745 1.04 1.259.464 1.578-1.208 2.96-2.72 2.254h-.015c-.712-.331-1.096-.956-1.104-1.77 0-.733.408-1.371 1.112-1.745.224-.117.534-.176.844-.176zm-.011 4.728c.988-.004 1.706.349 1.97.97.198.464.124 1.932-.218 4.302-.232 1.656-.36 2.074-.68 2.356-.44.39-1.064.498-1.656.288h-.003c-.716-.257-.87-.605-1.164-2.644-.341-2.37-.416-3.838-.218-4.302.262-.616.974-.966 1.97-.97z","linktree":"m13.73635 5.85251 4.00467-4.11665 2.3248 2.3808-4.20064 4.00466h5.9085v3.30473h-5.9365l4.22865 4.10766-2.3248 2.3338L12.0005 12.099l-5.74052 5.76852-2.3248-2.3248 4.22864-4.10766h-5.9375V8.12132h5.9085L3.93417 4.11666l2.3248-2.3808 4.00468 4.11665V0h3.4727zm-3.4727 10.30614h3.4727V24h-3.4727z","linkedin":"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.225 0z","site-web":"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm7.938 9h-3.243a15.6 15.6 0 00-1.4-4.653A8.03 8.03 0 0119.938 9zM12 2.05c.9 1.2 1.9 3.2 2.5 6.95h-5C10.1 5.25 11.1 3.25 12 2.05zM4.062 15A8.06 8.06 0 013.75 12c0-1.05.15-2.05.312-3h3.55A25 25 0 007.5 12c0 1.05.05 2.05.113 3zm.643 2h3.243c.35 1.8.85 3.35 1.4 4.653A8.03 8.03 0 014.705 17zm3.243-10H4.705a8.03 8.03 0 014.643-4.653A15.6 15.6 0 007.948 7zM12 21.95c-.9-1.2-1.9-3.2-2.5-6.95h5c-.6 3.75-1.6 5.75-2.5 6.95zM14.787 13H9.213A23 23 0 019.1 12c0-1.05.037-2.05.113-3h5.574c.076.95.113 1.95.113 3s-.037 2.05-.113 3zm.508 8.653c.55-1.303 1.05-2.853 1.4-4.653h3.243a8.03 8.03 0 01-4.643 4.653zM16.388 15c.062-.95.112-1.95.112-3s-.05-2.05-.112-3h3.55c.162.95.312 1.95.312 3s-.15 2.05-.312 3z","autre":"M10.59 13.41a1 1 0 010-1.41l2.83-2.83a3 3 0 114.24 4.24l-1.41 1.42a1 1 0 11-1.42-1.42l1.42-1.41a1 1 0 10-1.42-1.42L12 13.41a1 1 0 01-1.41 0zm2.82-2.82a1 1 0 010 1.41l-2.82 2.83a3 3 0 11-4.25-4.24l1.42-1.42a1 1 0 111.41 1.42L7.76 12a1 1 0 101.41 1.41L12 10.59a1 1 0 011.41 0z"};
933 +const ICONS={"_author":"Simon-Pierre Boucher <contact@spboucher.ai>","_file":"frontend/src/icons.json","_desc":"Trac\u00e9s SVG des marques de plateformes (simple-icons v13, CC0) + glyphes maison (linkedin/site-web/autre)","instagram":"M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077","tiktok":"M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z","youtube":"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z","twitch":"M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714Z","kick":"M1.333 0h8v5.333H12V2.667h2.667V0h8v8H20v2.667h-2.667v2.666H20V16h2.667v8h-8v-2.667H12v-2.666H9.333V24h-8Z","x":"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z","facebook":"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z","snapchat":"M12.206.793c.99 0 4.347.276 5.93 3.821.529 1.193.403 3.219.299 4.847l-.003.06c-.012.18-.022.345-.03.51.075.045.203.09.401.09.3-.016.659-.12 1.033-.301.165-.088.344-.104.464-.104.182 0 .359.029.509.09.45.149.734.479.734.838.015.449-.39.839-1.213 1.168-.089.029-.209.075-.344.119-.45.135-1.139.36-1.333.81-.09.224-.061.524.12.868l.015.015c.06.136 1.526 3.475 4.791 4.014.255.044.435.27.42.509 0 .075-.015.149-.045.225-.24.569-1.273.988-3.146 1.271-.059.091-.12.375-.164.57-.029.179-.074.36-.134.553-.076.271-.27.405-.555.405h-.03c-.135 0-.313-.031-.538-.074-.36-.075-.765-.135-1.273-.135-.3 0-.599.015-.913.074-.6.104-1.123.464-1.723.884-.853.599-1.826 1.288-3.294 1.288-.06 0-.119-.015-.18-.015h-.149c-1.468 0-2.427-.675-3.279-1.288-.599-.42-1.107-.779-1.707-.884-.314-.045-.629-.074-.928-.074-.54 0-.958.089-1.272.149-.211.043-.391.074-.54.074-.374 0-.523-.224-.583-.42-.061-.192-.09-.389-.135-.567-.046-.181-.105-.494-.166-.57-1.918-.222-2.95-.642-3.189-1.226-.031-.063-.052-.15-.055-.225-.015-.243.165-.465.42-.509 3.264-.54 4.73-3.879 4.791-4.02l.016-.029c.18-.345.224-.645.119-.869-.195-.434-.884-.658-1.332-.809-.121-.029-.24-.074-.346-.119-1.107-.435-1.257-.93-1.197-1.273.09-.479.674-.793 1.168-.793.146 0 .27.029.383.074.42.194.789.3 1.104.3.234 0 .384-.06.465-.105l-.046-.569c-.098-1.626-.225-3.651.307-4.837C7.392 1.077 10.739.807 11.727.807l.419-.015h.06z","substack":"M22.539 8.242H1.46V5.406h21.08v2.836zM1.46 10.812V24L12 18.11 22.54 24V10.812H1.46zM22.54 0H1.46v2.836h21.08V0z","patreon":"M22.957 7.21c-.004-3.064-2.391-5.576-5.191-6.482-3.478-1.125-8.064-.962-11.384.604C2.357 3.231 1.093 7.391 1.046 11.54c-.039 3.411.302 12.396 5.369 12.46 3.765.047 4.326-4.804 6.068-7.141 1.24-1.662 2.836-2.132 4.801-2.618 3.376-.836 5.678-3.501 5.673-7.031Z","onlyfans":"M24 4.003h-4.015c-3.45 0-5.3.197-6.748 1.957a7.996 7.996 0 1 0 2.103 9.211c3.182-.231 5.39-2.134 6.085-5.173 0 0-2.399.585-4.43 0 4.018-.777 6.333-3.037 7.005-5.995zM5.61 11.999A2.391 2.391 0 0 1 9.28 9.97a2.966 2.966 0 0 1 2.998-2.528h.008c-.92 1.778-1.407 3.352-1.998 5.263A2.392 2.392 0 0 1 5.61 12Zm2.386-7.996a7.996 7.996 0 1 0 7.996 7.996 7.996 7.996 0 0 0-7.996-7.996Zm0 10.394A2.399 2.399 0 1 1 10.395 12a2.396 2.396 0 0 1-2.399 2.398Z","threads":"M12.186 24h-.007c-3.581-.024-6.334-1.205-8.184-3.509C2.35 18.44 1.5 15.586 1.472 12.01v-.017c.03-3.579.879-6.43 2.525-8.482C5.845 1.205 8.6.024 12.18 0h.014c2.746.02 5.043.725 6.826 2.098 1.677 1.29 2.858 3.13 3.509 5.467l-2.04.569c-1.104-3.96-3.898-5.984-8.304-6.015-2.91.022-5.11.936-6.54 2.717C4.307 6.504 3.616 8.914 3.589 12c.027 3.086.718 5.496 2.057 7.164 1.43 1.783 3.631 2.698 6.54 2.717 2.623-.02 4.358-.631 5.8-2.045 1.647-1.613 1.618-3.593 1.09-4.798-.31-.71-.873-1.3-1.634-1.75-.192 1.352-.622 2.446-1.284 3.272-.886 1.102-2.14 1.704-3.73 1.79-1.202.065-2.361-.218-3.259-.801-1.063-.689-1.685-1.74-1.752-2.964-.065-1.19.408-2.285 1.33-3.082.88-.76 2.119-1.207 3.583-1.291a13.853 13.853 0 0 1 3.02.142c-.126-.742-.375-1.332-.75-1.757-.513-.586-1.308-.883-2.359-.89h-.029c-.844 0-1.992.232-2.721 1.32L7.734 7.847c.98-1.454 2.568-2.256 4.478-2.256h.044c3.194.02 5.097 1.975 5.287 5.388.108.046.216.094.321.142 1.49.7 2.58 1.761 3.154 3.07.797 1.82.871 4.79-1.548 7.158-1.85 1.81-4.094 2.628-7.277 2.65Zm1.003-11.69c-.242 0-.487.007-.739.021-1.836.103-2.98.946-2.916 2.143.067 1.256 1.452 1.839 2.784 1.767 1.224-.065 2.818-.543 3.086-3.71a10.5 10.5 0 0 0-2.215-.221z","podcast":"M5.34 0A5.328 5.328 0 000 5.34v13.32A5.328 5.328 0 005.34 24h13.32A5.328 5.328 0 0024 18.66V5.34A5.328 5.328 0 0018.66 0zm6.525 2.568c2.336 0 4.448.902 6.056 2.587 1.224 1.272 1.912 2.619 2.264 4.392.12.59.12 2.2.007 2.864a8.506 8.506 0 01-3.24 5.296c-.608.46-2.096 1.261-2.336 1.261-.088 0-.096-.091-.056-.46.072-.592.144-.715.48-.856.536-.224 1.448-.874 2.008-1.435a7.644 7.644 0 002.008-3.536c.208-.824.184-2.656-.048-3.504-.728-2.696-2.928-4.792-5.624-5.352-.784-.16-2.208-.16-3 0-2.728.56-4.984 2.76-5.672 5.528-.184.752-.184 2.584 0 3.336.456 1.832 1.64 3.512 3.192 4.512.304.2.672.408.824.472.336.144.408.264.472.856.04.36.03.464-.056.464-.056 0-.464-.176-.896-.384l-.04-.03c-2.472-1.216-4.056-3.274-4.632-6.012-.144-.706-.168-2.392-.03-3.04.36-1.74 1.048-3.1 2.192-4.304 1.648-1.737 3.768-2.656 6.128-2.656zm.134 2.81c.409.004.803.04 1.106.106 2.784.62 4.76 3.408 4.376 6.174-.152 1.114-.536 2.03-1.216 2.88-.336.43-1.152 1.15-1.296 1.15-.023 0-.048-.272-.048-.603v-.605l.416-.496c1.568-1.878 1.456-4.502-.256-6.224-.664-.67-1.432-1.064-2.424-1.246-.64-.118-.776-.118-1.448-.008-1.02.167-1.81.562-2.512 1.256-1.72 1.704-1.832 4.342-.264 6.222l.413.496v.608c0 .336-.027.608-.06.608-.03 0-.264-.16-.512-.36l-.034-.011c-.832-.664-1.568-1.842-1.872-2.997-.184-.698-.184-2.024.008-2.72.504-1.878 1.888-3.335 3.808-4.019.41-.145 1.133-.22 1.814-.211zm-.13 2.99c.31 0 .62.06.844.178.488.253.888.745 1.04 1.259.464 1.578-1.208 2.96-2.72 2.254h-.015c-.712-.331-1.096-.956-1.104-1.77 0-.733.408-1.371 1.112-1.745.224-.117.534-.176.844-.176zm-.011 4.728c.988-.004 1.706.349 1.97.97.198.464.124 1.932-.218 4.302-.232 1.656-.36 2.074-.68 2.356-.44.39-1.064.498-1.656.288h-.003c-.716-.257-.87-.605-1.164-2.644-.341-2.37-.416-3.838-.218-4.302.262-.616.974-.966 1.97-.97z","linktree":"m13.73635 5.85251 4.00467-4.11665 2.3248 2.3808-4.20064 4.00466h5.9085v3.30473h-5.9365l4.22865 4.10766-2.3248 2.3338L12.0005 12.099l-5.74052 5.76852-2.3248-2.3248 4.22864-4.10766h-5.9375V8.12132h5.9085L3.93417 4.11666l2.3248-2.3808 4.00468 4.11665V0h3.4727zm-3.4727 10.30614h3.4727V24h-3.4727z","linkedin":"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.225 0z","site-web":"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm7.938 9h-3.243a15.6 15.6 0 00-1.4-4.653A8.03 8.03 0 0119.938 9zM12 2.05c.9 1.2 1.9 3.2 2.5 6.95h-5C10.1 5.25 11.1 3.25 12 2.05zM4.062 15A8.06 8.06 0 013.75 12c0-1.05.15-2.05.312-3h3.55A25 25 0 007.5 12c0 1.05.05 2.05.113 3zm.643 2h3.243c.35 1.8.85 3.35 1.4 4.653A8.03 8.03 0 014.705 17zm3.243-10H4.705a8.03 8.03 0 014.643-4.653A15.6 15.6 0 007.948 7zM12 21.95c-.9-1.2-1.9-3.2-2.5-6.95h5c-.6 3.75-1.6 5.75-2.5 6.95zM14.787 13H9.213A23 23 0 019.1 12c0-1.05.037-2.05.113-3h5.574c.076.95.113 1.95.113 3s-.037 2.05-.113 3zm.508 8.653c.55-1.303 1.05-2.853 1.4-4.653h3.243a8.03 8.03 0 01-4.643 4.653zM16.388 15c.062-.95.112-1.95.112-3s-.05-2.05-.112-3h3.55c.162.95.312 1.95.312 3s-.15 2.05-.312 3z","autre":"M10.59 13.41a1 1 0 010-1.41l2.83-2.83a3 3 0 114.24 4.24l-1.41 1.42a1 1 0 11-1.42-1.42l1.42-1.41a1 1 0 10-1.42-1.42L12 13.41a1 1 0 01-1.41 0zm2.82-2.82a1 1 0 010 1.41l-2.82 2.83a3 3 0 11-4.25-4.24l1.42-1.42a1 1 0 111.41 1.42L7.76 12a1 1 0 101.41 1.41L12 10.59a1 1 0 011.41 0z","spotify":"M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z","discord":"M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"};
934 934 /* écosystème Groupe KA (ka/ecosystem.json, injecté au build) — footer commun + /contact */
935 935 const KA_ECO={"org":{"name":"Groupe KA","legalName":"Groupe KA — Simon-Pierre Boucher","tagline":"Holding québécois d'agrégateurs de produits et services entièrement automatisés.","disclaimer":"Groupe KA est un agrégateur de contenu : nous ne vendons rien, ne louons rien et ne sommes partie à aucune transaction.","copyrightHolder":"Groupe KA — Simon-Pierre Boucher"},"hub":{"url":"https://www.groupe-ka.com","loginPath":"/connexion","signupNote":"La création de compte KA ID se fait sur le hub groupe-ka.com ; chaque site délègue sa connexion via /api/auth/ka/login."},"contacts":[{"email":"contact@groupe-ka.com","role":"Projets, partenariats & données"},{"email":"info@groupe-ka.com","role":"Médias & questions générales"},{"email":"admin@groupe-ka.com","role":"Légal, vie privée & Loi 25"}],"legal":[{"label":"Conditions d'utilisation","href":"https://www.groupe-ka.com/conditions"},{"label":"Politique de confidentialité","href":"https://www.groupe-ka.com/confidentialite"},{"label":"Protection des renseignements personnels (Loi 25)","href":"https://www.groupe-ka.com/loi-25"},{"label":"Transparence des robots d'indexation","href":"https://www.groupe-ka.com/bots"}],"sites":[{"id":"groupe-ka","wordmark":"Groupe KA","domain":"www.groupe-ka.com","accent":"#d9f26b","accentSoft":"#f0f9d2","accentDeep":"#123f2e","onAccent":"#141814","tagline":"Le portail de l'écosystème ·Ka"},{"id":"trouve-ka","wordmark":"Trouve·Ka","domain":"www.trouve-ka.com","accent":"#1c7ed6","accentSoft":"#e7f2fd","accentDeep":"#14508f","onAccent":"#ffffff","tagline":"Le moteur de recherche du web québécois"},{"id":"lou-ka","wordmark":"Lou·Ka","domain":"www.lou-ka.com","accent":"#ff6a00","accentSoft":"#fff1e6","accentDeep":"#cc5500","onAccent":"#ffffff","tagline":"Tous les logements à louer"},{"id":"immo-ka","wordmark":"Immo·Ka","domain":"www.immo-ka.com","accent":"#e23744","accentSoft":"#fbe0e2","accentDeep":"#a8232e","onAccent":"#ffffff","tagline":"Toutes les propriétés à vendre"},{"id":"vrai-prix","wordmark":"Vrai-Prix","domain":"www.vrai-prix.com","accent":"#ff5148","accentSoft":"#ffe3e0","accentDeep":"#9e2a25","onAccent":"#ffffff","tagline":"La valeur réelle de chaque propriété"},{"id":"auto-ka","wordmark":"Auto·Ka","domain":"www.auto-ka.com","accent":"#ff5a2a","accentSoft":"#ffe8de","accentDeep":"#cc3f16","onAccent":"#ffffff","tagline":"Les voitures usagées du Québec"},{"id":"fabri-ka","wordmark":"Fabri·Ka","domain":"www.fabri-ka.com","accent":"#c4532e","accentSoft":"#f7e3da","accentDeep":"#a94525","onAccent":"#ffffff","tagline":"Les produits fabriqués au Québec"},{"id":"food-ka","wordmark":"Food·Ka","domain":"www.food-ka.com","accent":"#1f9d55","accentSoft":"#e2f5ea","accentDeep":"#157a40","onAccent":"#ffffff","tagline":"Les prix d'épicerie, suivis à la source"},{"id":"resto-ka","wordmark":"Resto·Ka","domain":"www.resto-ka.com","accent":"#f08c00","accentSoft":"#fdeed7","accentDeep":"#b96a00","onAccent":"#141814","tagline":"Chaque resto, chaque plat, chaque prix"},{"id":"sorti-ka","wordmark":"Sorti·Ka","domain":"www.sorti-ka.com","accent":"#d6336c","accentSoft":"#fbe0eb","accentDeep":"#a12551","onAccent":"#ffffff","tagline":"Toutes les sorties, dans les 17 régions"},{"id":"crea-ka","wordmark":"Créa·Ka","domain":"www.crea-ka.com","accent":"#7048e8","accentSoft":"#ece5fc","accentDeep":"#5433b8","onAccent":"#ffffff","tagline":"Les créateurs d'ici, tous leurs liens"},{"id":"api-ka","wordmark":"API·Ka","domain":"www.api-ka.com","accent":"#3b5bdb","accentSoft":"#e4eafb","accentDeep":"#2b44a8","onAccent":"#ffffff","tagline":"La donnée de l'écosystème, par API"},{"id":"job-ka","wordmark":"Job·Ka","domain":"www.job-ka.com","accent":"#0c8599","accentSoft":"#def0f4","accentDeep":"#095c6b","onAccent":"#ffffff","tagline":"Tous les emplois des employeurs québécois"}],"extraFooterLinks":[{"label":"ValoPlex","href":"https://www.valoplex.com"},{"label":"Ka2","href":"https://www.ka2.bot"},{"label":"Ka4","href":"https://www.ka4.bot"},{"label":"Ka6","href":"https://www.ka6.bot"}]};
936 936 const KA_SITE=KA_ECO.sites.find(s=>s.id==="crea-ka");
@@ -954,6 +954,8 @@ const PLAT={
954 954 fansly:{label:"Fansly",color:"#2699f7"},
955 955 linkedin:{label:"LinkedIn",color:"#0a66c2"},
956 956 threads:{label:"Threads",color:"#141814"},
957 + spotify:{label:"Spotify",color:"#1db954"},
958 + discord:{label:"Discord",color:"#5865f2"},
957 959 podcast:{label:"Balado",color:"#8940fa"},
958 960 "site-web":{label:"Site web",color:"#7048e8"},
959 961 autre:{label:"Autre",color:"#8b928c"}};
modified frontend/src/icons.json +3 −1
@@ -18,5 +18,7 @@
18 18 "linktree": "m13.73635 5.85251 4.00467-4.11665 2.3248 2.3808-4.20064 4.00466h5.9085v3.30473h-5.9365l4.22865 4.10766-2.3248 2.3338L12.0005 12.099l-5.74052 5.76852-2.3248-2.3248 4.22864-4.10766h-5.9375V8.12132h5.9085L3.93417 4.11666l2.3248-2.3808 4.00468 4.11665V0h3.4727zm-3.4727 10.30614h3.4727V24h-3.4727z",
19 19 "linkedin": "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.225 0z",
20 20 "site-web": "M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm7.938 9h-3.243a15.6 15.6 0 00-1.4-4.653A8.03 8.03 0 0119.938 9zM12 2.05c.9 1.2 1.9 3.2 2.5 6.95h-5C10.1 5.25 11.1 3.25 12 2.05zM4.062 15A8.06 8.06 0 013.75 12c0-1.05.15-2.05.312-3h3.55A25 25 0 007.5 12c0 1.05.05 2.05.113 3zm.643 2h3.243c.35 1.8.85 3.35 1.4 4.653A8.03 8.03 0 014.705 17zm3.243-10H4.705a8.03 8.03 0 014.643-4.653A15.6 15.6 0 007.948 7zM12 21.95c-.9-1.2-1.9-3.2-2.5-6.95h5c-.6 3.75-1.6 5.75-2.5 6.95zM14.787 13H9.213A23 23 0 019.1 12c0-1.05.037-2.05.113-3h5.574c.076.95.113 1.95.113 3s-.037 2.05-.113 3zm.508 8.653c.55-1.303 1.05-2.853 1.4-4.653h3.243a8.03 8.03 0 01-4.643 4.653zM16.388 15c.062-.95.112-1.95.112-3s-.05-2.05-.112-3h3.55c.162.95.312 1.95.312 3s-.15 2.05-.312 3z",
21 −"autre": "M10.59 13.41a1 1 0 010-1.41l2.83-2.83a3 3 0 114.24 4.24l-1.41 1.42a1 1 0 11-1.42-1.42l1.42-1.41a1 1 0 10-1.42-1.42L12 13.41a1 1 0 01-1.41 0zm2.82-2.82a1 1 0 010 1.41l-2.82 2.83a3 3 0 11-4.25-4.24l1.42-1.42a1 1 0 111.41 1.42L7.76 12a1 1 0 101.41 1.41L12 10.59a1 1 0 011.41 0z"
21 +"autre": "M10.59 13.41a1 1 0 010-1.41l2.83-2.83a3 3 0 114.24 4.24l-1.41 1.42a1 1 0 11-1.42-1.42l1.42-1.41a1 1 0 10-1.42-1.42L12 13.41a1 1 0 01-1.41 0zm2.82-2.82a1 1 0 010 1.41l-2.82 2.83a3 3 0 11-4.25-4.24l1.42-1.42a1 1 0 111.41 1.42L7.76 12a1 1 0 101.41 1.41L12 10.59a1 1 0 011.41 0z",
22 +"spotify": "M12 0C5.4 0 0 5.4 0 12s5.4 12 12 12 12-5.4 12-12S18.66 0 12 0zm5.521 17.34c-.24.359-.66.48-1.021.24-2.82-1.74-6.36-2.101-10.561-1.141-.418.122-.779-.179-.899-.539-.12-.421.18-.78.54-.9 4.56-1.021 8.52-.6 11.64 1.32.42.18.479.659.301 1.02zm1.44-3.3c-.301.42-.841.6-1.262.3-3.239-1.98-8.159-2.58-11.939-1.38-.479.12-1.02-.12-1.14-.6-.12-.48.12-1.021.6-1.141C9.6 9.9 15 10.561 18.72 12.84c.361.181.54.78.241 1.2zm.12-3.36C15.24 8.4 8.82 8.16 5.16 9.301c-.6.179-1.2-.181-1.38-.721-.18-.601.18-1.2.72-1.381 4.26-1.26 11.28-1.02 15.721 1.621.539.3.719 1.02.419 1.56-.299.421-1.02.599-1.559.3z",
23 +"discord": "M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"
22 24 }
\ No newline at end of file
modified frontend/src/index.template.html +2 −0
@@ -496,6 +496,8 @@ const PLAT={
496 496 fansly:{label:"Fansly",color:"#2699f7"},
497 497 linkedin:{label:"LinkedIn",color:"#0a66c2"},
498 498 threads:{label:"Threads",color:"#141814"},
499 + spotify:{label:"Spotify",color:"#1db954"},
500 + discord:{label:"Discord",color:"#5865f2"},
499 501 podcast:{label:"Balado",color:"#8940fa"},
500 502 "site-web":{label:"Site web",color:"#7048e8"},
501 503 autre:{label:"Autre",color:"#8b928c"}};
added tests/fixtures/balado_sample.xml +27 −0
@@ -0,0 +1,27 @@
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
3 + <channel>
4 + <title>Balado Exemple</title>
5 + <link>https://www.balado-exemple.ca</link>
6 + <description><![CDATA[Le balado d'exemple des <b>tests</b> Créa-Ka.]]></description>
7 + <itunes:image href="https://exemple.qc.ca/pochette.jpg"/>
8 + <itunes:category text="Comedy"/>
9 + <itunes:category text="Society &amp; Culture">
10 + <itunes:category text="Personal Journals"/>
11 + </itunes:category>
12 + <image><url>https://exemple.qc.ca/pochette-rss.jpg</url></image>
13 + <item>
14 + <title>Épisode 3</title>
15 + <pubDate>Sat, 01 Aug 2026 10:00:00 -0400</pubDate>
16 + <description>Le plus récent.</description>
17 + </item>
18 + <item>
19 + <title>Épisode 2</title>
20 + <pubDate>Wed, 01 Jul 2026 10:00:00 -0400</pubDate>
21 + </item>
22 + <item>
23 + <title>Épisode 1</title>
24 + <pubDate>Mon, 01 Jun 2026 10:00:00 -0400</pubDate>
25 + </item>
26 + </channel>
27 +</rss>
added tests/test_vague2.py +109 −0
@@ -0,0 +1,109 @@
1 +# ==============================================================================
2 +# Author: Simon-Pierre Boucher <contact@spboucher.ai>
3 +# File: tests/test_vague2.py
4 +# Desc: Tests vague 2 — flux RSS des balados, nouvelles plateformes
5 +# (spotify/discord/apple-podcasts), liaison bio-liens, compteurs X
6 +# ==============================================================================
7 +from pathlib import Path
8 +
9 +from creaka.connectors.balados_rss import parse_feed, _parse_feed_regex
10 +from creaka.connectors.bio_liens import extract_bio_accounts
11 +from creaka.connectors.x_profil import parse_counts, parse_syndication
12 +from creaka.normalize import canonical_url, normalize_platform, platform_from_url
13 +
14 +FIXTURE = (Path(__file__).parent / "fixtures" / "balado_sample.xml").read_bytes()
15 +
16 +
17 +# --- balados-rss ----------------------------------------------------------------
18 +
19 +def test_parse_feed_champs():
20 + feed = parse_feed(FIXTURE)
21 + assert feed["episodes"] == 3
22 + assert feed["last_episode"].strftime("%Y-%m-%d") == "2026-08-01"
23 + assert feed["image"] == "https://exemple.qc.ca/pochette.jpg"
24 + assert feed["link"] == "https://www.balado-exemple.ca"
25 + assert "balado d'exemple" in feed["description"].lower()
26 + assert "Comedy" in feed["categories"]
27 +
28 +
29 +def test_parse_feed_repli_regex_flux_tronque():
30 + # flux coupé au milieu d'un item : le repli regex garde l'en-tête du canal
31 + trunc = FIXTURE.split(b"<item>")[0] + b"<item><title>coup"
32 + feed = _parse_feed_regex(trunc)
33 + assert feed is not None
34 + assert feed["image"] == "https://exemple.qc.ca/pochette.jpg"
35 + assert feed["link"] == "https://www.balado-exemple.ca"
36 + assert feed["episodes"] == 1
37 +
38 +
39 +def test_parse_feed_illisible():
40 + assert parse_feed(b"pas du xml") is None
41 +
42 +
43 +# --- nouvelles plateformes (normalize) --------------------------------------------
44 +
45 +def test_platform_from_url_spotify_discord_apple():
46 + assert platform_from_url(
47 + "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk") == \
48 + ("spotify", "4rooj6egrf8k2irywzwomk")
49 + assert platform_from_url(
50 + "https://open.spotify.com/intl-fr/artist/06HL4z0CvFAxyc27GXpf02") is not None
51 + assert platform_from_url("https://discord.gg/AbCd123") == ("discord", "abcd123")
52 + assert platform_from_url("https://discord.com/invite/AbCd123") == \
53 + ("discord", "abcd123")
54 + assert platform_from_url(
55 + "https://podcasts.apple.com/ca/podcast/mon-balado/id1502950331") == \
56 + ("podcast", "1502950331")
57 +
58 +
59 +def test_canonical_url_conserve_url_source():
60 + # IDs Spotify et invitations Discord : sensibles à la casse → on garde l'URL
61 + src = "https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk"
62 + assert canonical_url("spotify", "4roo", fallback=src) == src
63 + assert normalize_platform("spotify") == "spotify"
64 + assert normalize_platform("discord") == "discord"
65 + assert normalize_platform("apple podcasts") == "podcast"
66 +
67 +
68 +# --- bio-liens --------------------------------------------------------------------
69 +
70 +def test_extract_bio_accounts_urls_completes_seulement():
71 + bio = ("Humoriste. Balado : https://open.spotify.com/show/4rOoJ6Egrf8K2Iryw "
72 + "· YouTube www.youtube.com/@moncompte · suivez @autretiktok !")
73 + accounts = extract_bio_accounts(bio, existing_keys=set())
74 + keys = {a.key for a in accounts}
75 + assert "youtube:moncompte" in keys
76 + assert any(k.startswith("spotify:") for k in keys)
77 + # « @autretiktok » textuel = ambigu → JAMAIS rattaché
78 + assert not any("autretiktok" in k for k in keys)
79 + assert all(a.signal == "cross_link" for a in accounts)
80 +
81 +
82 +def test_extract_bio_accounts_ignore_comptes_connus():
83 + bio = "Mon YouTube : https://youtube.com/@moncompte"
84 + assert extract_bio_accounts(bio, existing_keys={"youtube:moncompte"}) == []
85 +
86 +
87 +# --- x-profil ---------------------------------------------------------------------
88 +
89 +def test_parse_syndication_next_data():
90 + html = ('<html><script id="__NEXT_DATA__" type="application/json">'
91 + '{"props":{"pageProps":{"timeline":{"entries":[{"content":{"tweet":'
92 + '{"user":{"screen_name":"MonCompte","followers_count":4321,'
93 + '"friends_count":99,"verified":true,'
94 + '"profile_image_url_https":"https://pbs.twimg.com/x_normal.jpg"'
95 + '}}}}]}}}}</script></html>')
96 + info = parse_syndication(html, "moncompte")
97 + assert info["followers"] == 4321
98 + assert info["following"] == 99
99 + assert info["verified"] is True
100 + assert info["avatar"].endswith("x_400x400.jpg")
101 + # autre handle dans la timeline (retweet) : JAMAIS pris pour le profil
102 + assert parse_syndication(html, "autrecompte") is None
103 +
104 +
105 +def test_parse_counts_etat_integre():
106 + html = ('...t:VXNlcjo=:relationship_counts",__typename:'
107 + '"UserRelationshipCounts",followers:12068,following:847,...')
108 + assert parse_counts(html) == (12068, 847)
109 + assert parse_counts("<html>Se connecter</html>") is None
110