AI Slop Code RIsk Monitor

D4Vinci/Scrapling

🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

25.3 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for D4Vinci/Scrapling, a Python project with 86,680 GitHub stars. SynthScan examined 50,596 lines of code across 226 source files, recording 1075 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 25.3 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

25.3
Adjusted Signal
25.3
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
86.7K
Stars
Python
Language
50.6K
Lines of Code
226
Files
1.1K
Pattern Hits
2026-10-12
Scan Date
0.08
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 56.4/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 824 finding(s).

Hallucinated Dependency & Supply Chain Risk 9.3/100 · LOW

Are imports declared and package/API names verified? 106 finding(s).

Agent Over-Engineering Ratio 66.2/100 · HIGH

Are wrappers, guards, and repeated structures necessary? 918 finding(s).

PR Review Velocity Impact 72.6/100 · HIGH

Which changes need focused human review? 1075 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 19MEDIUM 70LOW 986

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1075 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers759 hits · 739 pts
SeverityFileLineSnippetContext
LOW⚡tests/core/test_storage_core.py19 def test_returns_default_when_url_is_none(self):CODE
LOW⚡tests/core/test_storage_core.py23 def test_returns_default_when_url_is_empty(self):CODE
LOW⚡tests/core/test_storage_core.py27 def test_returns_fld_for_valid_url(self):CODE
LOW⚡tests/core/test_storage_core.py43 def test_deterministic_output(self):CODE
LOW⚡tests/core/test_storage_core.py48 def test_different_input_different_output(self):CODE
LOW⚡tests/core/test_storage_core.py53 def test_strips_and_lowercases(self):CODE
LOW⚡tests/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
LOW⚡tests/core/test_shell_core.py14 def test_simple_cookie_parsing(self):CODE
LOW⚡tests/core/test_shell_core.py21 def test_multiple_cookies_parsing(self):CODE
LOW⚡tests/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
LOW⚡tests/fetchers/test_utils.py156def test_browser_encoding_unquoted_charset():CODE
LOW⚡tests/fetchers/test_utils.py163def test_browser_encoding_quoted_charset():CODE
LOW⚡tests/fetchers/test_utils.py171def test_browser_encoding_defaults_when_missing():CODE
LOW⚡tests/fetchers/test_utils.py230 def test_generate_headers_basic(self):CODE
LOW⚡tests/fetchers/test_utils.py238 def test_generate_headers_browser_mode(self):CODE
LOW⚡tests/fetchers/test_utils.py245 def test_driven_browser_version(self):CODE
LOW⚡tests/fetchers/test_utils.py251 def test_browser_useragent_follows_the_driven_browser(self, monkeypatch, browser_mode):CODE
LOW⚡tests/fetchers/test_utils.py259 def test_http_mode_useragent_is_not_rewritten(self, monkeypatch):CODE
LOW⚡tests/fetchers/test_utils.py266 def test_browser_mode_useragent_falls_back_without_a_driven_version(self, monkeypatch):CODE
LOW⚡tests/fetchers/test_utils.py274 def test_generate_headers_survives_unavailable_minimum(self, monkeypatch):CODE
LOW⚡tests/fetchers/test_utils.py282 def test_generate_headers_desktop_os_stays_desktop(self, monkeypatch, os_name):CODE
LOW⚡tests/fetchers/test_utils.py290 def test_generate_headers_android_is_mobile(self, monkeypatch):CODE
LOW⚡tests/fetchers/test_utils.py297 def test_generate_headers_unknown_os(self, monkeypatch):CODE
LOW⚡tests/fetchers/test_utils.py409 def test_continues_non_blocked_domain(self):CODE
LOW⚡tests/fetchers/test_utils.py415 def test_resource_blocking_takes_priority_over_domain(self):CODE
LOW⚡tests/fetchers/test_utils.py422 def test_domain_blocking_with_resources_disabled(self):CODE
LOW⚡tests/fetchers/test_utils.py429 def test_no_blocking_continues(self):CODE
LOW⚡tests/fetchers/test_utils.py435 def test_does_not_block_partial_domain_match(self):CODE
LOW⚡tests/fetchers/test_utils.py442 def test_multiple_blocked_domains(self):CODE
LOW⚡tests/fetchers/test_utils.py530 def test_ad_domains_is_frozenset(self):CODE
LOW⚡tests/fetchers/test_utils.py535 def test_ad_domains_has_entries(self):CODE
LOW⚡tests/fetchers/test_utils.py540 def test_ad_domains_contains_known_entries(self):CODE
LOW⚡tests/fetchers/test_utils.py550 def test_block_ads_populates_blocked_domains(self):CODE
LOW⚡tests/fetchers/test_utils.py558 def test_block_ads_false_leaves_blocked_domains_none(self):CODE
LOW⚡tests/fetchers/test_utils.py564 def test_block_ads_merges_with_user_domains(self):CODE
LOW⚡tests/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
MEDIUM⚡tests/spiders/test_engine.py184# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py186# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py200# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py202# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py237# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py239# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py278# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py280# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py314# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py316# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py336# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py338# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py534# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py536# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py564# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py566# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py597# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py599# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py637# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py639# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py797# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py799# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py818# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py820# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_engine.py872# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/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
MEDIUM⚡tests/spiders/test_force_stop_checkpoint.py126# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_force_stop_checkpoint.py128# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_throttle.py210# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_throttle.py212# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_robotstxt.py296# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_robotstxt.py298# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_robotstxt.py390# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_robotstxt.py392# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/spiders/test_robotstxt.py469# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/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
MEDIUM⚡tests/spiders/test_robotstxt.py68# ---------------------------------------------------------------------------STRING
MEDIUM⚡tests/spiders/test_robotstxt.py70# ---------------------------------------------------------------------------STRING
MEDIUM⚡tests/spiders/test_robotstxt.py151# ---------------------------------------------------------------------------STRING
MEDIUM⚡tests/spiders/test_robotstxt.py153# ---------------------------------------------------------------------------STRING
MEDIUM⚡tests/spiders/test_robotstxt.py227# ---------------------------------------------------------------------------STRING
MEDIUM⚡tests/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
Empty Error Handlers8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHtests/parser/test_attributes_handler.py258except:CODE
HIGHtests/parser/test_attributes_handler.py334except:CODE
HIGHscrapling/core/shell.py246except JSONDecodeError:CODE
HIGHscrapling/spiders/engine.py474except EndOfStream:CODE
HIGHscrapling/spiders/throttle.py21except ValueError:CODE
HIGHscrapling/spiders/spider.py259except ValueError:CODE
HIGHscrapling/engines/_browsers/_base.py146except (PlaywrightError, Exception):CODE
HIGHscrapling/engines/_browsers/_base.py346except (PlaywrightError, Exception):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