Repository Analysis

D4Vinci/Scrapling

🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!

24.5 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of D4Vinci/Scrapling, a Python project with 76,926 GitHub stars. SynthScan v2.0 examined 50,698 lines of code across 226 source files, recording 1067 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 24.5 places this repository in the Moderate AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

24.5
Adjusted Score
24.5
Raw Score
100%
Time Factor
2026-08-25
Last Push
76.9K
Stars
Python
Language
50.7K
Lines of Code
226
Files
1.1K
Pattern Hits
2026-08-29
Scan Date
0.05
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 11MEDIUM 70LOW 986

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 1067 distinct pattern matches across 14 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 Identifiers759 hits · 739 pts
SeverityFileLineSnippetContext
LOWtests/core/test_storage_core.py19 def test_returns_default_when_url_is_none(self):CODE
LOWtests/core/test_storage_core.py23 def test_returns_default_when_url_is_empty(self):CODE
LOWtests/core/test_storage_core.py27 def test_returns_fld_for_valid_url(self):CODE
LOWtests/core/test_storage_core.py43 def test_deterministic_output(self):CODE
LOWtests/core/test_storage_core.py48 def test_different_input_different_output(self):CODE
LOWtests/core/test_storage_core.py53 def test_strips_and_lowercases(self):CODE
LOWtests/core/test_storage_core.py58 def test_includes_length_suffix(self):CODE
LOWtests/core/test_storage_core.py70 def test_sqlite_storage_creation(self):CODE
LOWtests/core/test_storage_core.py75 def test_sqlite_storage_with_file(self):CODE
LOWtests/core/test_storage_core.py91 def test_sqlite_storage_initialization_args(self):CODE
LOWtests/core/test_storage_core.py125 def test_retrieve_nonexistent_returns_none(self):CODE
LOWtests/core/test_storage_core.py129 def test_save_overwrites_existing(self):CODE
LOWtests/core/test_storage_core.py167 def test_element_path_is_stored(self):CODE
LOWtests/core/test_storage_core.py178 def test_element_with_children_and_siblings(self):CODE
LOWtests/core/test_storage_core.py254 def test_element_no_attributes(self):CODE
LOWtests/core/test_storage_core.py260 def test_element_strips_whitespace_attributes(self):CODE
LOWtests/core/test_shell_core.py14 def test_simple_cookie_parsing(self):CODE
LOWtests/core/test_shell_core.py21 def test_multiple_cookies_parsing(self):CODE
LOWtests/core/test_shell_core.py31 def test_cookie_with_attributes(self):CODE
LOWtests/core/test_shell_core.py43 def test_malformed_cookie_handling(self):CODE
LOWtests/core/test_shell_core.py67 def test_headers_with_cookies(self):CODE
LOWtests/core/test_shell_core.py80 def test_headers_without_colons(self):CODE
LOWtests/core/test_shell_core.py92 def test_invalid_header_format(self):CODE
LOWtests/core/test_shell_core.py102 def test_headers_with_multiple_colons(self):CODE
LOWtests/core/test_shell_core.py113 def test_headers_with_whitespace(self):CODE
LOWtests/core/test_shell_core.py125 def test_parse_cookies_disabled(self):CODE
LOWtests/core/test_shell_core.py187 def test_request_field_access(self):CODE
LOWtests/core/test_shell_core.py212 def test_known_logging_levels(self):CODE
LOWtests/core/test_shell_core.py220 def test_logging_level_values(self):CODE
LOWtests/fetchers/test_utils.py156def test_browser_encoding_unquoted_charset():CODE
LOWtests/fetchers/test_utils.py163def test_browser_encoding_quoted_charset():CODE
LOWtests/fetchers/test_utils.py171def test_browser_encoding_defaults_when_missing():CODE
LOWtests/fetchers/test_utils.py230 def test_generate_headers_basic(self):CODE
LOWtests/fetchers/test_utils.py238 def test_generate_headers_browser_mode(self):CODE
LOWtests/fetchers/test_utils.py245 def test_driven_browser_version(self):CODE
LOWtests/fetchers/test_utils.py251 def test_browser_useragent_follows_the_driven_browser(self, monkeypatch, browser_mode):CODE
LOWtests/fetchers/test_utils.py259 def test_http_mode_useragent_is_not_rewritten(self, monkeypatch):CODE
LOWtests/fetchers/test_utils.py266 def test_browser_mode_useragent_falls_back_without_a_driven_version(self, monkeypatch):CODE
LOWtests/fetchers/test_utils.py274 def test_generate_headers_survives_unavailable_minimum(self, monkeypatch):CODE
LOWtests/fetchers/test_utils.py282 def test_generate_headers_desktop_os_stays_desktop(self, monkeypatch, os_name):CODE
LOWtests/fetchers/test_utils.py290 def test_generate_headers_android_is_mobile(self, monkeypatch):CODE
LOWtests/fetchers/test_utils.py297 def test_generate_headers_unknown_os(self, monkeypatch):CODE
LOWtests/fetchers/test_utils.py409 def test_continues_non_blocked_domain(self):CODE
LOWtests/fetchers/test_utils.py415 def test_resource_blocking_takes_priority_over_domain(self):CODE
LOWtests/fetchers/test_utils.py422 def test_domain_blocking_with_resources_disabled(self):CODE
LOWtests/fetchers/test_utils.py429 def test_no_blocking_continues(self):CODE
LOWtests/fetchers/test_utils.py435 def test_does_not_block_partial_domain_match(self):CODE
LOWtests/fetchers/test_utils.py442 def test_multiple_blocked_domains(self):CODE
LOWtests/fetchers/test_utils.py530 def test_ad_domains_is_frozenset(self):CODE
LOWtests/fetchers/test_utils.py535 def test_ad_domains_has_entries(self):CODE
LOWtests/fetchers/test_utils.py540 def test_ad_domains_contains_known_entries(self):CODE
LOWtests/fetchers/test_utils.py550 def test_block_ads_populates_blocked_domains(self):CODE
LOWtests/fetchers/test_utils.py558 def test_block_ads_false_leaves_blocked_domains_none(self):CODE
LOWtests/fetchers/test_utils.py564 def test_block_ads_merges_with_user_domains(self):CODE
LOWtests/fetchers/test_utils.py573 def test_block_ads_does_not_modify_original_set(self):CODE
LOWtests/fetchers/test_utils.py141def test_parsing_response_status(status_map):CODE
LOWtests/fetchers/test_utils.py188 def test_proxy_string_with_auth(self):CODE
LOWtests/fetchers/test_utils.py210 def test_invalid_proxy_string(self):CODE
LOWtests/fetchers/test_utils.py326 def test_response_with_bytes_content(self):CODE
LOWtests/fetchers/test_utils.py385 def test_blocks_disabled_resource_types(self):CODE
699 more matches not shown…
Decorative Section Separators56 hits · 194 pts
SeverityFileLineSnippetContext
MEDIUMtests/spiders/test_engine.py184# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py186# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py200# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py202# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py237# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py239# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py278# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py280# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py314# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py316# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py336# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py338# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py534# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py536# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py564# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py566# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py597# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py599# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py637# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py639# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py797# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py799# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py818# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py820# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py872# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py874# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py18# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py20# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py935# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_engine.py937# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_force_stop_checkpoint.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_force_stop_checkpoint.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_force_stop_checkpoint.py126# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_force_stop_checkpoint.py128# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_throttle.py210# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_throttle.py212# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_robotstxt.py296# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_robotstxt.py298# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_robotstxt.py390# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_robotstxt.py392# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_robotstxt.py469# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_robotstxt.py471# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_robotstxt.py10# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_robotstxt.py12# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_robotstxt.py40# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_robotstxt.py42# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_robotstxt.py356# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_robotstxt.py358# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_robotstxt.py68# ---------------------------------------------------------------------------STRING
MEDIUMtests/spiders/test_robotstxt.py70# ---------------------------------------------------------------------------STRING
MEDIUMtests/spiders/test_robotstxt.py151# ---------------------------------------------------------------------------STRING
MEDIUMtests/spiders/test_robotstxt.py153# ---------------------------------------------------------------------------STRING
MEDIUMtests/spiders/test_robotstxt.py227# ---------------------------------------------------------------------------STRING
MEDIUMtests/spiders/test_robotstxt.py229# ---------------------------------------------------------------------------STRING
MEDIUMtests/spiders/test_cache.py193# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/spiders/test_cache.py195# ---------------------------------------------------------------------------COMMENT
Unused Imports104 hits · 97 pts
SeverityFileLineSnippetContext
LOWtests/fetchers/test_impersonate_list.py4CODE
LOWtests/fetchers/test_impersonate_list.py4CODE
LOWtests/fetchers/test_merge_request_args.py6CODE
LOWtests/spiders/test_result.py9CODE
LOWtests/spiders/test_engine.py6CODE
LOWtests/spiders/test_engine.py14CODE
LOWtests/spiders/test_request.py5CODE
LOWtests/spiders/test_session.py3CODE
LOWtests/spiders/test_session.py5CODE
LOWtests/spiders/test_spider.py12CODE
LOWtests/spiders/test_force_stop_checkpoint.py22CODE
LOWtests/spiders/test_links.py5CODE
LOWtests/spiders/test_checkpoint.py8CODE
LOWtests/parser/test_parser_advanced.py5CODE
LOWscrapling/__init__.py8CODE
LOWscrapling/__init__.py8CODE
LOWscrapling/__init__.py9CODE
LOWscrapling/__init__.py9CODE
LOWscrapling/__init__.py10CODE
LOWscrapling/__init__.py10CODE
LOWscrapling/__init__.py10CODE
LOWscrapling/__init__.py10CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py5CODE
LOWscrapling/core/_types.py34CODE
LOWscrapling/core/_types.py34CODE
LOWscrapling/core/utils/__init__.py1CODE
LOWscrapling/core/utils/__init__.py1CODE
LOWscrapling/core/utils/__init__.py1CODE
LOWscrapling/core/utils/__init__.py1CODE
LOWscrapling/core/utils/__init__.py1CODE
LOWscrapling/core/utils/__init__.py1CODE
LOWscrapling/core/utils/__init__.py1CODE
LOWscrapling/core/utils/__init__.py1CODE
LOWscrapling/core/utils/__init__.py1CODE
LOWscrapling/fetchers/__init__.py2CODE
LOWscrapling/fetchers/__init__.py5CODE
LOWscrapling/fetchers/__init__.py5CODE
LOWscrapling/fetchers/__init__.py5CODE
44 more matches not shown…
Excessive Try-Catch Wrapping54 hits · 55 pts
SeverityFileLineSnippetContext
LOWcleanup.py29 except Exception as e:CODE
LOWcleanup.py37 except Exception as e:CODE
LOWtests/core/test_storage_core.py213 except Exception as e:CODE
MEDIUMtests/core/test_storage_core.py207def save_element(idx):CODE
LOWscrapling/cli.py74 except Exception as err:CODE
LOWscrapling/core/ai.py405 except Exception as exc:CODE
LOWscrapling/core/shell.py172 except Exception as e: # pragma: no coverCODE
LOWscrapling/core/shell.py204 except Exception as e: # pragma: no coverCODE
LOWscrapling/core/shell.py218 except Exception as e:CODE
LOWscrapling/core/shell.py235 except Exception as e:CODE
LOWscrapling/core/shell.py322 except Exception as e: # pragma: no coverCODE
LOWscrapling/core/shell.py364 except Exception: # pragma: no coverCODE
LOWscrapling/core/shell.py381 except Exception as e:CODE
LOWscrapling/core/shell.py567 except Exception as e:CODE
LOWscrapling/core/utils/_shell.py41 except Exception as e: # pragma: no coverCODE
LOWscrapling/spiders/robotstxt.py31 except Exception as e:CODE
LOWscrapling/spiders/robotstxt.py36 except Exception as e:CODE
LOWscrapling/spiders/checkpoint.py56 except Exception as e:CODE
LOWscrapling/spiders/checkpoint.py79 except Exception as e:CODE
LOWscrapling/spiders/checkpoint.py89 except Exception as e:CODE
LOWscrapling/spiders/cache.py50 except Exception as e:CODE
LOWscrapling/spiders/cache.py82 except Exception as e:CODE
LOWscrapling/spiders/engine.py180 except Exception as e:CODE
LOWscrapling/spiders/engine.py232 except Exception as e:CODE
LOWscrapling/spiders/spider.py147 except Exception as e:CODE
LOWscrapling/spiders/templates/sitemap.py83 except Exception as e:CODE
LOWscrapling/engines/static.py729 except Exception:CODE
LOWscrapling/engines/static.py755 except Exception:CODE
LOWscrapling/engines/toolbelt/convertor.py72 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/toolbelt/convertor.py77 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/toolbelt/convertor.py129 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/toolbelt/convertor.py189 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/toolbelt/convertor.py194 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/toolbelt/convertor.py277 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/_browsers/_controllers.py94 except Exception:CODE
LOWscrapling/engines/_browsers/_controllers.py158 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/_browsers/_controllers.py171 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/_browsers/_controllers.py179 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/_browsers/_controllers.py194 except Exception as e:CODE
LOWscrapling/engines/_browsers/_controllers.py282 except Exception:CODE
LOWscrapling/engines/_browsers/_controllers.py347 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/_browsers/_controllers.py360 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/_browsers/_controllers.py368 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/_browsers/_controllers.py383 except Exception as e:CODE
LOWscrapling/engines/_browsers/_stealth.py100 except Exception:CODE
LOWscrapling/engines/_browsers/_stealth.py252 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/_browsers/_stealth.py270 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/_browsers/_stealth.py278 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/_browsers/_stealth.py293 except Exception as e:CODE
LOWscrapling/engines/_browsers/_stealth.py385 except Exception:CODE
LOWscrapling/engines/_browsers/_stealth.py540 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/_browsers/_stealth.py558 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/_browsers/_stealth.py566 except Exception as e: # pragma: no coverCODE
LOWscrapling/engines/_browsers/_stealth.py581 except Exception as e:CODE
Deep Nesting35 hits · 35 pts
SeverityFileLineSnippetContext
LOWcleanup.py6CODE
LOWscrapling/parser.py530CODE
LOWscrapling/parser.py639CODE
LOWscrapling/parser.py709CODE
LOWscrapling/parser.py1111CODE
LOWscrapling/core/mixins.py15CODE
LOWscrapling/core/shell.py334CODE
LOWscrapling/core/shell.py150CODE
LOWscrapling/core/shell.py622CODE
LOWscrapling/core/shell.py663CODE
LOWscrapling/core/utils/_shell.py19CODE
LOWscrapling/spiders/request.py71CODE
LOWscrapling/spiders/links.py226CODE
LOWscrapling/spiders/engine.py154CODE
LOWscrapling/spiders/engine.py353CODE
LOWscrapling/spiders/spider.py34CODE
LOWscrapling/spiders/spider.py262CODE
LOWscrapling/spiders/spider.py304CODE
LOWscrapling/spiders/templates/sitemap.py88CODE
LOWscrapling/spiders/templates/sitemap.py108CODE
LOWscrapling/spiders/templates/_utils.py14CODE
LOWscrapling/engines/static.py224CODE
LOWscrapling/engines/static.py440CODE
LOWscrapling/engines/_browsers/_base.py190CODE
LOWscrapling/engines/_browsers/_base.py390CODE
LOWscrapling/engines/_browsers/_controllers.py72CODE
LOWscrapling/engines/_browsers/_controllers.py102CODE
LOWscrapling/engines/_browsers/_controllers.py261CODE
LOWscrapling/engines/_browsers/_controllers.py290CODE
LOWscrapling/engines/_browsers/_stealth.py77CODE
LOWscrapling/engines/_browsers/_stealth.py108CODE
LOWscrapling/engines/_browsers/_stealth.py195CODE
LOWscrapling/engines/_browsers/_stealth.py363CODE
LOWscrapling/engines/_browsers/_stealth.py393CODE
LOWscrapling/engines/_browsers/_stealth.py482CODE
Cross-File Repetition6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHtests/fetchers/async/test_dynamic.py0test doing a basic fetch request with multiple statusesSTRING
HIGHtests/fetchers/async/test_stealth.py0test doing a basic fetch request with multiple statusesSTRING
HIGHtests/fetchers/sync/test_dynamic.py0test doing a basic fetch request with multiple statusesSTRING
HIGHscrapling/fetchers/stealth_chrome.py0a browser session manager with page pooling, it's using a persistent browser context by default with a temporary user prSTRING
HIGHscrapling/engines/_browsers/_controllers.py0a browser session manager with page pooling, it's using a persistent browser context by default with a temporary user prSTRING
HIGHscrapling/engines/_browsers/_stealth.py0a browser session manager with page pooling, it's using a persistent browser context by default with a temporary user prSTRING
Synthetic Comment Markers5 hits · 28 pts
SeverityFileLineSnippetContext
HIGH…-skill/Scrapling-Skill/references/fetching/stealthy.md164This is for educational purposes only; this example was generated by AI, which also shows how easy it is to work with ScCODE
HIGHtests/fetchers/test_utils.py26 # A map generated by ChatGPT for most possible `content_type` values and the expected outcomeCOMMENT
HIGHdocs/overview.md17Here's an HTML document generated by ChatGPT that we will be using as an example throughout this page:CODE
HIGHdocs/development/adaptive_storage_system.md26Here's a more practical example generated by AI using Redis:CODE
HIGHdocs/fetching/stealthy.md176This is for educational purposes only; this example was generated by AI, which also shows how easy it is to work with ScCODE
Modern Structural Boilerplate16 hits · 16 pts
SeverityFileLineSnippetContext
LOWscrapling/__init__.py24__all__ = ["Selector", "Fetcher", "AsyncFetcher", "StealthyFetcher", "DynamicFetcher"]CODE
LOWscrapling/core/storage.py97 def _setup_database(self) -> None:CODE
LOWscrapling/fetchers/__init__.py23__all__ = [CODE
LOWscrapling/fetchers/requests.py10__all__ = ["Fetcher", "AsyncFetcher", "FetcherSession"]CODE
LOWscrapling/spiders/__init__.py19__all__ = [CODE
LOWscrapling/spiders/links.py27__all__ = ["LinkExtractor"]CODE
LOWscrapling/spiders/spider.py239 def _setup_signal_handler(self) -> None:CODE
LOWscrapling/spiders/templates/shopify.py22__all__ = ["ShopifySpider"]CODE
LOWscrapling/spiders/templates/sitemap.py28__all__ = ["SitemapSpider"]CODE
LOWscrapling/spiders/templates/__init__.py7__all__ = [CODE
LOWscrapling/spiders/templates/feed.py29__all__ = ["XMLFeedSpider", "CSVFeedSpider"]CODE
LOWscrapling/spiders/templates/site_to_markdown.py27__all__ = ["SiteToMarkdownSpider"]CODE
LOWscrapling/spiders/templates/_utils.py8__all__ = ["_decompress"]CODE
LOWscrapling/spiders/templates/crawler.py23__all__ = ["CrawlRule", "CrawlSpider"]CODE
LOWscrapling/integrations/scrapy.py21__all__ = ["scrapling_response", "convert_response"]CODE
LOWscrapling/engines/toolbelt/__init__.py3__all__ = ["ProxyRotator", "is_proxy_error", "cyclic_rotation"]CODE
AI Structural Patterns14 hits · 14 pts
SeverityFileLineSnippetContext
LOWtests/spiders/test_engine.py74CODE
LOWscrapling/parser.py93CODE
LOWscrapling/core/ai.py236CODE
LOWscrapling/core/ai.py358CODE
LOWscrapling/core/ai.py427CODE
LOWscrapling/core/ai.py507CODE
LOWscrapling/core/ai.py581CODE
LOWscrapling/core/ai.py657CODE
LOWscrapling/core/ai.py734CODE
LOWscrapling/core/ai.py825CODE
LOWscrapling/core/ai.py917CODE
LOWscrapling/core/ai.py987CODE
LOWscrapling/spiders/links.py194CODE
LOWscrapling/engines/static.py661CODE
Modern AI Meta-Vocabulary4 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMagent-skill/README.md3The skill aligns with the [AgentSkill](https://agentskills.io/specification) specification, so it will be readable by [OCODE
MEDIUM…ill/Scrapling-Skill/references/building-rag-systems.md1# Building RAG SystemsCOMMENT
MEDIUMdocs/ai/building-rag-systems.md1# Building RAG Systems with ScraplingCOMMENT
MEDIUMdocs/ai/agent-skill.md5The skill follows the [AgentSkills](https://agentskills.io/specification) specification, so it's readable by [Claude CodCODE
Self-Referential Comments4 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMtests/parser/test_attributes_handler.py279 # Create an element with many attributesCOMMENT
MEDIUMscrapling/core/shell.py55# Define the structure for parsed context - Simplified for Fetcher argsCOMMENT
MEDIUMscrapling/core/shell.py517 # Create the namespace dictionaryCOMMENT
MEDIUMscrapling/engines/toolbelt/custom.py29 """This class is returned by all engines as a way to unify the response type between different libraries.STRING
Dead Code5 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMtests/spiders/test_engine.py483CODE
MEDIUMscrapling/spiders/spider.py176CODE
MEDIUMscrapling/spiders/templates/sitemap.py76CODE
MEDIUMscrapling/spiders/templates/feed.py72CODE
MEDIUMscrapling/spiders/templates/feed.py140CODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWscrapling/core/shell.py239 # Check if raw data looks like JSON, prefer 'json' param if soCOMMENT
LOWscrapling/core/shell.py344 # Check if this function has known parametersCOMMENT
LOWscrapling/engines/_browsers/_base.py609 # Check if turnstile captcha is embedded inside the page (Usually inside a closed Shadow iframe)COMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…nt-skill/Scrapling-Skill/references/fetching/static.md350 'username': 'user@example.com',CODE
LOWdocs/fetching/static.md357 'username': 'user@example.com',CODE