A practical Douyin downloader for both single-item and profile batch downloads, with progress display, retries, SQLite deduplication, and browser fallback support. 抖音批量下载工具,去水印,支持视频、图集、合集、音乐(原声)。免费!免费!免费!
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).
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.
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 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/cookie_fetcher.py | 229 | async def wait_for_login_confirmation(page: Any, url: str, input_func: Any = input) -> None: | CODE |
| LOW | tools/cookie_fetcher.py | 335 | def extract_ms_token_from_text(text: str) -> Optional[str]: | STRING |
| LOW | core/user_downloader.py | 288 | async def _recover_user_post_with_browser( | CODE |
| LOW | core/mix_downloader.py | 12 | def derive_mix_collection_dir(mix_detail: Optional[Dict[str, Any]], mix_id: Any) -> str: | CODE |
| LOW | core/transcript_manager.py | 50 | def resolve_api_key_with_source( | CODE |
| LOW | core/transcript_manager.py | 323 | async def _call_openai_transcription( | CODE |
| LOW | core/transcript_manager.py | 385 | def _guess_video_content_type(video_path: Path) -> str: | CODE |
| LOW | core/retry_executor.py | 72 | def _derive_url_type_for_factory(url_type: Optional[str]) -> str: | CODE |
| LOW⚡ | core/api_client.py | 1162 | async def _extract_aweme_ids_from_page(self, page) -> List[str]: | CODE |
| LOW | core/api_client.py | 288 | def _normalize_paged_response( | CODE |
| LOW | core/api_client.py | 489 | async def _build_collect_page_params(self, max_cursor: int, count: int) -> Dict[str, Any]: | CODE |
| LOW | core/api_client.py | 877 | async def get_aweme_comment_replies( | CODE |
| LOW | core/api_client.py | 936 | async def collect_user_post_ids_via_browser( | CODE |
| LOW | core/api_client.py | 1136 | def pop_browser_post_aweme_items(self) -> Dict[str, Dict[str, Any]]: | CODE |
| LOW⚡ | core/api_client.py | 1203 | async def _wait_for_manual_verification(self, page, *, wait_timeout_seconds: int) -> None: | STRING |
| LOW | core/video_downloader.py | 59 | async def _collect_comments_for_existing_video(self, aweme_data: Dict[str, Any]) -> bool: | CODE |
| LOW | core/downloader_base.py | 211 | def _mark_local_aweme_downloaded(self, aweme_id: str): | CODE |
| LOW | core/downloader_base.py | 311 | def _build_aweme_file_context( | CODE |
| LOW | core/downloader_base.py | 365 | async def _collect_comments_for_existing_aweme( | CODE |
| LOW | core/downloader_base.py | 665 | async def _download_first_available( | CODE |
| LOW | core/downloader_base.py | 851 | def _pick_highest_quality_play_addr(video: Dict[str, Any]) -> Optional[Dict[str, Any]]: | CODE |
| LOW | core/downloader_base.py | 860 | def _pick_play_addr_by_quality( | CODE |
| LOW | core/downloader_base.py | 911 | def _pick_preferred_play_addr( | CODE |
| LOW | core/downloader_base.py | 948 | def _collect_image_url_candidates(self, aweme_data: Dict[str, Any]) -> List[List[str]]: | CODE |
| LOW | core/downloader_base.py | 1030 | def _collect_ranked_media_urls(*sources: Tuple[Any, Any, int]) -> List[str]: | CODE |
| LOW | core/downloader_base.py | 1087 | def _is_watermarked_media_url(url: str) -> bool: | CODE |
| LOW | core/user_modes/base_strategy.py | 72 | def _media_type_filter_enabled(self) -> bool: | CODE |
| LOW | config/config_loader.py | 134 | def _is_key_explicit_in_sources(sources: List[Dict[str, Any]], section: str, key: str) -> bool: | CODE |
| LOW | config/config_loader.py | 286 | def _candidate_auto_cookie_paths(self) -> List[Path]: | CODE |
| LOW | auth/ms_token_manager.py | 136 | def _extract_ms_token_from_headers(headers: Any) -> Optional[str]: | CODE |
| LOW | tests/test_live_replay_remux.py | 90 | async def test_remux_falls_back_to_path_ffmpeg(monkeypatch, tmp_path: Path): | CODE |
| LOW | tests/test_live_replay_remux.py | 115 | async def test_remux_timeout_kills_reaps_and_removes_partial_output(monkeypatch, tmp_path: Path): | CODE |
| LOW | tests/test_live_replay_remux.py | 142 | async def test_remux_subprocess_error_kills_reaps_and_removes_partial_output( | CODE |
| LOW | tests/test_live_replay_remux.py | 167 | async def test_remux_cancellation_kills_reaps_and_removes_partial_output( | CODE |
| LOW⚡ | tests/test_api_client.py | 10 | def test_default_query_uses_existing_ms_token(): | CODE |
| LOW⚡ | tests/test_api_client.py | 16 | def test_build_signed_path_fallbacks_to_xbogus_when_abogus_disabled(): | CODE |
| LOW⚡ | tests/test_api_client.py | 23 | def test_build_signed_path_prefers_abogus(monkeypatch): | CODE |
| LOW | tests/test_api_client.py | 49 | def test_browser_fallback_caps_warmup_wait(monkeypatch): | CODE |
| LOW | tests/test_api_client.py | 164 | async def test_get_user_post_returns_normalized_dto(monkeypatch): | CODE |
| LOW | tests/test_api_client.py | 194 | async def test_live_replay_endpoints_use_episode_paths(monkeypatch): | CODE |
| LOW | tests/test_api_client.py | 235 | async def test_live_replay_info_accepts_response_variants(monkeypatch): | CODE |
| LOW | tests/test_api_client.py | 255 | async def test_live_replay_info_uses_strict_replay_id_match(monkeypatch): | CODE |
| LOW | tests/test_api_client.py | 278 | async def test_live_replay_info_rejects_single_candidate_with_wrong_replay_id(monkeypatch): | CODE |
| LOW | tests/test_api_client.py | 295 | async def test_user_mode_endpoints_use_shared_paged_normalization(monkeypatch): | CODE |
| LOW | tests/test_api_client.py | 329 | async def test_collect_endpoints_use_expected_paths_and_normalization(monkeypatch): | CODE |
| LOW | tests/test_api_client.py | 382 | async def test_mix_and_music_endpoints_are_normalized(monkeypatch): | CODE |
| LOW | tests/test_api_client.py | 463 | async def test_get_video_detail_retries_with_different_aid_on_filter(): | CODE |
| LOW | tests/test_api_client.py | 504 | async def test_get_video_detail_returns_on_first_success(): | CODE |
| LOW | tests/test_comments_collector.py | 25 | async def test_collector_paginates_until_no_more(tmp_path): | CODE |
| LOW | tests/test_comments_collector.py | 52 | async def test_collector_respects_max_comments(tmp_path): | CODE |
| LOW | tests/test_comments_collector.py | 75 | async def test_collector_deduplicates_by_cid(tmp_path): | CODE |
| LOW | tests/test_comments_collector.py | 94 | async def test_collector_stops_when_cursor_stuck(tmp_path): | CODE |
| LOW | tests/test_comments_collector.py | 111 | async def test_collector_returns_none_on_api_error(tmp_path): | CODE |
| LOW⚡ | tests/test_notifier_redactor_property.py | 87 | def test_mask_credential_never_leaks_middle(value: str) -> None: | CODE |
| LOW⚡ | tests/test_notifier_redactor_property.py | 122 | def test_mask_credential_short_inputs_collapse_to_stars(value: str) -> None: | CODE |
| LOW⚡ | tests/test_notifier_redactor_property.py | 138 | def test_masked_config_bark_device_key_never_leaks(device_key: str) -> None: | CODE |
| LOW⚡ | tests/test_notifier_redactor_property.py | 187 | def test_masked_config_telegram_bot_token_never_leaks(bot_token: str) -> None: | CODE |
| LOW⚡ | tests/test_notifier_redactor_property.py | 228 | def test_masked_config_webhook_url_query_never_leaks( | CODE |
| LOW⚡ | tests/test_notifier_redactor_property.py | 273 | def test_masked_config_unknown_type_returns_deep_copy(secret: str) -> None: | CODE |
| LOW⚡ | tests/test_downloader_author_sec_uid.py | 46 | def test_extract_returns_sec_uid_when_present(): | CODE |
| 376 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | core/audio_extraction.py | 22 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | core/audio_extraction.py | 24 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | core/audio_extraction.py | 75 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | core/audio_extraction.py | 77 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | core/audio_extraction.py | 230 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | core/audio_extraction.py | 232 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | core/transcript_manager.py | 194 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | core/transcript_manager.py | 200 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | tests/test_notifier_redactor_property.py | 80 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_notifier_redactor_property.py | 82 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_notifier_redactor_property.py | 131 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_notifier_redactor_property.py | 133 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_notifier_redactor_property.py | 180 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_notifier_redactor_property.py | 182 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_notifier_redactor_property.py | 216 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_notifier_redactor_property.py | 218 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_notifier_redactor_property.py | 266 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_notifier_redactor_property.py | 268 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_notifier_redactor_property.py | 51 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_notifier_redactor_property.py | 53 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_downloader_author_sec_uid.py | 43 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_downloader_author_sec_uid.py | 45 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_downloader_author_sec_uid.py | 73 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_downloader_author_sec_uid.py | 75 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_downloader_author_sec_uid.py | 250 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_downloader_author_sec_uid.py | 252 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_database.py | 258 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_database.py | 260 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_database.py | 307 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_database.py | 309 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_transcript_manager_audio.py | 199 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_transcript_manager_audio.py | 201 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_transcript_manager_audio.py | 318 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_transcript_manager_audio.py | 320 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_transcript_manager_audio.py | 363 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_transcript_manager_audio.py | 365 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_transcript_manager_audio.py | 419 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_transcript_manager_audio.py | 421 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_transcript_manager_audio.py | 536 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_transcript_manager_audio.py | 538 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_transcript_manager_audio.py | 36 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_transcript_manager_audio.py | 38 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_transcript_manager_audio.py | 105 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_transcript_manager_audio.py | 107 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_transcript_manager_audio.py | 141 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_transcript_manager_audio.py | 143 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_transcript_manager_audio.py | 265 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_transcript_manager_audio.py | 267 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_database_migration.py | 48 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_database_migration.py | 50 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_database_migration.py | 90 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_database_migration.py | 92 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_database_migration.py | 193 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_database_migration.py | 195 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_database_migration.py | 214 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_database_migration.py | 216 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_database_migration.py | 247 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/test_database_migration.py | 249 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_database_migration.py | 19 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/test_database_migration.py | 23 | # --------------------------------------------------------------------------- | COMMENT |
| 52 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/cookie_fetcher.py | 110 | except Exception: | CODE |
| LOW | tools/cookie_fetcher.py | 197 | except Exception as exc: | CODE |
| LOW | tools/cookie_fetcher.py | 213 | except Exception as exc: | CODE |
| LOW | tools/cookie_fetcher.py | 244 | except Exception as exc: | CODE |
| LOW | tools/cookie_fetcher.py | 250 | except Exception as exc: | CODE |
| LOW | tools/cookie_fetcher.py | 287 | except Exception: | CODE |
| LOW | tools/cookie_fetcher.py | 329 | except Exception: | STRING |
| LOW | core/music_downloader.py | 200 | except Exception as exc: | CODE |
| LOW | core/music_downloader.py | 210 | except Exception as exc: | CODE |
| LOW⚡ | core/audio_extraction.py | 160 | except Exception as exc: # imageio_ffmpeg raises RuntimeError on | CODE |
| LOW | core/audio_extraction.py | 199 | except Exception as exc: | CODE |
| LOW | core/audio_extraction.py | 361 | except Exception as exc: # pragma: no cover - defensive | CODE |
| LOW | core/audio_extraction.py | 369 | except Exception as exc: # pragma: no cover - defensive | CODE |
| LOW | core/discovery.py | 81 | except Exception: # noqa: BLE001 | CODE |
| LOW⚡ | core/user_downloader.py | 314 | except Exception as exc: | CODE |
| LOW⚡ | core/user_downloader.py | 323 | except Exception as exc: | CODE |
| LOW⚡ | core/user_downloader.py | 328 | except Exception as exc: | CODE |
| LOW | core/mix_downloader.py | 133 | except Exception as exc: | CODE |
| LOW | core/ffmpeg.py | 15 | except Exception: | CODE |
| LOW | core/transcript_manager.py | 152 | except Exception: | CODE |
| LOW | core/transcript_manager.py | 274 | except Exception as exc: | CODE |
| LOW | core/transcript_manager.py | 302 | except Exception as exc: # noqa: BLE001 — broad is correct here | CODE |
| LOW | core/live_downloader.py | 103 | except Exception as exc: | CODE |
| LOW | core/live_downloader.py | 255 | except Exception: | CODE |
| LOW | core/live_downloader.py | 260 | except Exception as exc: | CODE |
| LOW | core/live_downloader.py | 310 | except Exception as exc: | CODE |
| LOW | core/comments_collector.py | 76 | except Exception as exc: | CODE |
| LOW | core/retry_executor.py | 183 | except Exception: | CODE |
| LOW | core/retry_executor.py | 191 | except Exception: | CODE |
| LOW | core/retry_executor.py | 215 | except Exception: | CODE |
| LOW | core/retry_executor.py | 232 | except Exception: | CODE |
| LOW | core/retry_executor.py | 244 | except Exception as exc: # pragma: no cover — defensive | CODE |
| LOW | core/retry_executor.py | 261 | except Exception: | CODE |
| LOW | core/retry_executor.py | 270 | except Exception: | CODE |
| LOW | core/api_client.py | 17 | except Exception: # pragma: no cover - optional dependency | CODE |
| LOW | core/api_client.py | 195 | except Exception as exc: | CODE |
| LOW | core/api_client.py | 238 | except Exception: | CODE |
| LOW | core/api_client.py | 243 | except Exception: | CODE |
| LOW | core/api_client.py | 269 | except Exception as exc: | CODE |
| LOW | core/api_client.py | 873 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | core/api_client.py | 932 | except Exception as e: | CODE |
| LOW | core/api_client.py | 948 | except Exception as exc: | CODE |
| LOW | core/api_client.py | 1002 | except Exception: | CODE |
| LOW | core/api_client.py | 1032 | except Exception as exc: | CODE |
| LOW | core/api_client.py | 1041 | except Exception: | CODE |
| LOW | core/api_client.py | 1061 | except Exception as exc: | CODE |
| LOW | core/api_client.py | 1097 | except Exception as exc: | CODE |
| LOW | core/api_client.py | 1108 | except Exception as exc: | CODE |
| LOW⚡ | core/api_client.py | 1199 | except Exception as exc: | STRING |
| LOW⚡ | core/api_client.py | 1212 | except Exception: | STRING |
| LOW | core/live_replay_downloader.py | 258 | except Exception as exc: | CODE |
| LOW⚡ | core/live_replay_downloader.py | 272 | except Exception as exc: | CODE |
| LOW⚡ | core/live_replay_downloader.py | 276 | except Exception as exc: | CODE |
| LOW⚡ | core/live_replay_downloader.py | 284 | except Exception: | CODE |
| LOW⚡ | core/downloader_base.py | 97 | except Exception as exc: | CODE |
| LOW⚡ | core/downloader_base.py | 105 | except Exception as exc: | CODE |
| LOW⚡ | core/downloader_base.py | 113 | except Exception as exc: | CODE |
| LOW | core/downloader_base.py | 134 | except Exception as exc: # pragma: no cover — defensive | CODE |
| LOW | core/downloader_base.py | 657 | except Exception as error: | CODE |
| LOW | core/user_modes/base_strategy.py | 240 | except Exception as exc: | CODE |
| 28 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/music_downloader.py | 1 | CODE | |
| LOW | core/user_mode_registry.py | 1 | CODE | |
| LOW | core/metadata.py | 9 | CODE | |
| LOW | core/audio_extraction.py | 8 | CODE | |
| LOW | core/discovery.py | 6 | CODE | |
| LOW | core/discovery.py | 19 | CODE | |
| LOW | core/user_downloader.py | 1 | CODE | |
| LOW | core/mix_downloader.py | 1 | CODE | |
| LOW | core/ffmpeg.py | 3 | CODE | |
| LOW | core/__init__.py | 1 | CODE | |
| LOW | core/__init__.py | 1 | CODE | |
| LOW | core/__init__.py | 2 | CODE | |
| LOW | core/__init__.py | 3 | CODE | |
| LOW | core/__init__.py | 4 | CODE | |
| LOW | core/__init__.py | 5 | CODE | |
| LOW | core/live_downloader.py | 17 | CODE | |
| LOW | core/comments_collector.py | 10 | CODE | |
| LOW | core/comments_collector.py | 19 | CODE | |
| LOW | core/comments_collector.py | 20 | CODE | |
| LOW | core/retry_executor.py | 31 | CODE | |
| LOW | core/api_client.py | 1 | CODE | |
| LOW | core/live_replay_downloader.py | 3 | CODE | |
| LOW | core/user_modes/post_strategy.py | 1 | CODE | |
| LOW | core/user_modes/base_strategy.py | 1 | CODE | |
| LOW | core/user_modes/base_strategy.py | 10 | CODE | |
| LOW | core/user_modes/__init__.py | 1 | CODE | |
| LOW | core/user_modes/__init__.py | 2 | CODE | |
| LOW | core/user_modes/__init__.py | 3 | CODE | |
| LOW | core/user_modes/__init__.py | 4 | CODE | |
| LOW | core/user_modes/__init__.py | 5 | CODE | |
| LOW | core/user_modes/__init__.py | 6 | CODE | |
| LOW | core/user_modes/__init__.py | 7 | CODE | |
| LOW | core/user_modes/collect_strategy.py | 1 | CODE | |
| LOW | core/user_modes/music_strategy.py | 1 | CODE | |
| LOW | core/user_modes/collect_mix_strategy.py | 1 | CODE | |
| LOW | core/user_modes/mix_strategy.py | 1 | CODE | |
| LOW | config/__init__.py | 1 | CODE | |
| LOW | config/__init__.py | 2 | CODE | |
| LOW | auth/__init__.py | 1 | CODE | |
| LOW | auth/__init__.py | 2 | CODE | |
| LOW | auth/ms_token_manager.py | 1 | CODE | |
| LOW | tests/test_notifier_redactor_property.py | 31 | CODE | |
| LOW | tests/test_downloader_author_sec_uid.py | 27 | CODE | |
| LOW | tests/test_transcript_manager_audio.py | 17 | CODE | |
| LOW | tests/test_config_loader_save.py | 9 | CODE | |
| LOW | tests/test_database_migration.py | 281 | CODE | |
| LOW | tests/test_comments_download_behavior.py | 3 | CODE | |
| LOW | tests/test_silent_audio.py | 7 | CODE | |
| LOW | tests/test_database_top_authors.py | 30 | CODE | |
| LOW | tests/test_proxy_validator_parity.py | 30 | CODE | |
| LOW | tests/test_downloader_naming_templates.py | 11 | CODE | |
| LOW | tests/test_naming.py | 8 | CODE | |
| LOW | tests/test_download_proxy_passthrough.py | 15 | CODE | |
| LOW | tests/test_audio_extraction.py | 13 | CODE | |
| LOW | server/jobs.py | 6 | CODE | |
| LOW | server/app.py | 10 | CODE | |
| LOW | utils/naming.py | 24 | CODE | |
| LOW | utils/notifier.py | 31 | CODE | |
| LOW | utils/__init__.py | 1 | CODE | |
| LOW | utils/__init__.py | 1 | CODE | |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/cookie_fetcher.py | 294 | if (typeof v === 'string' && v.trim()) values.push(v.trim()); | CODE |
| HIGH⚡ | core/api_client.py | 1168 | if (!id || seen.has(id)) return; | CODE |
| HIGH⚡ | core/api_client.py | 1170 | result.push(id); | CODE |
| HIGH⚡ | core/api_client.py | 1176 | while ((match = pattern.exec(text)) !== null) { | CODE |
| HIGH | cli/login_flow.py | 51 | "\n pip install playwright && playwright install chromium" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/downloader_factory.py | 22 | CODE | |
| LOW | core/user_downloader.py | 202 | CODE | |
| LOW | core/url_parser.py | 13 | CODE | |
| LOW | core/retry_executor.py | 89 | CODE | |
| LOW | core/api_client.py | 199 | CODE | |
| LOW | core/api_client.py | 936 | CODE | |
| LOW | core/downloader_base.py | 191 | CODE | |
| LOW | core/downloader_base.py | 398 | CODE | |
| LOW | core/downloader_base.py | 730 | CODE | |
| LOW | core/user_modes/post_strategy.py | 15 | CODE | |
| LOW | core/user_modes/base_strategy.py | 84 | CODE | |
| LOW | core/user_modes/base_strategy.py | 202 | CODE | |
| LOW | core/user_modes/collect_strategy.py | 78 | CODE | |
| LOW | config/config_loader.py | 67 | CODE | |
| LOW | config/config_loader.py | 180 | CODE | |
| LOW | utils/notifier.py | 82 | CODE | |
| LOW | cli/main.py | 34 | CODE | |
| LOW | cli/whisper_transcribe.py | 286 | CODE | |
| LOW | storage/database.py | 73 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/cookie_fetcher.py | 369 | def update_config(config_path: Path, cookies: Dict[str, str]) -> None: | STRING |
| LOW | core/audio_extraction.py | 385 | __all__ = [ | CODE |
| LOW | core/__init__.py | 7 | __all__ = [ | CODE |
| LOW | core/silent_audio.py | 109 | __all__ = ["SILENT_1S_MP3_BYTES"] | CODE |
| LOW | core/downloader_base.py | 29 | def update_step(self, step: str, detail: str = "") -> None: ... | CODE |
| LOW | core/downloader_base.py | 31 | def set_item_total(self, total: int, detail: str = "") -> None: ... | CODE |
| LOW | core/user_modes/__init__.py | 9 | __all__ = [ | CODE |
| LOW | config/__init__.py | 4 | __all__ = ["ConfigLoader", "DEFAULT_CONFIG"] | CODE |
| LOW | auth/__init__.py | 4 | __all__ = ["CookieManager", "MsTokenManager"] | CODE |
| LOW | tests/test_video_downloader.py | 22 | def update_step(self, step: str, detail: str = "") -> None: | CODE |
| LOW | tests/test_video_downloader.py | 25 | def set_item_total(self, total: int, detail: str = "") -> None: | CODE |
| LOW | tests/test_user_downloader.py | 44 | def update_step(self, step: str, detail: str = "") -> None: | CODE |
| LOW | tests/test_user_downloader.py | 47 | def set_item_total(self, total: int, detail: str = "") -> None: | CODE |
| LOW | utils/__init__.py | 6 | __all__ = [ | CODE |
| LOW | utils/logger.py | 45 | def set_console_log_level(level: int) -> None: | CODE |
| LOW | storage/__init__.py | 5 | __all__ = ["Database", "FileManager", "MetadataHandler"] | CODE |
| LOW | control/__init__.py | 5 | __all__ = ["RateLimiter", "RetryHandler", "QueueManager"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | core/audio_extraction.py | 155 | # Step 1: resolve binary path | COMMENT |
| LOW | core/audio_extraction.py | 178 | # Step 2: probe `<ffmpeg> -version` | COMMENT |
| LOW⚡ | cli/whisper_transcribe.py | 341 | # Step 1: 提取音频 | COMMENT |
| LOW⚡ | cli/whisper_transcribe.py | 349 | # Step 2: Whisper 识别 | COMMENT |
| LOW⚡ | cli/whisper_transcribe.py | 358 | # Step 3: 繁转简 | COMMENT |
| LOW⚡ | cli/whisper_transcribe.py | 366 | # Step 4: 写文件 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | core/audio_extraction.py | 155 | # Step 1: resolve binary path | COMMENT |
| LOW | core/audio_extraction.py | 178 | # Step 2: probe `<ffmpeg> -version` | COMMENT |
| LOW⚡ | cli/whisper_transcribe.py | 341 | # Step 1: 提取音频 | COMMENT |
| LOW⚡ | cli/whisper_transcribe.py | 349 | # Step 2: Whisper 识别 | COMMENT |
| LOW⚡ | cli/whisper_transcribe.py | 358 | # Step 3: 繁转简 | COMMENT |
| LOW⚡ | cli/whisper_transcribe.py | 366 | # Step 4: 写文件 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config.example.yml | 101 | notifications: | COMMENT |
| LOW | tests/test_notifier_redactor_property.py | 41 | COMMENT | |
| LOW | tests/test_notifier_redactor_property.py | 101 | # Skip the middle-leak assertion when the middle is unavoidably a | COMMENT |
| LOW | utils/xbogus.py | 1 | # ============================================================================== | COMMENT |
| LOW | utils/abogus.py | 861 | # start = time.time() | COMMENT |
| LOW | cli/__init__.py | 1 | # cli package — entry point is cli.main:main (see pyproject.toml). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/retry_executor.py | 89 | CODE | |
| LOW | storage/database.py | 371 | CODE | |
| LOW | storage/file_manager.py | 39 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | utils/xbogus.py | 4 | # This file is part of the Douyin_TikTok_Download_API project. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cli/main.py | 140 | # crashing the whole batch. Keeps multi-URL CLI runs robust while | COMMENT |