Repository Analysis

JoeanAmier/TikTokDownloader

TikTok 发布/喜欢/合辑/直播/视频/图集/音乐;抖音发布/喜欢/收藏/收藏夹/视频/图集/实况/直播/音乐/合集/评论/账号/搜索/热榜数据采集工具/下载工具

18.5 Moderate AI signal View on GitHub

Analysis Overview

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).

18.5
Adjusted Score
18.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
15.1K
Stars
Python
Language
22.2K
Lines of Code
139
Files
429
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 1MEDIUM 7LOW 421

Directory Score Breakdown

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.

Pattern Findings

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.

Unused Imports248 hits · 217 pts
SeverityFileLineSnippetContext
LOWsrc/tui_edition/__init__.py1CODE
LOWsrc/interface/info_tiktok.py7CODE
LOWsrc/interface/user.py8CODE
LOWsrc/interface/comment.py8CODE
LOWsrc/interface/detail_tiktok.py7CODE
LOWsrc/interface/__init__.py1CODE
LOWsrc/interface/__init__.py2CODE
LOWsrc/interface/__init__.py3CODE
LOWsrc/interface/__init__.py4CODE
LOWsrc/interface/__init__.py4CODE
LOWsrc/interface/__init__.py4CODE
LOWsrc/interface/__init__.py4CODE
LOWsrc/interface/__init__.py4CODE
LOWsrc/interface/__init__.py11CODE
LOWsrc/interface/__init__.py11CODE
LOWsrc/interface/__init__.py12CODE
LOWsrc/interface/__init__.py12CODE
LOWsrc/interface/__init__.py13CODE
LOWsrc/interface/__init__.py14CODE
LOWsrc/interface/__init__.py15CODE
LOWsrc/interface/__init__.py16CODE
LOWsrc/interface/__init__.py17CODE
LOWsrc/interface/__init__.py18CODE
LOWsrc/interface/__init__.py19CODE
LOWsrc/interface/__init__.py20CODE
LOWsrc/interface/__init__.py21CODE
LOWsrc/interface/__init__.py22CODE
LOWsrc/interface/__init__.py23CODE
LOWsrc/interface/__init__.py24CODE
LOWsrc/interface/__init__.py25CODE
LOWsrc/interface/__init__.py26CODE
LOWsrc/interface/__init__.py27CODE
LOWsrc/interface/collects.py8CODE
LOWsrc/interface/hashtag.py9CODE
LOWsrc/interface/live_tiktok.py8CODE
LOWsrc/interface/comment_tiktok.py8CODE
LOWsrc/interface/detail.py9CODE
LOWsrc/interface/collection.py7CODE
LOWsrc/interface/live.py7CODE
LOWsrc/interface/template.py18CODE
LOWsrc/interface/template.py19CODE
LOWsrc/interface/search.py11CODE
LOWsrc/interface/slides.py9CODE
LOWsrc/interface/mix_tiktok.py7CODE
LOWsrc/interface/hot.py11CODE
LOWsrc/interface/info.py8CODE
LOWsrc/interface/mix.py11CODE
LOWsrc/interface/account.py8CODE
LOWsrc/interface/account_tiktok.py7CODE
LOWsrc/tools/choose.py4CODE
LOWsrc/tools/choose.py6CODE
LOWsrc/tools/session.py11CODE
LOWsrc/tools/session.py11CODE
LOWsrc/tools/session.py12CODE
LOWsrc/tools/__init__.py2CODE
LOWsrc/tools/__init__.py2CODE
LOWsrc/tools/__init__.py3CODE
LOWsrc/tools/__init__.py4CODE
LOWsrc/tools/__init__.py5CODE
LOWsrc/tools/__init__.py6CODE
188 more matches not shown…
Modern Structural Boilerplate63 hits · 64 pts
SeverityFileLineSnippetContext
LOWencipher_example.py4__all__ = [CODE
LOWsrc/tui_edition/__init__.py3__all__ = ["App"]CODE
LOWsrc/tui_edition/setting.py1__all__ = ["Setting"]CODE
LOWsrc/tui_edition/app.py1__all__ = ["App"]CODE
LOWsrc/interface/template.py21__all__ = [CODE
LOWsrc/interface/template.py245 def set_referer(self, url: str = None) -> None:CODE
LOWsrc/interface/slides.py12__all__ = ["Slides"]CODE
LOWsrc/tools/console.py13__all__ = ["ColorfulConsole"]CODE
LOWsrc/tools/choose.py8__all__ = ["choose"]CODE
LOWsrc/tools/timer.py3__all__ = ["run_time"]CODE
LOWsrc/tools/session.py14__all__ = ["request_params", "create_client"]CODE
LOWsrc/tools/__init__.py28__all__ = [CODE
LOWsrc/tools/retry.py4__all__ = ["Retry"]CODE
LOWsrc/tools/browser.py25__all__ = ["Browser"]CODE
LOWsrc/tools/cleaner.py12__all__ = ["Cleaner"]CODE
LOWsrc/tools/capture.py12__all__ = [CODE
LOWsrc/tools/list_pop.py1__all__ = ["safe_pop"]CODE
LOWsrc/record/__init__.py4__all__ = ["LoggerManager", "BaseLogger"]CODE
LOWsrc/config/__init__.py4__all__ = ["Parameter", "Settings"]CODE
LOWsrc/config/settings.py16__all__ = ["Settings"]CODE
LOWsrc/config/parameter.py51__all__ = ["Parameter"]CODE
LOWsrc/config/parameter.py565 async def update_params(self) -> None:CODE
LOWsrc/config/parameter.py633 async def update_params_offline(self) -> None:CODE
LOWsrc/config/parameter.py718 def set_download_headers(self) -> None:CODE
LOWsrc/config/parameter.py965 def set_general_params(self, data: dict[str, Any]) -> None:CODE
LOWsrc/module/register.py26__all__ = ["__Register"]CODE
LOWsrc/module/ffmpeg.py7__all__ = ["FFMPEG"]CODE
LOWsrc/module/__init__.py8__all__ = [CODE
LOWsrc/module/cookie.py13__all__ = ["Cookie"]CODE
LOWsrc/module/tiktok_account_index.py8__all__ = []CODE
LOWsrc/downloader/download.py41__all__ = ["Downloader"]CODE
LOWsrc/downloader/__init__.py3__all__ = ["Downloader"]CODE
LOWsrc/storage/__init__.py3__all__ = ["RecordManager"]CODE
LOWsrc/storage/sqlite.py14__all__ = ["SQLLogger"]CODE
LOWsrc/storage/csv.py12__all__ = ["CSVLogger"]CODE
LOWsrc/storage/xlsx.py13__all__ = ["XLSXLogger"]CODE
LOWsrc/storage/sql.py6__all__ = ["BaseSQLLogger"]CODE
LOWsrc/storage/manager.py14__all__ = ["RecordManager"]CODE
LOWsrc/storage/mysql.py3__all__ = ["MySQLLogger"]CODE
LOWsrc/manager/database.py9__all__ = ["Database"]CODE
LOWsrc/manager/recorder.py16__all__ = [CODE
LOWsrc/manager/cache.py11__all__ = ["Cache"]CODE
LOWsrc/manager/__init__.py5__all__ = [CODE
LOWsrc/link/__init__.py3__all__ = [CODE
LOWsrc/link/requester.py12__all__ = ["Requester"]CODE
LOWsrc/link/extractor.py10__all__ = ["Extractor", "ExtractorTikTok"]CODE
LOWsrc/extract/__init__.py3__all__ = ["Extractor"]CODE
LOWsrc/extract/extractor.py40__all__ = ["Extractor"]CODE
LOWsrc/application/main_server.py43__all__ = ["APIServer"]CODE
LOWsrc/application/main_terminal.py60__all__ = [CODE
LOWsrc/application/__init__.py3__all__ = ["TikTokDownloader"]CODE
LOWsrc/application/TikTokDownloader.py46__all__ = ["TikTokDownloader"]CODE
LOWsrc/application/TikTokDownloader.py92 def set_language(language: str) -> None:CODE
LOWsrc/application/TikTokDownloader.py182 async def _update_language(self, language: str) -> None:CODE
LOWsrc/application/main_monitor.py12__all__ = ["ClipboardMonitor", "PostMonitor"]CODE
LOWsrc/cli_edition/__init__.py3__all__ = ["cli"]CODE
LOWsrc/cli_edition/main_cli.py1__all__ = ["cli"]CODE
LOWsrc/encrypt/xBogus.py8__all__ = ["XBogus", "XBogusTikTok"]CODE
LOWsrc/encrypt/ttWid.py14__all__ = ["TtWid", "TtWidTikTok"]CODE
LOWsrc/encrypt/webID.py12__all__ = ["WebId"]CODE
3 more matches not shown…
Hyper-Verbose Identifiers50 hits · 51 pts
SeverityFileLineSnippetContext
LOWsrc/interface/template.py410 def __record_request_messages(CODE
LOWsrc/interface/template.py466 def __general_progress_object(self):CODE
LOWsrc/interface/search.py232 def generate_search_filter_value(CODE
LOWsrc/tools/cleaner.py97 def remove_control_characters(CODE
LOWsrc/tools/dynamic_import.py22def load_objects_from_external_py(CODE
LOWsrc/config/settings.py207 def __compatible_with_old_settings(CODE
LOWsrc/config/parameter.py307 def __get_cookie_tiktok_cache(CODE
LOWsrc/config/parameter.py348 async def __get_tt_wid_params_tiktok(self) -> dict:CODE
LOWsrc/config/parameter.py722 def __update_download_headers(self) -> None:CODE
LOWsrc/config/parameter.py725 def __update_download_headers_tiktok(self) -> None:CODE
LOWsrc/config/parameter.py774 async def __get_token_params_tiktok(self) -> dict:CODE
LOWsrc/config/parameter.py1060 def __set_browser_info_tiktok(CODE
LOWsrc/config/parameter.py1196 def check_objects_from_external_py(console: "ColorfulConsole"):CODE
LOWsrc/module/tiktok_unofficial.py140 def extract_statistics_tiktok(CODE
LOWsrc/downloader/download.py111 def __general_progress_object(self):CODE
LOWsrc/downloader/download.py727 def __record_request_messages(CODE
LOWsrc/downloader/download.py935 def __get_resume_byte_position(file: Path) -> int:CODE
LOWsrc/extract/extractor.py262 def __extract_extra_info_tiktok(CODE
LOWsrc/extract/extractor.py322 def __extract_detail_info_tiktok(CODE
LOWsrc/extract/extractor.py354 def __classifying_detail_tiktok(CODE
LOWsrc/extract/extractor.py368 def __extract_additional_info(CODE
LOWsrc/extract/extractor.py444 def __extract_image_info_tiktok(CODE
LOWsrc/extract/extractor.py566 def __extract_video_info_tiktok(CODE
LOWsrc/extract/extractor.py595 def __extract_video_download_tiktok(CODE
LOWsrc/extract/extractor.py678 def __extract_text_extra_tiktok(CODE
LOWsrc/extract/extractor.py756 def __extract_statistics_tiktok(CODE
LOWsrc/extract/extractor.py807 def __extract_account_info_tiktok(CODE
LOWsrc/extract/extractor.py946 def __extract_pretreatment_data(CODE
LOWsrc/extract/extractor.py969 def __platform_classify_detail(CODE
LOWsrc/extract/extractor.py1156 def __extract_live_data_tiktok(CODE
LOWsrc/extract/extractor.py1540 def __extract_collection_music(CODE
LOWsrc/application/main_terminal.py291 async def account_acquisition_interactive_tiktok(CODE
LOWsrc/application/main_terminal.py317 async def account_acquisition_interactive(CODE
LOWsrc/application/main_terminal.py364 async def account_detail_batch_tiktok(CODE
LOWsrc/application/main_terminal.py447 async def account_detail_inquire_tiktok(CODE
LOWsrc/application/main_terminal.py502 async def account_detail_txt_tiktok(CODE
LOWsrc/application/main_terminal.py839 def __display_extracted_information(CODE
LOWsrc/application/main_terminal.py892 async def detail_interactive_tiktok(CODE
LOWsrc/application/main_terminal.py902 async def detail_interactive_tiktok_unofficial(CODE
LOWsrc/application/main_terminal.py962 async def __detail_inquire_tiktok_unofficial(CODE
LOWsrc/application/main_terminal.py999 async def __detail_txt_tiktok_unofficial(CODE
LOWsrc/application/main_terminal.py1243 def show_live_stream_url_tiktok(self, item: dict, tasks: list):CODE
LOWsrc/application/main_terminal.py1264 async def comment_interactive_tiktok(self, select="", *args, **kwargs):CODE
LOWsrc/application/main_terminal.py1336 async def comment_handle_single_tiktok(CODE
LOWsrc/application/main_terminal.py1914 async def _search_interactive_general(CODE
LOWsrc/application/main_terminal.py1938 async def _search_interactive_video(self):CODE
LOWsrc/application/main_terminal.py2151 async def collection_music_interactive(CODE
LOWsrc/application/main_terminal.py2182 async def __handle_collection_music(CODE
LOWsrc/application/TikTokDownloader.py331 async def write_cookie_paste_tiktok(self):CODE
LOWsrc/application/TikTokDownloader.py337 async def write_cookie_input_tiktok(self):CODE
AI Structural Patterns42 hits · 40 pts
SeverityFileLineSnippetContext
LOWsrc/interface/user.py33CODE
LOWsrc/interface/comment.py13CODE
LOWsrc/interface/comment.py57CODE
LOWsrc/interface/comment.py89CODE
LOWsrc/interface/comment.py122CODE
LOWsrc/interface/comment.py206CODE
LOWsrc/interface/comment.py250CODE
LOWsrc/interface/comment.py281CODE
LOWsrc/interface/detail_tiktok.py31CODE
LOWsrc/interface/collects.py39CODE
LOWsrc/interface/collects.py102CODE
LOWsrc/interface/collects.py162CODE
LOWsrc/interface/collects.py218CODE
LOWsrc/interface/collects.py272CODE
LOWsrc/interface/comment_tiktok.py45CODE
LOWsrc/interface/detail.py35CODE
LOWsrc/interface/collection.py32CODE
LOWsrc/interface/template.py110CODE
LOWsrc/interface/template.py184CODE
LOWsrc/interface/search.py134CODE
LOWsrc/interface/mix_tiktok.py44CODE
LOWsrc/interface/mix_tiktok.py103CODE
LOWsrc/interface/hot.py68CODE
LOWsrc/interface/mix.py54CODE
LOWsrc/interface/account.py16CODE
LOWsrc/interface/account.py43CODE
LOWsrc/interface/account.py99CODE
LOWsrc/interface/account.py125CODE
LOWsrc/interface/account_tiktok.py18CODE
LOWsrc/interface/account_tiktok.py48CODE
LOWsrc/interface/account_tiktok.py95CODE
LOWsrc/tools/session.py42CODE
LOWsrc/module/tiktok_unofficial.py45CODE
LOWsrc/downloader/download.py172CODE
LOWsrc/downloader/download.py757CODE
LOWsrc/extract/extractor.py837CODE
LOWsrc/application/main_terminal.py538CODE
LOWsrc/application/main_terminal.py716CODE
LOWsrc/application/main_terminal.py853CODE
LOWsrc/application/main_terminal.py1655CODE
LOWsrc/application/main_terminal.py1864CODE
LOWsrc/encrypt/aBogus.py585CODE
Decorative Section Separators6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMsrc/encrypt/xGnarly.py142 # ── BIT HELPERS ────────────────────────────────────────COMMENT
MEDIUMsrc/encrypt/xGnarly.py151 # ── CHACHA CORE ────────────────────────────────────────COMMENT
MEDIUMsrc/encrypt/xGnarly.py187 # ── JS-faithful PRNG (rand) ────────────────────────────COMMENT
MEDIUMsrc/encrypt/xGnarly.py199 # ── UTILITIES ──────────────────────────────────────────COMMENT
MEDIUMsrc/encrypt/xGnarly.py214 # ── MESSAGE ENCRYPTION ──────────────────────────────COMMENT
MEDIUMsrc/encrypt/xGnarly.py267 # ── MAIN API ───────────────────────────────────────────COMMENT
Deep Nesting9 hits · 8 pts
SeverityFileLineSnippetContext
LOWsrc/interface/search.py357CODE
LOWsrc/config/parameter.py313CODE
LOWsrc/module/register.py153CODE
LOWsrc/downloader/download.py291CODE
LOWsrc/extract/extractor.py1289CODE
LOWsrc/application/main_terminal.py1508CODE
LOWsrc/application/main_terminal.py1755CODE
LOWsrc/application/TikTokDownloader.py238CODE
LOWsrc/cli_edition/write.py39CODE
Over-Commented Block7 hits · 7 pts
SeverityFileLineSnippetContext
LOWrequirements.txt1# This file was autogenerated by uv via the following command:COMMENT
LOWsrc/config/parameter.py741 # self.cookie_str,COMMENT
LOWsrc/config/parameter.py781 )COMMENT
LOWsrc/application/main_server.py301 )COMMENT
LOWsrc/application/TikTokDownloader.py361 )COMMENT
LOWsrc/application/TikTokDownloader.py461COMMENT
LOWsrc/application/TikTokDownloader.py481 # True,COMMENT
Excessive Try-Catch Wrapping3 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/downloader/download.py676 except Exception as e:CODE
LOWsrc/storage/xlsx.py67 except Exception as e:CODE
MEDIUMsrc/storage/xlsx.py47def __aexit__(self, exc_type, exc_val, exc_tb):CODE
Cross-Language Confusion1 hit · 2 pts
SeverityFileLineSnippetContext
HIGHsrc/encrypt/verifyFp.py17 return Pi.get(Si) || (null === localStorage || void 0 === localStorage ? void 0 : localStorage.getItem(Si)) || fSTRING