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. 抖音批量下载工具,去水印,支持视频、图集、合集、音乐(原声)。

44.6 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of jiji262/douyin-downloader, a Python project with 9,525 GitHub stars. SynthScan v2.0 examined 35,292 lines of code across 152 source files, recording 1077 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 44.6 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).

44.6
Adjusted Score
44.6
Raw Score
100%
Time Factor
2026-08-28
Last Push
9.5K
Stars
Python
Language
35.3K
Lines of Code
152
Files
1.1K
Pattern Hits
2026-08-29
Scan Date
0.11
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 17MEDIUM 141LOW 919

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 1077 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 Identifiers672 hits · 673 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.py153 async def _save_homepage_screenshot(CODE
LOWcore/user_downloader.py196 async def _resolve_user_info_logged(self, sec_uid: str, modes: List[str]) -> Dict[str, Any]:CODE
LOWcore/user_downloader.py467 async def _recover_user_post_with_browser(CODE
LOWcore/user_downloader.py622 def _post_recovery_limit_reached(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.py317 async def _call_openai_transcription(CODE
LOWcore/transcript_manager.py382 def _guess_video_content_type(video_path: Path) -> str:CODE
LOWcore/retry_executor.py70def _derive_url_type_for_factory(url_type: Optional[str]) -> str:CODE
LOWcore/api_client.py1784 async def _extract_aweme_ids_from_page(self, page) -> List[str]:CODE
LOWcore/api_client.py561 def _payload_from_bridge_result(self, result: Any, path: str, started: float) -> Dict[str, Any]:CODE
LOWcore/api_client.py631 def _normalize_paged_response(CODE
LOWcore/api_client.py832 async def _build_collect_page_params(self, max_cursor: int, count: int) -> Dict[str, Any]:CODE
LOWcore/api_client.py997 def _normalize_live_room_response(raw: Dict[str, Any]) -> Optional[Dict[str, Any]]:CODE
LOWcore/api_client.py1028 def _extract_live_room_from_html(html: str) -> Optional[Dict[str, Any]]:CODE
LOWcore/api_client.py1044 async def _fetch_live_room_from_page(self, web_rid: str) -> Optional[Dict[str, Any]]:CODE
LOWcore/api_client.py1327 async def get_aweme_comment_replies(CODE
LOWcore/api_client.py1386 async def save_user_homepage_screenshot(CODE
LOWcore/api_client.py1500 def _emit_homepage_screenshot_request(CODE
LOWcore/api_client.py1532 async def collect_user_post_ids_via_browser(CODE
LOWcore/api_client.py1758 def pop_browser_post_aweme_items(self) -> Dict[str, Dict[str, Any]]:CODE
LOWcore/api_client.py1825 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.py162 def _report_author_output_dir(CODE
LOWcore/downloader_base.py269 def _redownload_missing_files_enabled(self) -> bool:CODE
LOWcore/downloader_base.py275 async def _ensure_local_aweme_index(self) -> None:CODE
LOWcore/downloader_base.py330 def _mark_local_aweme_downloaded(self, aweme_id: str):CODE
LOWcore/downloader_base.py440 def _build_aweme_file_context(CODE
LOWcore/downloader_base.py496 async def _collect_comments_for_existing_aweme(CODE
LOWcore/downloader_base.py865 async def _download_video_with_fallback(CODE
LOWcore/downloader_base.py927 async def _run_within_item_deadline(self, awaitable, save_path: Path) -> bool:CODE
LOWcore/downloader_base.py941 async def _download_first_available(CODE
LOWcore/downloader_base.py1020 def _build_video_url_candidates(CODE
LOWcore/downloader_base.py1057 def _partition_video_candidates(CODE
LOWcore/downloader_base.py1147 async def _maybe_promote_original_candidate(CODE
LOWcore/downloader_base.py1192 async def _probe_original_play_source(CODE
LOWcore/downloader_base.py1306 def _pick_highest_quality_play_addr(video: Dict[str, Any]) -> Optional[Dict[str, Any]]:CODE
LOWcore/downloader_base.py1315 def _pick_play_addr_by_quality(CODE
LOWcore/downloader_base.py1366 def _pick_preferred_play_addr(CODE
LOWcore/downloader_base.py1403 def _collect_image_url_candidates(self, aweme_data: Dict[str, Any]) -> List[List[str]]:CODE
LOWcore/downloader_base.py1485 def _collect_ranked_media_urls(*sources: Tuple[Any, Any, int]) -> List[str]:CODE
LOWcore/downloader_base.py1542 def _is_watermarked_media_url(url: str) -> bool:CODE
LOWcore/user_modes/post_strategy.py123 def _time_boundary_for_config(self) -> PostTimeBoundary:CODE
LOWcore/user_modes/post_strategy.py151 def _report_time_boundary_stop(self, page_number: int, raw_items_seen: int) -> None:CODE
LOWcore/user_modes/post_strategy.py264 def _empty_page_is_restricted(page: Dict[str, Any], request_cursor: int) -> 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.py289 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.py14def test_default_query_uses_existing_ms_token():CODE
LOWtests/test_api_client.py20def test_build_signed_path_fallbacks_to_xbogus_when_abogus_disabled():CODE
LOWtests/test_api_client.py27def test_build_signed_path_accepts_absolute_base_override():CODE
LOWtests/test_api_client.py949async def test_bridge_login_required_body_raises_login_required_error():CODE
LOWtests/test_api_client.py959async def test_bridge_not_logged_in_maps_to_login_required_error():CODE
612 more matches not shown…
Decorative Section Separators138 hits · 531 pts
SeverityFileLineSnippetContext
MEDIUMcore/audio_extraction.py23# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/audio_extraction.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/audio_extraction.py76# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/audio_extraction.py78# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/audio_extraction.py222# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/audio_extraction.py224# ---------------------------------------------------------------------------COMMENT
MEDIUMcore/transcript_manager.py194 # ------------------------------------------------------------------COMMENT
MEDIUMcore/transcript_manager.py200 # ------------------------------------------------------------------COMMENT
MEDIUMtests/test_api_client.py859# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_api_client.py861# ---------------------------------------------------------------------------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.py44# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_downloader_author_sec_uid.py46# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_downloader_author_sec_uid.py74# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_downloader_author_sec_uid.py76# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_downloader_author_sec_uid.py350# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_downloader_author_sec_uid.py358# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_downloader_author_sec_uid.py251# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_downloader_author_sec_uid.py253# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database.py258# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_database.py260# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py198# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py200# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py313# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py315# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py356# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py358# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py411# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py413# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py589# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py591# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py37# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py39# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py106# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py108# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py142# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py144# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py260# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_transcript_manager_audio.py262# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_download_slow_node_guard.py38# --------------------------------------------------------------------------COMMENT
MEDIUMtests/test_download_slow_node_guard.py40# --------------------------------------------------------------------------COMMENT
MEDIUMtests/test_download_slow_node_guard.py73# --------------------------------------------------------------------------COMMENT
MEDIUMtests/test_download_slow_node_guard.py75# --------------------------------------------------------------------------COMMENT
MEDIUMtests/test_download_slow_node_guard.py197# --------------------------------------------------------------------------COMMENT
MEDIUMtests/test_download_slow_node_guard.py199# --------------------------------------------------------------------------COMMENT
MEDIUMtests/test_manifest_author_fields.py53# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_manifest_author_fields.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_manifest_author_fields.py84# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_manifest_author_fields.py86# ---------------------------------------------------------------------------COMMENT
78 more matches not shown…
Cross-Language Confusion17 hits · 115 pts
SeverityFileLineSnippetContext
HIGHtools/cookie_fetcher.py294 if (typeof v === 'string' && v.trim()) values.push(v.trim());CODE
HIGHcore/api_client.py74 style.opacity !== "0" && rect.width > 0 && rect.height > 0 &&CODE
HIGHcore/api_client.py75 rect.bottom > 0 && rect.top < Math.max(window.innerHeight || 0, 900);CODE
HIGHcore/api_client.py75 rect.bottom > 0 && rect.top < Math.max(window.innerHeight || 0, 900);CODE
HIGHcore/api_client.py94 const text = normalize(element.innerText || element.textContent);CODE
HIGHcore/api_client.py95 if (!text || text.length > 1500) return null;CODE
HIGHcore/api_client.py95 if (!text || text.length > 1500) return null;CODE
HIGHcore/api_client.py101 if (!values[1] || Math.max(beforeCount, afterCount) < 2) return null;CODE
HIGHcore/api_client.py102 if (expectedNickname && !text.includes(expectedNickname)) return null;CODE
HIGHcore/api_client.py109 if (document.fonts && document.fonts.status !== "loaded") return reset();CODE
HIGHcore/api_client.py1790 if (!id || seen.has(id)) return;CODE
HIGHcore/api_client.py1792 result.push(id);CODE
HIGHcore/api_client.py1798 while ((match = pattern.exec(text)) !== null) {CODE
HIGHcore/api_client.py61 const bodyText = normalize(document.body.innerText || document.body.textContent);CODE
HIGHcore/api_client.py1032 args = json.loads(call[len("self.__pace_f.push(") : -1])CODE
HIGHtests/test_api_client.py453 html = f"<script>self.__pace_f.push({json.dumps([1, flight])})</script>"CODE
HIGHcli/login_flow.py51 "\n pip install playwright && playwright install chromium"CODE
Excessive Try-Catch Wrapping109 hits · 104 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.py206 except Exception as exc:CODE
LOWcore/music_downloader.py216 except Exception as exc:CODE
LOWcore/audio_extraction.py159 except Exception as exc: # imageio_ffmpeg raises RuntimeError onCODE
LOWcore/audio_extraction.py196 except Exception as exc:CODE
LOWcore/audio_extraction.py347 except Exception as exc: # pragma: no cover - defensiveCODE
LOWcore/audio_extraction.py353 except Exception as exc: # pragma: no cover - defensiveCODE
LOWcore/discovery.py81 except Exception: # noqa: BLE001CODE
LOWcore/user_downloader.py107 except Exception as exc: # noqa: BLE001 - 任何失败都归为"解析不出账号"CODE
LOWcore/user_downloader.py150 except Exception as exc:CODE
LOWcore/user_downloader.py185 except Exception as exc:CODE
LOWcore/user_downloader.py512 except Exception:CODE
LOWcore/user_downloader.py524 except Exception as exc:CODE
LOWcore/user_downloader.py529 except Exception as exc:CODE
LOWcore/user_downloader.py572 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.py270 except Exception as exc:CODE
LOWcore/transcript_manager.py296 except Exception as exc: # noqa: BLE001 — broad is correct hereCODE
LOWcore/live_downloader.py109 except Exception as exc:CODE
LOWcore/live_downloader.py264 except Exception:CODE
LOWcore/live_downloader.py269 except Exception as exc:CODE
LOWcore/live_downloader.py319 except Exception as exc:CODE
LOWcore/comments_collector.py76 except Exception as exc:CODE
LOWcore/retry_executor.py181 except Exception:CODE
LOWcore/retry_executor.py189 except Exception:CODE
LOWcore/retry_executor.py213 except Exception:CODE
LOWcore/retry_executor.py230 except Exception:CODE
LOWcore/retry_executor.py242 except Exception as exc: # pragma: no cover — defensiveCODE
LOWcore/retry_executor.py259 except Exception:CODE
LOWcore/retry_executor.py268 except Exception:CODE
LOWcore/api_client.py24except Exception: # pragma: no cover - optional dependencyCODE
LOWcore/api_client.py394 except Exception as exc:CODE
LOWcore/api_client.py474 except Exception:CODE
LOWcore/api_client.py479 except Exception:CODE
LOWcore/api_client.py523 except Exception as exc:CODE
LOWcore/api_client.py614 except Exception as exc:CODE
LOWcore/api_client.py1058 except Exception as exc:CODE
LOWcore/api_client.py1323 except Exception as exc: # noqa: BLE001CODE
LOWcore/api_client.py1382 except Exception as e:CODE
LOWcore/api_client.py1402 except Exception as exc:CODE
LOWcore/api_client.py1463 except Exception as exc:CODE
LOWcore/api_client.py1470 except Exception:CODE
LOWcore/api_client.py1484 except Exception as exc:CODE
LOWcore/api_client.py1528 except Exception as exc:CODE
LOWcore/api_client.py1545 except Exception as exc:CODE
LOWcore/api_client.py1616 except Exception:CODE
LOWcore/api_client.py1646 except Exception as exc:CODE
LOWcore/api_client.py1655 except Exception:CODE
LOWcore/api_client.py1680 except Exception as exc:CODE
LOWcore/api_client.py1716 except Exception as exc:CODE
LOWcore/api_client.py1727 except Exception as exc:CODE
LOWcore/api_client.py1821 except Exception as exc:STRING
49 more matches not shown…
Unused Imports78 hits · 75 pts
SeverityFileLineSnippetContext
LOWcore/music_downloader.py1CODE
LOWcore/user_mode_registry.py1CODE
LOWcore/metadata.py9CODE
LOWcore/audio_extraction.py9CODE
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.py29CODE
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/post_time_boundary.py1CODE
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_downloader_output_dir_report.py9CODE
LOWtests/test_transcript_manager_audio.py18CODE
LOWtests/test_manifest_author_fields.py22CODE
LOWtests/test_config_loader_save.py9CODE
LOWtests/test_comments_download_behavior.py3CODE
LOWtests/test_api_client_risk_control.py12CODE
LOWtests/test_silent_audio.py8CODE
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.py14CODE
LOWserver/jobs.py6CODE
LOWserver/app.py10CODE
LOWutils/naming.py7CODE
18 more matches not shown…
Modern Structural Boilerplate19 hits · 18 pts
SeverityFileLineSnippetContext
LOWtools/cookie_fetcher.py369def update_config(config_path: Path, cookies: Dict[str, str]) -> None:STRING
LOWcore/audio_extraction.py369__all__ = [CODE
LOWcore/__init__.py7__all__ = [CODE
LOWcore/silent_audio.py110__all__ = ["SILENT_1S_MP3_BYTES"]CODE
LOWcore/downloader_base.py47 def update_step(self, step: str, detail: str = "") -> None: ...CODE
LOWcore/downloader_base.py49 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_downloader_output_dir_report.py27 def update_step(self, step: str, detail: str = "") -> None:CODE
LOWtests/test_downloader_output_dir_report.py30 def set_item_total(self, total: int, detail: str = "") -> None:CODE
LOWtests/test_video_downloader.py23 def update_step(self, step: str, detail: str = "") -> None:CODE
LOWtests/test_video_downloader.py26 def set_item_total(self, total: int, detail: str = "") -> None:CODE
LOWtests/test_user_downloader.py46 def update_step(self, step: str, detail: str = "") -> None:CODE
LOWtests/test_user_downloader.py49 def set_item_total(self, total: int, detail: str = "") -> None:CODE
LOWutils/__init__.py6__all__ = [CODE
LOWutils/logger.py62def set_console_log_level(level: int) -> None:CODE
LOWstorage/__init__.py5__all__ = ["Database", "FileManager", "MetadataHandler"]CODE
LOWcontrol/__init__.py5__all__ = ["RateLimiter", "RetryHandler", "QueueManager"]CODE
Deep Nesting20 hits · 16 pts
SeverityFileLineSnippetContext
LOWcore/downloader_factory.py22CODE
LOWcore/user_downloader.py372CODE
LOWcore/url_parser.py13CODE
LOWcore/retry_executor.py87CODE
LOWcore/api_client.py398CODE
LOWcore/api_client.py1386CODE
LOWcore/api_client.py1500CODE
LOWcore/api_client.py1532CODE
LOWcore/downloader_base.py304CODE
LOWcore/downloader_base.py529CODE
LOWcore/downloader_base.py1057CODE
LOWcore/user_modes/base_strategy.py84CODE
LOWcore/user_modes/base_strategy.py171CODE
LOWcore/user_modes/collect_strategy.py78CODE
LOWconfig/config_loader.py67CODE
LOWconfig/config_loader.py183CODE
LOWutils/notifier.py82CODE
LOWcli/main.py34CODE
LOWcli/whisper_transcribe.py286CODE
LOWstorage/database.py73CODE
Verbosity Indicators6 hits · 13 pts
SeverityFileLineSnippetContext
LOWcore/audio_extraction.py153 # Step 1: resolve binary pathCOMMENT
LOWcore/audio_extraction.py175 # 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.py153 # Step 1: resolve binary pathCOMMENT
LOWcore/audio_extraction.py175 # 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 Block7 hits · 7 pts
SeverityFileLineSnippetContext
LOWconfig.example.yml121# 下载完成通知(可选)。providers 支持 bark / telegram / webhookCOMMENT
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
LOWstorage/file_manager.py21_SEC_UID_ILLEGAL_RE = re.compile(r'[<>:"/\\|?*\x00-\x1f]')COMMENT
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOWcore/retry_executor.py87CODE
LOWstorage/database.py371CODE
LOWstorage/file_manager.py159CODE
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