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 ===