TikTok 发布/喜欢/合辑/直播/视频/图集/音乐;抖音发布/喜欢/收藏/收藏夹/视频/图集/实况/直播/音乐/合集/评论/账号/搜索/热榜数据采集工具/下载工具
This report presents the forensic synthetic code analysis of JoeanAmier/TikTokDownloader, a Python project with 15,131 GitHub stars. SynthScan v2.0 examined 22,212 lines of code across 139 source files, recording 429 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 18.5 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 429 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/tui_edition/__init__.py | 1 | CODE | |
| LOW | src/interface/info_tiktok.py | 7 | CODE | |
| LOW | src/interface/user.py | 8 | CODE | |
| LOW | src/interface/comment.py | 8 | CODE | |
| LOW | src/interface/detail_tiktok.py | 7 | CODE | |
| LOW | src/interface/__init__.py | 1 | CODE | |
| LOW | src/interface/__init__.py | 2 | CODE | |
| LOW | src/interface/__init__.py | 3 | CODE | |
| LOW | src/interface/__init__.py | 4 | CODE | |
| LOW | src/interface/__init__.py | 4 | CODE | |
| LOW | src/interface/__init__.py | 4 | CODE | |
| LOW | src/interface/__init__.py | 4 | CODE | |
| LOW | src/interface/__init__.py | 4 | CODE | |
| LOW | src/interface/__init__.py | 11 | CODE | |
| LOW | src/interface/__init__.py | 11 | CODE | |
| LOW | src/interface/__init__.py | 12 | CODE | |
| LOW | src/interface/__init__.py | 12 | CODE | |
| LOW | src/interface/__init__.py | 13 | CODE | |
| LOW | src/interface/__init__.py | 14 | CODE | |
| LOW | src/interface/__init__.py | 15 | CODE | |
| LOW | src/interface/__init__.py | 16 | CODE | |
| LOW | src/interface/__init__.py | 17 | CODE | |
| LOW | src/interface/__init__.py | 18 | CODE | |
| LOW | src/interface/__init__.py | 19 | CODE | |
| LOW | src/interface/__init__.py | 20 | CODE | |
| LOW | src/interface/__init__.py | 21 | CODE | |
| LOW | src/interface/__init__.py | 22 | CODE | |
| LOW | src/interface/__init__.py | 23 | CODE | |
| LOW | src/interface/__init__.py | 24 | CODE | |
| LOW | src/interface/__init__.py | 25 | CODE | |
| LOW | src/interface/__init__.py | 26 | CODE | |
| LOW | src/interface/__init__.py | 27 | CODE | |
| LOW | src/interface/collects.py | 8 | CODE | |
| LOW | src/interface/hashtag.py | 9 | CODE | |
| LOW | src/interface/live_tiktok.py | 8 | CODE | |
| LOW | src/interface/comment_tiktok.py | 8 | CODE | |
| LOW | src/interface/detail.py | 9 | CODE | |
| LOW | src/interface/collection.py | 7 | CODE | |
| LOW | src/interface/live.py | 7 | CODE | |
| LOW | src/interface/template.py | 18 | CODE | |
| LOW | src/interface/template.py | 19 | CODE | |
| LOW | src/interface/search.py | 11 | CODE | |
| LOW | src/interface/slides.py | 9 | CODE | |
| LOW | src/interface/mix_tiktok.py | 7 | CODE | |
| LOW | src/interface/hot.py | 11 | CODE | |
| LOW | src/interface/info.py | 8 | CODE | |
| LOW | src/interface/mix.py | 11 | CODE | |
| LOW | src/interface/account.py | 8 | CODE | |
| LOW | src/interface/account_tiktok.py | 7 | CODE | |
| LOW | src/tools/choose.py | 4 | CODE | |
| LOW | src/tools/choose.py | 6 | CODE | |
| LOW | src/tools/session.py | 11 | CODE | |
| LOW | src/tools/session.py | 11 | CODE | |
| LOW | src/tools/session.py | 12 | CODE | |
| LOW | src/tools/__init__.py | 2 | CODE | |
| LOW | src/tools/__init__.py | 2 | CODE | |
| LOW | src/tools/__init__.py | 3 | CODE | |
| LOW | src/tools/__init__.py | 4 | CODE | |
| LOW | src/tools/__init__.py | 5 | CODE | |
| LOW | src/tools/__init__.py | 6 | CODE | |
| 188 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | encipher_example.py | 4 | __all__ = [ | CODE |
| LOW | src/tui_edition/__init__.py | 3 | __all__ = ["App"] | CODE |
| LOW | src/tui_edition/setting.py | 1 | __all__ = ["Setting"] | CODE |
| LOW | src/tui_edition/app.py | 1 | __all__ = ["App"] | CODE |
| LOW | src/interface/template.py | 21 | __all__ = [ | CODE |
| LOW | src/interface/template.py | 245 | def set_referer(self, url: str = None) -> None: | CODE |
| LOW | src/interface/slides.py | 12 | __all__ = ["Slides"] | CODE |
| LOW | src/tools/console.py | 13 | __all__ = ["ColorfulConsole"] | CODE |
| LOW | src/tools/choose.py | 8 | __all__ = ["choose"] | CODE |
| LOW | src/tools/timer.py | 3 | __all__ = ["run_time"] | CODE |
| LOW | src/tools/session.py | 14 | __all__ = ["request_params", "create_client"] | CODE |
| LOW | src/tools/__init__.py | 28 | __all__ = [ | CODE |
| LOW | src/tools/retry.py | 4 | __all__ = ["Retry"] | CODE |
| LOW | src/tools/browser.py | 25 | __all__ = ["Browser"] | CODE |
| LOW | src/tools/cleaner.py | 12 | __all__ = ["Cleaner"] | CODE |
| LOW | src/tools/capture.py | 12 | __all__ = [ | CODE |
| LOW | src/tools/list_pop.py | 1 | __all__ = ["safe_pop"] | CODE |
| LOW | src/record/__init__.py | 4 | __all__ = ["LoggerManager", "BaseLogger"] | CODE |
| LOW | src/config/__init__.py | 4 | __all__ = ["Parameter", "Settings"] | CODE |
| LOW | src/config/settings.py | 16 | __all__ = ["Settings"] | CODE |
| LOW | src/config/parameter.py | 51 | __all__ = ["Parameter"] | CODE |
| LOW | src/config/parameter.py | 565 | async def update_params(self) -> None: | CODE |
| LOW | src/config/parameter.py | 633 | async def update_params_offline(self) -> None: | CODE |
| LOW⚡ | src/config/parameter.py | 718 | def set_download_headers(self) -> None: | CODE |
| LOW | src/config/parameter.py | 965 | def set_general_params(self, data: dict[str, Any]) -> None: | CODE |
| LOW | src/module/register.py | 26 | __all__ = ["__Register"] | CODE |
| LOW | src/module/ffmpeg.py | 7 | __all__ = ["FFMPEG"] | CODE |
| LOW | src/module/__init__.py | 8 | __all__ = [ | CODE |
| LOW | src/module/cookie.py | 13 | __all__ = ["Cookie"] | CODE |
| LOW | src/module/tiktok_account_index.py | 8 | __all__ = [] | CODE |
| LOW | src/downloader/download.py | 41 | __all__ = ["Downloader"] | CODE |
| LOW | src/downloader/__init__.py | 3 | __all__ = ["Downloader"] | CODE |
| LOW | src/storage/__init__.py | 3 | __all__ = ["RecordManager"] | CODE |
| LOW | src/storage/sqlite.py | 14 | __all__ = ["SQLLogger"] | CODE |
| LOW | src/storage/csv.py | 12 | __all__ = ["CSVLogger"] | CODE |
| LOW | src/storage/xlsx.py | 13 | __all__ = ["XLSXLogger"] | CODE |
| LOW | src/storage/sql.py | 6 | __all__ = ["BaseSQLLogger"] | CODE |
| LOW | src/storage/manager.py | 14 | __all__ = ["RecordManager"] | CODE |
| LOW | src/storage/mysql.py | 3 | __all__ = ["MySQLLogger"] | CODE |
| LOW | src/manager/database.py | 9 | __all__ = ["Database"] | CODE |
| LOW | src/manager/recorder.py | 16 | __all__ = [ | CODE |
| LOW | src/manager/cache.py | 11 | __all__ = ["Cache"] | CODE |
| LOW | src/manager/__init__.py | 5 | __all__ = [ | CODE |
| LOW | src/link/__init__.py | 3 | __all__ = [ | CODE |
| LOW | src/link/requester.py | 12 | __all__ = ["Requester"] | CODE |
| LOW | src/link/extractor.py | 10 | __all__ = ["Extractor", "ExtractorTikTok"] | CODE |
| LOW | src/extract/__init__.py | 3 | __all__ = ["Extractor"] | CODE |
| LOW | src/extract/extractor.py | 40 | __all__ = ["Extractor"] | CODE |
| LOW | src/application/main_server.py | 43 | __all__ = ["APIServer"] | CODE |
| LOW | src/application/main_terminal.py | 60 | __all__ = [ | CODE |
| LOW | src/application/__init__.py | 3 | __all__ = ["TikTokDownloader"] | CODE |
| LOW | src/application/TikTokDownloader.py | 46 | __all__ = ["TikTokDownloader"] | CODE |
| LOW | src/application/TikTokDownloader.py | 92 | def set_language(language: str) -> None: | CODE |
| LOW | src/application/TikTokDownloader.py | 182 | async def _update_language(self, language: str) -> None: | CODE |
| LOW | src/application/main_monitor.py | 12 | __all__ = ["ClipboardMonitor", "PostMonitor"] | CODE |
| LOW | src/cli_edition/__init__.py | 3 | __all__ = ["cli"] | CODE |
| LOW | src/cli_edition/main_cli.py | 1 | __all__ = ["cli"] | CODE |
| LOW | src/encrypt/xBogus.py | 8 | __all__ = ["XBogus", "XBogusTikTok"] | CODE |
| LOW | src/encrypt/ttWid.py | 14 | __all__ = ["TtWid", "TtWidTikTok"] | CODE |
| LOW | src/encrypt/webID.py | 12 | __all__ = ["WebId"] | CODE |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/interface/template.py | 410 | def __record_request_messages( | CODE |
| LOW | src/interface/template.py | 466 | def __general_progress_object(self): | CODE |
| LOW | src/interface/search.py | 232 | def generate_search_filter_value( | CODE |
| LOW | src/tools/cleaner.py | 97 | def remove_control_characters( | CODE |
| LOW | src/tools/dynamic_import.py | 22 | def load_objects_from_external_py( | CODE |
| LOW | src/config/settings.py | 207 | def __compatible_with_old_settings( | CODE |
| LOW | src/config/parameter.py | 307 | def __get_cookie_tiktok_cache( | CODE |
| LOW | src/config/parameter.py | 348 | async def __get_tt_wid_params_tiktok(self) -> dict: | CODE |
| LOW⚡ | src/config/parameter.py | 722 | def __update_download_headers(self) -> None: | CODE |
| LOW⚡ | src/config/parameter.py | 725 | def __update_download_headers_tiktok(self) -> None: | CODE |
| LOW | src/config/parameter.py | 774 | async def __get_token_params_tiktok(self) -> dict: | CODE |
| LOW | src/config/parameter.py | 1060 | def __set_browser_info_tiktok( | CODE |
| LOW | src/config/parameter.py | 1196 | def check_objects_from_external_py(console: "ColorfulConsole"): | CODE |
| LOW | src/module/tiktok_unofficial.py | 140 | def extract_statistics_tiktok( | CODE |
| LOW | src/downloader/download.py | 111 | def __general_progress_object(self): | CODE |
| LOW | src/downloader/download.py | 727 | def __record_request_messages( | CODE |
| LOW | src/downloader/download.py | 935 | def __get_resume_byte_position(file: Path) -> int: | CODE |
| LOW | src/extract/extractor.py | 262 | def __extract_extra_info_tiktok( | CODE |
| LOW | src/extract/extractor.py | 322 | def __extract_detail_info_tiktok( | CODE |
| LOW | src/extract/extractor.py | 354 | def __classifying_detail_tiktok( | CODE |
| LOW | src/extract/extractor.py | 368 | def __extract_additional_info( | CODE |
| LOW | src/extract/extractor.py | 444 | def __extract_image_info_tiktok( | CODE |
| LOW | src/extract/extractor.py | 566 | def __extract_video_info_tiktok( | CODE |
| LOW | src/extract/extractor.py | 595 | def __extract_video_download_tiktok( | CODE |
| LOW | src/extract/extractor.py | 678 | def __extract_text_extra_tiktok( | CODE |
| LOW | src/extract/extractor.py | 756 | def __extract_statistics_tiktok( | CODE |
| LOW | src/extract/extractor.py | 807 | def __extract_account_info_tiktok( | CODE |
| LOW | src/extract/extractor.py | 946 | def __extract_pretreatment_data( | CODE |
| LOW | src/extract/extractor.py | 969 | def __platform_classify_detail( | CODE |
| LOW | src/extract/extractor.py | 1156 | def __extract_live_data_tiktok( | CODE |
| LOW | src/extract/extractor.py | 1540 | def __extract_collection_music( | CODE |
| LOW | src/application/main_terminal.py | 291 | async def account_acquisition_interactive_tiktok( | CODE |
| LOW | src/application/main_terminal.py | 317 | async def account_acquisition_interactive( | CODE |
| LOW | src/application/main_terminal.py | 364 | async def account_detail_batch_tiktok( | CODE |
| LOW | src/application/main_terminal.py | 447 | async def account_detail_inquire_tiktok( | CODE |
| LOW | src/application/main_terminal.py | 502 | async def account_detail_txt_tiktok( | CODE |
| LOW | src/application/main_terminal.py | 839 | def __display_extracted_information( | CODE |
| LOW | src/application/main_terminal.py | 892 | async def detail_interactive_tiktok( | CODE |
| LOW | src/application/main_terminal.py | 902 | async def detail_interactive_tiktok_unofficial( | CODE |
| LOW | src/application/main_terminal.py | 962 | async def __detail_inquire_tiktok_unofficial( | CODE |
| LOW | src/application/main_terminal.py | 999 | async def __detail_txt_tiktok_unofficial( | CODE |
| LOW | src/application/main_terminal.py | 1243 | def show_live_stream_url_tiktok(self, item: dict, tasks: list): | CODE |
| LOW | src/application/main_terminal.py | 1264 | async def comment_interactive_tiktok(self, select="", *args, **kwargs): | CODE |
| LOW | src/application/main_terminal.py | 1336 | async def comment_handle_single_tiktok( | CODE |
| LOW | src/application/main_terminal.py | 1914 | async def _search_interactive_general( | CODE |
| LOW | src/application/main_terminal.py | 1938 | async def _search_interactive_video(self): | CODE |
| LOW | src/application/main_terminal.py | 2151 | async def collection_music_interactive( | CODE |
| LOW | src/application/main_terminal.py | 2182 | async def __handle_collection_music( | CODE |
| LOW | src/application/TikTokDownloader.py | 331 | async def write_cookie_paste_tiktok(self): | CODE |
| LOW | src/application/TikTokDownloader.py | 337 | async def write_cookie_input_tiktok(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/interface/user.py | 33 | CODE | |
| LOW | src/interface/comment.py | 13 | CODE | |
| LOW | src/interface/comment.py | 57 | CODE | |
| LOW | src/interface/comment.py | 89 | CODE | |
| LOW | src/interface/comment.py | 122 | CODE | |
| LOW | src/interface/comment.py | 206 | CODE | |
| LOW | src/interface/comment.py | 250 | CODE | |
| LOW | src/interface/comment.py | 281 | CODE | |
| LOW | src/interface/detail_tiktok.py | 31 | CODE | |
| LOW | src/interface/collects.py | 39 | CODE | |
| LOW | src/interface/collects.py | 102 | CODE | |
| LOW | src/interface/collects.py | 162 | CODE | |
| LOW | src/interface/collects.py | 218 | CODE | |
| LOW | src/interface/collects.py | 272 | CODE | |
| LOW | src/interface/comment_tiktok.py | 45 | CODE | |
| LOW | src/interface/detail.py | 35 | CODE | |
| LOW | src/interface/collection.py | 32 | CODE | |
| LOW | src/interface/template.py | 110 | CODE | |
| LOW | src/interface/template.py | 184 | CODE | |
| LOW | src/interface/search.py | 134 | CODE | |
| LOW | src/interface/mix_tiktok.py | 44 | CODE | |
| LOW | src/interface/mix_tiktok.py | 103 | CODE | |
| LOW | src/interface/hot.py | 68 | CODE | |
| LOW | src/interface/mix.py | 54 | CODE | |
| LOW | src/interface/account.py | 16 | CODE | |
| LOW | src/interface/account.py | 43 | CODE | |
| LOW | src/interface/account.py | 99 | CODE | |
| LOW | src/interface/account.py | 125 | CODE | |
| LOW | src/interface/account_tiktok.py | 18 | CODE | |
| LOW | src/interface/account_tiktok.py | 48 | CODE | |
| LOW | src/interface/account_tiktok.py | 95 | CODE | |
| LOW | src/tools/session.py | 42 | CODE | |
| LOW | src/module/tiktok_unofficial.py | 45 | CODE | |
| LOW | src/downloader/download.py | 172 | CODE | |
| LOW | src/downloader/download.py | 757 | CODE | |
| LOW | src/extract/extractor.py | 837 | CODE | |
| LOW | src/application/main_terminal.py | 538 | CODE | |
| LOW | src/application/main_terminal.py | 716 | CODE | |
| LOW | src/application/main_terminal.py | 853 | CODE | |
| LOW | src/application/main_terminal.py | 1655 | CODE | |
| LOW | src/application/main_terminal.py | 1864 | CODE | |
| LOW | src/encrypt/aBogus.py | 585 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/encrypt/xGnarly.py | 142 | # ── BIT HELPERS ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/encrypt/xGnarly.py | 151 | # ── CHACHA CORE ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/encrypt/xGnarly.py | 187 | # ── JS-faithful PRNG (rand) ──────────────────────────── | COMMENT |
| MEDIUM | src/encrypt/xGnarly.py | 199 | # ── UTILITIES ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/encrypt/xGnarly.py | 214 | # ── MESSAGE ENCRYPTION ────────────────────────────── | COMMENT |
| MEDIUM | src/encrypt/xGnarly.py | 267 | # ── MAIN API ─────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/interface/search.py | 357 | CODE | |
| LOW | src/config/parameter.py | 313 | CODE | |
| LOW | src/module/register.py | 153 | CODE | |
| LOW | src/downloader/download.py | 291 | CODE | |
| LOW | src/extract/extractor.py | 1289 | CODE | |
| LOW | src/application/main_terminal.py | 1508 | CODE | |
| LOW | src/application/main_terminal.py | 1755 | CODE | |
| LOW | src/application/TikTokDownloader.py | 238 | CODE | |
| LOW | src/cli_edition/write.py | 39 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | requirements.txt | 1 | # This file was autogenerated by uv via the following command: | COMMENT |
| LOW | src/config/parameter.py | 741 | # self.cookie_str, | COMMENT |
| LOW | src/config/parameter.py | 781 | ) | COMMENT |
| LOW | src/application/main_server.py | 301 | ) | COMMENT |
| LOW | src/application/TikTokDownloader.py | 361 | ) | COMMENT |
| LOW | src/application/TikTokDownloader.py | 461 | COMMENT | |
| LOW | src/application/TikTokDownloader.py | 481 | # True, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/downloader/download.py | 676 | except Exception as e: | CODE |
| LOW | src/storage/xlsx.py | 67 | except Exception as e: | CODE |
| MEDIUM | src/storage/xlsx.py | 47 | def __aexit__(self, exc_type, exc_val, exc_tb): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/encrypt/verifyFp.py | 17 | return Pi.get(Si) || (null === localStorage || void 0 === localStorage ? void 0 : localStorage.getItem(Si)) || f | STRING |