From ad471a53702284bf50cfaa2cb5f8a9b2408b1f4d Mon Sep 17 00:00:00 2001 From: dale-wahl <32108944+dale-wahl@users.noreply.github.com> Date: Thu, 7 May 2026 15:01:01 +0000 Subject: [PATCH] chore: sync map_item for tiktok from 4CAT e80c18d82518c7c213e8fe057a5336d0c6c03820 --- modules/tiktok.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/modules/tiktok.js b/modules/tiktok.js index 55e6fbf..3292bd0 100644 --- a/modules/tiktok.js +++ b/modules/tiktok.js @@ -103,4 +103,15 @@ export function capture(response, source_platform_url, source_url) { } else { return []; } -} \ No newline at end of file +} + +// === auto-generated by 4cat map_item sync — BLOCK REPLACED AUTOMATICALLY === +// (regenerated from datasources/tiktok/search_tiktok.py) +function normalize_url_encoding(url) { + +return url.replace(/%([0-9A-F]{2})/g, (match, p1) => String.fromCharCode('0x' + p1)); + +} + +export function map_item(post) { +// === end auto-generated ===