Repository Analysis

jiji262/douyin-downloader

A practical Douyin downloader for both single-item and profile batch downloads, with progress display, retries, SQLite deduplication, and browser fallback support. 抖音批量下载工具,去水印,支持视频、图集、合集、音乐(原声)。免费!免费!免费!

42.5 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of jiji262/douyin-downloader, a Python project with 8,828 GitHub stars. SynthScan v2.0 examined 27,015 lines of code across 135 source files, recording 774 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 42.5 places this repository in the Strong 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).

42.5
Adjusted Score
42.5
Raw Score
100%
Time Factor
2026-07-13
Last Push
8.8K
Stars
Python
Language
27.0K
Lines of Code
135
Files
774
Pattern Hits
2026-07-14
Scan Date
0.04
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 5MEDIUM 115LOW 654

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 774 distinct pattern matches across 13 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.

Hyper-Verbose Identifiers436 hits · 456 pts
SeverityFileLineSnippetContext
LOWtools/cookie_fetcher.py229async def wait_for_login_confirmation(page: Any, url: str, input_func: Any = input) -> None:CODE
LOWtools/cookie_fetcher.py335def extract_ms_token_from_text(text: str) -> Optional[str]:STRING
LOWcore/user_downloader.py288 async def _recover_user_post_with_browser(CODE
LOWcore/mix_downloader.py12def derive_mix_collection_dir(mix_detail: Optional[Dict[str, Any]], mix_id: Any) -> str:CODE
LOWcore/transcript_manager.py50def resolve_api_key_with_source(CODE
LOWcore/transcript_manager.py323 async def _call_openai_transcription(CODE
LOWcore/transcript_manager.py385 def _guess_video_content_type(video_path: Path) -> str:CODE
LOWcore/retry_executor.py72def _derive_url_type_for_factory(url_type: Optional[str]) -> str:CODE
LOWcore/api_client.py1162 async def _extract_aweme_ids_from_page(self, page) -> List[str]:CODE
LOWcore/api_client.py288 def _normalize_paged_response(CODE
LOWcore/api_client.py489 async def _build_collect_page_params(self, max_cursor: int, count: int) -> Dict[str, Any]:CODE
LOWcore/api_client.py877 async def get_aweme_comment_replies(CODE
LOWcore/api_client.py936 async def collect_user_post_ids_via_browser(CODE
LOWcore/api_client.py1136 def pop_browser_post_aweme_items(self) -> Dict[str, Dict[str, Any]]:CODE
LOWcore/api_client.py1203 async def _wait_for_manual_verification(self, page, *, wait_timeout_seconds: int) -> None:STRING
LOWcore/video_downloader.py59 async def _collect_comments_for_existing_video(self, aweme_data: Dict[str, Any]) -> bool:CODE
LOWcore/downloader_base.py211 def _mark_local_aweme_downloaded(self, aweme_id: str):CODE
LOWcore/downloader_base.py311 def _build_aweme_file_context(CODE
LOWcore/downloader_base.py365 async def _collect_comments_for_existing_aweme(CODE
LOWcore/downloader_base.py665 async def _download_first_available(CODE
LOWcore/downloader_base.py851 def _pick_highest_quality_play_addr(video: Dict[str, Any]) -> Optional[Dict[str, Any]]:CODE
LOWcore/downloader_base.py860 def _pick_play_addr_by_quality(CODE
LOWcore/downloader_base.py911 def _pick_preferred_play_addr(CODE
LOWcore/downloader_base.py948 def _collect_image_url_candidates(self, aweme_data: Dict[str, Any]) -> List[List[str]]:CODE
LOWcore/downloader_base.py1030 def _collect_ranked_media_urls(*sources: Tuple[Any, Any, int]) -> List[str]:CODE
LOWcore/downloader_base.py1087 def _is_watermarked_media_url(url: str) -> bool:CODE
LOWcore/user_modes/base_strategy.py72 def _media_type_filter_enabled(self) -> bool:CODE
LOWconfig/config_loader.py134 def _is_key_explicit_in_sources(sources: List[Dict[str, Any]], section: str, key: str) -> bool:CODE
LOWconfig/config_loader.py286 def _candidate_auto_cookie_paths(self) -> List[Path]:CODE
LOWauth/ms_token_manager.py136 def _extract_ms_token_from_headers(headers: Any) -> Optional[str]:CODE
LOWtests/test_live_replay_remux.py90async def test_remux_falls_back_to_path_ffmpeg(monkeypatch, tmp_path: Path):CODE
LOWtests/test_live_replay_remux.py115async def test_remux_timeout_kills_reaps_and_removes_partial_output(monkeypatch, tmp_path: Path):CODE
LOWtests/test_live_replay_remux.py142async def test_remux_subprocess_error_kills_reaps_and_removes_partial_output(CODE
LOWtests/test_live_replay_remux.py167async def test_remux_cancellation_kills_reaps_and_removes_partial_output(CODE
LOWtests/test_api_client.py10def test_default_query_uses_existing_ms_token():CODE
LOWtests/test_api_client.py16def test_build_signed_path_fallbacks_to_xbogus_when_abogus_disabled():CODE
LOWtests/test_api_client.py23def test_build_signed_path_prefers_abogus(monkeypatch):CODE
LOWtests/test_api_client.py49def test_browser_fallback_caps_warmup_wait(monkeypatch):CODE
LOWtests/test_api_client.py164async def test_get_user_post_returns_normalized_dto(monkeypatch):CODE
LOWtests/test_api_client.py194async def test_live_replay_endpoints_use_episode_paths(monkeypatch):CODE
LOWtests/test_api_client.py235async def test_live_replay_info_accepts_response_variants(monkeypatch):CODE
LOWtests/test_api_client.py255async def test_live_replay_info_uses_strict_replay_id_match(monkeypatch):CODE
LOWtests/test_api_client.py278async def test_live_replay_info_rejects_single_candidate_with_wrong_replay_id(monkeypatch):CODE
LOWtests/test_api_client.py295async def test_user_mode_endpoints_use_shared_paged_normalization(monkeypatch):CODE
LOWtests/test_api_client.py329async def test_collect_endpoints_use_expected_paths_and_normalization(monkeypatch):CODE
LOWtests/test_api_client.py382async def test_mix_and_music_endpoints_are_normalized(monkeypatch):CODE
LOWtests/test_api_client.py463async def test_get_video_detail_retries_with_different_aid_on_filter():CODE
LOWtests/test_api_client.py504async def test_get_video_detail_returns_on_first_success():CODE
LOWtests/test_comments_collector.py25async def test_collector_paginates_until_no_more(tmp_path):CODE
LOWtests/test_comments_collector.py52async def test_collector_respects_max_comments(tmp_path):CODE
LOWtests/test_comments_collector.py75async def test_collector_deduplicates_by_cid(tmp_path):CODE
LOWtests/test_comments_collector.py94async def test_collector_stops_when_cursor_stuck(tmp_path):CODE
LOWtests/test_comments_collector.py111async def test_collector_returns_none_on_api_error(tmp_path):CODE
LOWtests/test_notifier_redactor_property.py87def test_mask_credential_never_leaks_middle(value: str) -> None:CODE
LOWtests/test_notifier_redactor_property.py122def test_mask_credential_short_inputs_collapse_to_stars(value: str) -> None:CODE
LOWtests/test_notifier_redactor_property.py138def test_masked_config_bark_device_key_never_leaks(device_key: str) -> None:CODE
LOWtests/test_notifier_redactor_property.py187def test_masked_config_telegram_bot_token_never_leaks(bot_token: str) -> None:CODE
LOWtests/test_notifier_redactor_property.py228def test_masked_config_webhook_url_query_never_leaks(CODE
LOWtests/test_notifier_redactor_property.py273def test_masked_config_unknown_type_returns_deep_copy(secret: str) -> None:CODE
LOWtests/test_downloader_author_sec_uid.py46def test_extract_returns_sec_uid_when_present():CODE
376 more matches not shown…
Decorative Section Separators112 hits · 423 pts
SeverityFileLineSnippetContext
MEDIUMcore/audio_extraction.py22# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/audio_extraction.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/audio_extraction.py75# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/audio_extraction.py77# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/audio_extraction.py230# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/audio_extraction.py232# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/transcript_manager.py194 # ------------------------------------------------------------------COMMENT
MEDIUMcore/transcript_manager.py200 # ------------------------------------------------------------------COMMENT
MEDIUMtests/test_notifier_redactor_property.py80# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_notifier_redactor_property.py82# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_notifier_redactor_property.py131# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_notifier_redactor_property.py133# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_notifier_redactor_property.py180# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_notifier_redactor_property.py182# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_notifier_redactor_property.py216# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_notifier_redactor_property.py218# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_notifier_redactor_property.py266# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_notifier_redactor_property.py268# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_notifier_redactor_property.py51# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_notifier_redactor_property.py53# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_downloader_author_sec_uid.py43# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_downloader_author_sec_uid.py45# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_downloader_author_sec_uid.py73# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_downloader_author_sec_uid.py75# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_downloader_author_sec_uid.py250# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_downloader_author_sec_uid.py252# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database.py258# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database.py260# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database.py307# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database.py309# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py199# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py201# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py318# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py320# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py363# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py365# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py419# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py421# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py536# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py538# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py36# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py38# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py105# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py107# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py141# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py143# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py265# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py267# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database_migration.py48# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database_migration.py50# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database_migration.py90# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database_migration.py92# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database_migration.py193# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database_migration.py195# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database_migration.py214# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database_migration.py216# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database_migration.py247# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database_migration.py249# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database_migration.py19# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database_migration.py23# ---------------------------------------------------------------------------COMMENT
52 more matches not shown…
Excessive Try-Catch Wrapping88 hits · 92 pts
SeverityFileLineSnippetContext
LOWtools/cookie_fetcher.py110 except Exception:CODE
LOWtools/cookie_fetcher.py197 except Exception as exc:CODE
LOWtools/cookie_fetcher.py213 except Exception as exc:CODE
LOWtools/cookie_fetcher.py244 except Exception as exc:CODE
LOWtools/cookie_fetcher.py250 except Exception as exc:CODE
LOWtools/cookie_fetcher.py287 except Exception:CODE
LOWtools/cookie_fetcher.py329 except Exception:STRING
LOWcore/music_downloader.py200 except Exception as exc:CODE
LOWcore/music_downloader.py210 except Exception as exc:CODE
LOWcore/audio_extraction.py160 except Exception as exc: # imageio_ffmpeg raises RuntimeError onCODE
LOWcore/audio_extraction.py199 except Exception as exc:CODE
LOWcore/audio_extraction.py361 except Exception as exc: # pragma: no cover - defensiveCODE
LOWcore/audio_extraction.py369 except Exception as exc: # pragma: no cover - defensiveCODE
LOWcore/discovery.py81 except Exception: # noqa: BLE001CODE
LOWcore/user_downloader.py314 except Exception as exc:CODE
LOWcore/user_downloader.py323 except Exception as exc:CODE
LOWcore/user_downloader.py328 except Exception as exc:CODE
LOWcore/mix_downloader.py133 except Exception as exc:CODE
LOWcore/ffmpeg.py15 except Exception:CODE
LOWcore/transcript_manager.py152 except Exception:CODE
LOWcore/transcript_manager.py274 except Exception as exc:CODE
LOWcore/transcript_manager.py302 except Exception as exc: # noqa: BLE001 — broad is correct hereCODE
LOWcore/live_downloader.py103 except Exception as exc:CODE
LOWcore/live_downloader.py255 except Exception:CODE
LOWcore/live_downloader.py260 except Exception as exc:CODE
LOWcore/live_downloader.py310 except Exception as exc:CODE
LOWcore/comments_collector.py76 except Exception as exc:CODE
LOWcore/retry_executor.py183 except Exception:CODE
LOWcore/retry_executor.py191 except Exception:CODE
LOWcore/retry_executor.py215 except Exception:CODE
LOWcore/retry_executor.py232 except Exception:CODE
LOWcore/retry_executor.py244 except Exception as exc: # pragma: no cover — defensiveCODE
LOWcore/retry_executor.py261 except Exception:CODE
LOWcore/retry_executor.py270 except Exception:CODE
LOWcore/api_client.py17except Exception: # pragma: no cover - optional dependencyCODE
LOWcore/api_client.py195 except Exception as exc:CODE
LOWcore/api_client.py238 except Exception:CODE
LOWcore/api_client.py243 except Exception:CODE
LOWcore/api_client.py269 except Exception as exc:CODE
LOWcore/api_client.py873 except Exception as exc: # noqa: BLE001CODE
LOWcore/api_client.py932 except Exception as e:CODE
LOWcore/api_client.py948 except Exception as exc:CODE
LOWcore/api_client.py1002 except Exception:CODE
LOWcore/api_client.py1032 except Exception as exc:CODE
LOWcore/api_client.py1041 except Exception:CODE
LOWcore/api_client.py1061 except Exception as exc:CODE
LOWcore/api_client.py1097 except Exception as exc:CODE
LOWcore/api_client.py1108 except Exception as exc:CODE
LOWcore/api_client.py1199 except Exception as exc:STRING
LOWcore/api_client.py1212 except Exception:STRING
LOWcore/live_replay_downloader.py258 except Exception as exc:CODE
LOWcore/live_replay_downloader.py272 except Exception as exc:CODE
LOWcore/live_replay_downloader.py276 except Exception as exc:CODE
LOWcore/live_replay_downloader.py284 except Exception:CODE
LOWcore/downloader_base.py97 except Exception as exc:CODE
LOWcore/downloader_base.py105 except Exception as exc:CODE
LOWcore/downloader_base.py113 except Exception as exc:CODE
LOWcore/downloader_base.py134 except Exception as exc: # pragma: no cover — defensiveCODE
LOWcore/downloader_base.py657 except Exception as error:CODE
LOWcore/user_modes/base_strategy.py240 except Exception as exc:CODE
28 more matches not shown…
Unused Imports74 hits · 71 pts
SeverityFileLineSnippetContext
LOWcore/music_downloader.py1CODE
LOWcore/user_mode_registry.py1CODE
LOWcore/metadata.py9CODE
LOWcore/audio_extraction.py8CODE
LOWcore/discovery.py6CODE
LOWcore/discovery.py19CODE
LOWcore/user_downloader.py1CODE
LOWcore/mix_downloader.py1CODE
LOWcore/ffmpeg.py3CODE
LOWcore/__init__.py1CODE
LOWcore/__init__.py1CODE
LOWcore/__init__.py2CODE
LOWcore/__init__.py3CODE
LOWcore/__init__.py4CODE
LOWcore/__init__.py5CODE
LOWcore/live_downloader.py17CODE
LOWcore/comments_collector.py10CODE
LOWcore/comments_collector.py19CODE
LOWcore/comments_collector.py20CODE
LOWcore/retry_executor.py31CODE
LOWcore/api_client.py1CODE
LOWcore/live_replay_downloader.py3CODE
LOWcore/user_modes/post_strategy.py1CODE
LOWcore/user_modes/base_strategy.py1CODE
LOWcore/user_modes/base_strategy.py10CODE
LOWcore/user_modes/__init__.py1CODE
LOWcore/user_modes/__init__.py2CODE
LOWcore/user_modes/__init__.py3CODE
LOWcore/user_modes/__init__.py4CODE
LOWcore/user_modes/__init__.py5CODE
LOWcore/user_modes/__init__.py6CODE
LOWcore/user_modes/__init__.py7CODE
LOWcore/user_modes/collect_strategy.py1CODE
LOWcore/user_modes/music_strategy.py1CODE
LOWcore/user_modes/collect_mix_strategy.py1CODE
LOWcore/user_modes/mix_strategy.py1CODE
LOWconfig/__init__.py1CODE
LOWconfig/__init__.py2CODE
LOWauth/__init__.py1CODE
LOWauth/__init__.py2CODE
LOWauth/ms_token_manager.py1CODE
LOWtests/test_notifier_redactor_property.py31CODE
LOWtests/test_downloader_author_sec_uid.py27CODE
LOWtests/test_transcript_manager_audio.py17CODE
LOWtests/test_config_loader_save.py9CODE
LOWtests/test_database_migration.py281CODE
LOWtests/test_comments_download_behavior.py3CODE
LOWtests/test_silent_audio.py7CODE
LOWtests/test_database_top_authors.py30CODE
LOWtests/test_proxy_validator_parity.py30CODE
LOWtests/test_downloader_naming_templates.py11CODE
LOWtests/test_naming.py8CODE
LOWtests/test_download_proxy_passthrough.py15CODE
LOWtests/test_audio_extraction.py13CODE
LOWserver/jobs.py6CODE
LOWserver/app.py10CODE
LOWutils/naming.py24CODE
LOWutils/notifier.py31CODE
LOWutils/__init__.py1CODE
LOWutils/__init__.py1CODE
14 more matches not shown…
Cross-Language Confusion5 hits · 32 pts
SeverityFileLineSnippetContext
HIGHtools/cookie_fetcher.py294 if (typeof v === 'string' && v.trim()) values.push(v.trim());CODE
HIGHcore/api_client.py1168 if (!id || seen.has(id)) return;CODE
HIGHcore/api_client.py1170 result.push(id);CODE
HIGHcore/api_client.py1176 while ((match = pattern.exec(text)) !== null) {CODE
HIGHcli/login_flow.py51 "\n pip install playwright && playwright install chromium"CODE
Deep Nesting19 hits · 18 pts
SeverityFileLineSnippetContext
LOWcore/downloader_factory.py22CODE
LOWcore/user_downloader.py202CODE
LOWcore/url_parser.py13CODE
LOWcore/retry_executor.py89CODE
LOWcore/api_client.py199CODE
LOWcore/api_client.py936CODE
LOWcore/downloader_base.py191CODE
LOWcore/downloader_base.py398CODE
LOWcore/downloader_base.py730CODE
LOWcore/user_modes/post_strategy.py15CODE
LOWcore/user_modes/base_strategy.py84CODE
LOWcore/user_modes/base_strategy.py202CODE
LOWcore/user_modes/collect_strategy.py78CODE
LOWconfig/config_loader.py67CODE
LOWconfig/config_loader.py180CODE
LOWutils/notifier.py82CODE
LOWcli/main.py34CODE
LOWcli/whisper_transcribe.py286CODE
LOWstorage/database.py73CODE
Modern Structural Boilerplate17 hits · 16 pts
SeverityFileLineSnippetContext
LOWtools/cookie_fetcher.py369def update_config(config_path: Path, cookies: Dict[str, str]) -> None:STRING
LOWcore/audio_extraction.py385__all__ = [CODE
LOWcore/__init__.py7__all__ = [CODE
LOWcore/silent_audio.py109__all__ = ["SILENT_1S_MP3_BYTES"]CODE
LOWcore/downloader_base.py29 def update_step(self, step: str, detail: str = "") -> None: ...CODE
LOWcore/downloader_base.py31 def set_item_total(self, total: int, detail: str = "") -> None: ...CODE
LOWcore/user_modes/__init__.py9__all__ = [CODE
LOWconfig/__init__.py4__all__ = ["ConfigLoader", "DEFAULT_CONFIG"]CODE
LOWauth/__init__.py4__all__ = ["CookieManager", "MsTokenManager"]CODE
LOWtests/test_video_downloader.py22 def update_step(self, step: str, detail: str = "") -> None:CODE
LOWtests/test_video_downloader.py25 def set_item_total(self, total: int, detail: str = "") -> None:CODE
LOWtests/test_user_downloader.py44 def update_step(self, step: str, detail: str = "") -> None:CODE
LOWtests/test_user_downloader.py47 def set_item_total(self, total: int, detail: str = "") -> None:CODE
LOWutils/__init__.py6__all__ = [CODE
LOWutils/logger.py45def set_console_log_level(level: int) -> None:CODE
LOWstorage/__init__.py5__all__ = ["Database", "FileManager", "MetadataHandler"]CODE
LOWcontrol/__init__.py5__all__ = ["RateLimiter", "RetryHandler", "QueueManager"]CODE
Verbosity Indicators6 hits · 13 pts
SeverityFileLineSnippetContext
LOWcore/audio_extraction.py155 # Step 1: resolve binary pathCOMMENT
LOWcore/audio_extraction.py178 # Step 2: probe `<ffmpeg> -version`COMMENT
LOWcli/whisper_transcribe.py341 # Step 1: 提取音频COMMENT
LOWcli/whisper_transcribe.py349 # Step 2: Whisper 识别COMMENT
LOWcli/whisper_transcribe.py358 # Step 3: 繁转简COMMENT
LOWcli/whisper_transcribe.py366 # Step 4: 写文件COMMENT
Structural Annotation Overuse6 hits · 13 pts
SeverityFileLineSnippetContext
LOWcore/audio_extraction.py155 # Step 1: resolve binary pathCOMMENT
LOWcore/audio_extraction.py178 # Step 2: probe `<ffmpeg> -version`COMMENT
LOWcli/whisper_transcribe.py341 # Step 1: 提取音频COMMENT
LOWcli/whisper_transcribe.py349 # Step 2: Whisper 识别COMMENT
LOWcli/whisper_transcribe.py358 # Step 3: 繁转简COMMENT
LOWcli/whisper_transcribe.py366 # Step 4: 写文件COMMENT
Over-Commented Block6 hits · 6 pts
SeverityFileLineSnippetContext
LOWconfig.example.yml101notifications:COMMENT
LOWtests/test_notifier_redactor_property.py41COMMENT
LOWtests/test_notifier_redactor_property.py101 # Skip the middle-leak assertion when the middle is unavoidably aCOMMENT
LOWutils/xbogus.py1# ==============================================================================COMMENT
LOWutils/abogus.py861 # start = time.time()COMMENT
LOWcli/__init__.py1# cli package — entry point is cli.main:main (see pyproject.toml).COMMENT
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOWcore/retry_executor.py89CODE
LOWstorage/database.py371CODE
LOWstorage/file_manager.py39CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMutils/xbogus.py4# This file is part of the Douyin_TikTok_Download_API project.COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMcli/main.py140 # crashing the whole batch. Keeps multi-URL CLI runs robust whileCOMMENT