matrx-scraper 0.2.330__py3-none-any.whl → 0.2.332__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- matrx_scraper/db/models_web.py +2 -0
- matrx_scraper/seo_audit.py +104 -3
- matrx_scraper/web_crawl/analysis.py +236 -4
- matrx_scraper/web_crawl/analysis_write.py +84 -5
- {matrx_scraper-0.2.330.dist-info → matrx_scraper-0.2.332.dist-info}/METADATA +4 -4
- {matrx_scraper-0.2.330.dist-info → matrx_scraper-0.2.332.dist-info}/RECORD +8 -8
- {matrx_scraper-0.2.330.dist-info → matrx_scraper-0.2.332.dist-info}/WHEEL +0 -0
- {matrx_scraper-0.2.330.dist-info → matrx_scraper-0.2.332.dist-info}/entry_points.txt +0 -0
matrx_scraper/db/models_web.py
CHANGED
|
@@ -375,6 +375,8 @@ class AnalysisItem(MatrxEntity):
|
|
|
375
375
|
published_to_web = BooleanField(null=False)
|
|
376
376
|
published_to_web_at = DateTimeField()
|
|
377
377
|
published_to_web_by = UUIDField()
|
|
378
|
+
evidence_kind = TextField(null=False, default='measured')
|
|
379
|
+
tier = TextField()
|
|
378
380
|
_inverse_foreign_keys: ClassVar[dict[str, dict[str, str]]] = {'analysis_result': {'from_model': 'AnalysisResult', 'from_field': 'item_id', 'referenced_field': 'id', 'related_name': 'analysis_result', 'from_schema': 'web'}, 'finding': {'from_model': 'Finding', 'from_field': 'item_id', 'referenced_field': 'id', 'related_name': 'finding', 'from_schema': 'web'}, 'site_item_config': {'from_model': 'SiteItemConfig', 'from_field': 'item_id', 'referenced_field': 'id', 'related_name': 'site_item_config', 'from_schema': 'web'}}
|
|
379
381
|
_database = "matrx_web"
|
|
380
382
|
_table_name = "analysis_item"
|
matrx_scraper/seo_audit.py
CHANGED
|
@@ -672,6 +672,17 @@ def _resource_kind(tag: str, url: str, rel: str, mime_type: str) -> str:
|
|
|
672
672
|
return "other"
|
|
673
673
|
|
|
674
674
|
|
|
675
|
+
_SCRIPT_LAZY_ATTRIBUTES = ("data-src", "data-lazy-src", "data-original", "nitro-lazy-src", "data-srcset")
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
def _is_script_lazy(attrs: dict[str, Any]) -> bool:
|
|
679
|
+
"""True when a lazy-loading SCRIPT (not `loading=lazy`) defers this image."""
|
|
680
|
+
if any(attrs.get(name) for name in _SCRIPT_LAZY_ATTRIBUTES):
|
|
681
|
+
return True
|
|
682
|
+
classes = (attrs.get("class") or "").lower().split()
|
|
683
|
+
return any(c in ("lazy", "lazyload", "lazyloaded", "lazyloading") for c in classes)
|
|
684
|
+
|
|
685
|
+
|
|
675
686
|
def _extract_page_resources(
|
|
676
687
|
tree: HTMLParser,
|
|
677
688
|
base_url: str,
|
|
@@ -750,10 +761,12 @@ def _extract_page_resources(
|
|
|
750
761
|
"picture_formats": _picture_source_formats(img, base_url),
|
|
751
762
|
"picture_sources": _picture_source_urls(img, base_url),
|
|
752
763
|
"sizes": attrs.get("sizes"),
|
|
753
|
-
|
|
764
|
+
# selectolax reports `alt=""` as None; presence of the attribute is the signal.
|
|
765
|
+
"alt": (attrs.get("alt") or "") if "alt" in attrs else None,
|
|
754
766
|
"width": _number_attribute(attrs.get("width")),
|
|
755
767
|
"height": _number_attribute(attrs.get("height")),
|
|
756
768
|
"loading": attrs.get("loading"),
|
|
769
|
+
"js_lazy": _is_script_lazy(attrs),
|
|
757
770
|
"decoding": attrs.get("decoding"),
|
|
758
771
|
"fetchpriority": attrs.get("fetchpriority"),
|
|
759
772
|
"title": attrs.get("title"),
|
|
@@ -2430,6 +2443,12 @@ def check_text_html_ratio(ev: PageEvidence) -> CheckOutcome:
|
|
|
2430
2443
|
def check_image_alt_presence(ev: PageEvidence) -> CheckOutcome:
|
|
2431
2444
|
count = ev.image_count
|
|
2432
2445
|
missing = ev.images_missing_alt
|
|
2446
|
+
items = [item for item in ev.image_items if isinstance(item, dict)]
|
|
2447
|
+
if count and len(items) == count:
|
|
2448
|
+
# The inventory is complete, so recompute from it: snapshots stored before
|
|
2449
|
+
# the capture learned that `alt=""` is a valid decorative marker counted
|
|
2450
|
+
# those images as missing (9 of 10 on a real author page).
|
|
2451
|
+
missing = sum(1 for item in items if item.get("alt") is None)
|
|
2433
2452
|
if count is None or missing is None:
|
|
2434
2453
|
return CheckOutcome(
|
|
2435
2454
|
"n_a",
|
|
@@ -2537,7 +2556,20 @@ def check_image_lazy_loading(ev: PageEvidence) -> CheckOutcome:
|
|
|
2537
2556
|
return unavailable
|
|
2538
2557
|
|
|
2539
2558
|
def is_lazy(item: dict[str, Any]) -> bool:
|
|
2540
|
-
return str(item.get("loading") or "").strip().lower() == "lazy"
|
|
2559
|
+
return str(item.get("loading") or "").strip().lower() == "lazy" or item.get("js_lazy") is True
|
|
2560
|
+
|
|
2561
|
+
# An image with no resolvable source is a script placeholder (the real URL
|
|
2562
|
+
# arrives from a lazy-loader attribute we did not capture, e.g. nitro-lazy-src
|
|
2563
|
+
# or a data: URI). Its loading behaviour is unknowable here, so it is neither
|
|
2564
|
+
# eager nor lazy — 383 findings said "loads eagerly" about exactly these.
|
|
2565
|
+
items = [item for item in items if item.get("src")]
|
|
2566
|
+
if not items:
|
|
2567
|
+
return CheckOutcome(
|
|
2568
|
+
"n_a",
|
|
2569
|
+
None,
|
|
2570
|
+
"This page's images are placed by a lazy-loading script, so their loading policy "
|
|
2571
|
+
"cannot be judged from the page source.",
|
|
2572
|
+
)
|
|
2541
2573
|
|
|
2542
2574
|
above_fold_indexes = {
|
|
2543
2575
|
index
|
|
@@ -3851,12 +3883,62 @@ LOCAL_BUSINESS_SUBTYPES: frozenset[str] = frozenset(
|
|
|
3851
3883
|
"TelevisionStation",
|
|
3852
3884
|
"TouristInformationCenter",
|
|
3853
3885
|
"TravelAgency",
|
|
3886
|
+
# Second-level subtypes seen on real client sites (iopbm.com declares
|
|
3887
|
+
# `MedicalClinic`, which sits under MedicalBusiness) — a whitelist of
|
|
3888
|
+
# first-level children alone told those sites they had no business markup.
|
|
3889
|
+
"AccountingService",
|
|
3890
|
+
"Attorney",
|
|
3891
|
+
"AutoDealer",
|
|
3892
|
+
"AutoRepair",
|
|
3893
|
+
"BankOrCreditUnion",
|
|
3894
|
+
"Bar",
|
|
3895
|
+
"BeautySalon",
|
|
3896
|
+
"CafeOrCoffeeShop",
|
|
3897
|
+
"DaySpa",
|
|
3898
|
+
"DiagnosticLab",
|
|
3899
|
+
"Electrician",
|
|
3900
|
+
"GeneralContractor",
|
|
3901
|
+
"HVACBusiness",
|
|
3902
|
+
"HairSalon",
|
|
3903
|
+
"HealthClub",
|
|
3904
|
+
"Hospital",
|
|
3905
|
+
"Hotel",
|
|
3906
|
+
"HousePainter",
|
|
3907
|
+
"IndividualPhysician",
|
|
3908
|
+
"LegalService",
|
|
3909
|
+
"Locksmith",
|
|
3910
|
+
"MedicalClinic",
|
|
3911
|
+
"MovingCompany",
|
|
3912
|
+
"NailSalon",
|
|
3913
|
+
"Notary",
|
|
3914
|
+
"Optician",
|
|
3915
|
+
"Pharmacy",
|
|
3916
|
+
"Physician",
|
|
3917
|
+
"Plumber",
|
|
3918
|
+
"RoofingContractor",
|
|
3919
|
+
"TattooParlor",
|
|
3920
|
+
"VeterinaryCare",
|
|
3921
|
+
"Winery",
|
|
3854
3922
|
}
|
|
3855
3923
|
)
|
|
3856
3924
|
|
|
3857
3925
|
#: Types that declare "this site belongs to this business/organization".
|
|
3858
3926
|
BUSINESS_ENTITY_TYPES: frozenset[str] = frozenset(
|
|
3859
|
-
{
|
|
3927
|
+
{
|
|
3928
|
+
"Organization",
|
|
3929
|
+
"Corporation",
|
|
3930
|
+
"NGO",
|
|
3931
|
+
"LocalBusiness",
|
|
3932
|
+
"MedicalOrganization",
|
|
3933
|
+
"EducationalOrganization",
|
|
3934
|
+
"School",
|
|
3935
|
+
"CollegeOrUniversity",
|
|
3936
|
+
"OnlineBusiness",
|
|
3937
|
+
"OnlineStore",
|
|
3938
|
+
"NewsMediaOrganization",
|
|
3939
|
+
"SportsOrganization",
|
|
3940
|
+
*LOCAL_BUSINESS_SUBTYPES,
|
|
3941
|
+
}
|
|
3860
3942
|
)
|
|
3861
3943
|
|
|
3862
3944
|
#: NAP — Name, Address, Phone. The three properties a business entity exists to
|
|
@@ -3987,6 +4069,24 @@ def business_entities_in(structured_data: dict[str, Any]) -> list[dict[str, Any]
|
|
|
3987
4069
|
return entities
|
|
3988
4070
|
|
|
3989
4071
|
|
|
4072
|
+
def legacy_business_types_in(structured_data: dict[str, Any]) -> list[str]:
|
|
4073
|
+
"""Business types a LEGACY capture names but never described.
|
|
4074
|
+
|
|
4075
|
+
Snapshots written before property-level capture carry only
|
|
4076
|
+
``{"schema_types": ["http://schema.org/Organization"], "schema_org": {}}`` and
|
|
4077
|
+
no ``blocks``. They prove a business type is declared; they cannot say what
|
|
4078
|
+
name/address/phone it states. The site check must treat that as *unknown*,
|
|
4079
|
+
never as "no business markup".
|
|
4080
|
+
"""
|
|
4081
|
+
if structured_data_blocks(structured_data):
|
|
4082
|
+
return []
|
|
4083
|
+
types = structured_data.get("schema_types")
|
|
4084
|
+
if not isinstance(types, list):
|
|
4085
|
+
return []
|
|
4086
|
+
names = [str(t).rstrip("/").rsplit("/", 1)[-1] for t in types if t]
|
|
4087
|
+
return [name for name in names if name in BUSINESS_ENTITY_TYPES]
|
|
4088
|
+
|
|
4089
|
+
|
|
3990
4090
|
def check_structured_data_validity(ev: PageEvidence) -> CheckOutcome:
|
|
3991
4091
|
"""Parse errors and rich-result completeness, from the stored capture.
|
|
3992
4092
|
|
|
@@ -5012,6 +5112,7 @@ __all__ = [
|
|
|
5012
5112
|
"check_ttfb_server_response",
|
|
5013
5113
|
"check_viewport_meta",
|
|
5014
5114
|
"business_entities_in",
|
|
5115
|
+
"legacy_business_types_in",
|
|
5015
5116
|
"clamp_score",
|
|
5016
5117
|
"declared_page_type",
|
|
5017
5118
|
"flatten_schema_value",
|
|
@@ -75,6 +75,7 @@ from matrx_scraper.seo_audit import (
|
|
|
75
75
|
CheckOutcome,
|
|
76
76
|
PageEvidence,
|
|
77
77
|
business_entities_in,
|
|
78
|
+
legacy_business_types_in,
|
|
78
79
|
clamp_score,
|
|
79
80
|
hreflang_entries,
|
|
80
81
|
lab_performance_from_lighthouse,
|
|
@@ -170,6 +171,33 @@ NOFOLLOW_INTERNAL_BANDS: tuple[tuple[int, str, int], ...] = (
|
|
|
170
171
|
)
|
|
171
172
|
NOFOLLOW_INTERNAL_EXCESSIVE = ("fail", 45)
|
|
172
173
|
|
|
174
|
+
#: Internal links that SHOULD be nofollow: they point at utility endpoints, not
|
|
175
|
+
#: content a search engine ought to rank, so nofollow on them is the correct
|
|
176
|
+
#: setting rather than "an accident of a plugin" (437 findings; 85% of them were
|
|
177
|
+
#: share-button and comment-form links). Matched on the normalised anchor text or
|
|
178
|
+
#: on a path/query token of the target.
|
|
179
|
+
NOFOLLOW_UTILITY_ANCHORS = frozenset(
|
|
180
|
+
{
|
|
181
|
+
"facebook", "twitter", "x", "pinterest", "linkedin", "email", "whatsapp",
|
|
182
|
+
"reddit", "tumblr", "telegram", "share", "print", "cancel reply", "reply",
|
|
183
|
+
"log in", "login", "sign in", "register", "my account", "cart", "checkout",
|
|
184
|
+
}
|
|
185
|
+
) # fmt: skip
|
|
186
|
+
NOFOLLOW_UTILITY_TARGET_RE = re.compile(
|
|
187
|
+
r"(?:^|[/?&=_-])(?:wp-login|login|signin|sign-in|register|signup|cart|checkout|"
|
|
188
|
+
r"my-account|add-to-cart|replytocom|ical|outlook-ical|print)(?:$|[/?&=_.-])",
|
|
189
|
+
re.IGNORECASE,
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
def is_utility_link(target_url: str, anchor_text: object) -> bool:
|
|
194
|
+
"""True for share/login/cart/comment-form/calendar-export links."""
|
|
195
|
+
anchor = re.sub(r"[^a-z0-9 ]+", " ", str(anchor_text or "").lower()).strip()
|
|
196
|
+
anchor = re.sub(r"\s+", " ", anchor)
|
|
197
|
+
if anchor in NOFOLLOW_UTILITY_ANCHORS:
|
|
198
|
+
return True
|
|
199
|
+
return bool(NOFOLLOW_UTILITY_TARGET_RE.search(target_url))
|
|
200
|
+
|
|
173
201
|
# `anchor_text_descriptiveness` — the share of internal anchors that carry a
|
|
174
202
|
# relevance signal. Generic phrases are matched on the FULL normalized anchor
|
|
175
203
|
# (punctuation stripped): "read more about pricing" is descriptive, "read more"
|
|
@@ -320,6 +348,90 @@ GSC_HEALTHY_SCORE = 100
|
|
|
320
348
|
# Evidence structs
|
|
321
349
|
|
|
322
350
|
|
|
351
|
+
def _is_homepage(url: str | None) -> bool:
|
|
352
|
+
"""The site's root page — where a failure costs the most."""
|
|
353
|
+
from urllib.parse import urlsplit
|
|
354
|
+
|
|
355
|
+
if not url:
|
|
356
|
+
return False
|
|
357
|
+
parts = urlsplit(url)
|
|
358
|
+
return parts.path in ("", "/") and not parts.query
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
#: A stored crawl status is evidence about the moment of the crawl. Pages it
|
|
362
|
+
#: says were failing are asked again before analysis calls them broken (fact
|
|
363
|
+
#: before opinion, 2026-10-05: four "500" pages on a sample site answered 200).
|
|
364
|
+
LIVE_RECHECK_LIMIT = 200
|
|
365
|
+
LIVE_RECHECK_TIMEOUT_SECONDS = 180
|
|
366
|
+
LIVE_RECHECKED_CHECKS = frozenset({"server_error_5xx", "broken_page_4xx"})
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
async def recheck_failing_statuses(
|
|
370
|
+
facts_list: list[PageFacts],
|
|
371
|
+
*,
|
|
372
|
+
verifier: Any | None = None,
|
|
373
|
+
limit: int = LIVE_RECHECK_LIMIT,
|
|
374
|
+
) -> dict[str, dict[str, Any]]:
|
|
375
|
+
"""Ask every page the crawl recorded as failing (0, 4xx, 5xx) again, now.
|
|
376
|
+
|
|
377
|
+
A page that answers below 400 now gets its CURRENT status as evidence (the
|
|
378
|
+
checks then pass it); one that still fails keeps failing with today's
|
|
379
|
+
confirmation; one we could not reach keeps the crawl's status — no answer
|
|
380
|
+
is never a recovery. Returns ``page_id -> {crawl_status, live_status,
|
|
381
|
+
checked_at, error}`` for the result metadata.
|
|
382
|
+
"""
|
|
383
|
+
from matrx_scraper.utils.url import public_http_client
|
|
384
|
+
from matrx_scraper.web_crawl.url_verify import (
|
|
385
|
+
REQUEST_TIMEOUT_SECONDS,
|
|
386
|
+
USER_AGENT,
|
|
387
|
+
PoliteVerifier,
|
|
388
|
+
)
|
|
389
|
+
|
|
390
|
+
failing = [
|
|
391
|
+
f
|
|
392
|
+
for f in facts_list
|
|
393
|
+
if f.url and f.http_status is not None and (f.http_status == 0 or f.http_status >= 400)
|
|
394
|
+
]
|
|
395
|
+
# The homepage first, then the shallowest pages: when a site has more
|
|
396
|
+
# failing pages than the cap, the ones that matter most are asked again.
|
|
397
|
+
failing.sort(key=lambda f: (not _is_homepage(f.url), len(str(f.url))))
|
|
398
|
+
targets = failing[:limit]
|
|
399
|
+
if not targets:
|
|
400
|
+
return {}
|
|
401
|
+
client = None
|
|
402
|
+
if verifier is None:
|
|
403
|
+
client = public_http_client(
|
|
404
|
+
timeout=REQUEST_TIMEOUT_SECONDS,
|
|
405
|
+
follow_redirects=True,
|
|
406
|
+
headers={"User-Agent": USER_AGENT},
|
|
407
|
+
)
|
|
408
|
+
verifier = PoliteVerifier(client)
|
|
409
|
+
checked_at = datetime.now(UTC).isoformat()
|
|
410
|
+
rechecks: dict[str, dict[str, Any]] = {}
|
|
411
|
+
|
|
412
|
+
async def one(facts: PageFacts) -> None:
|
|
413
|
+
outcome = await verifier.verify(str(facts.url))
|
|
414
|
+
crawl_status = facts.http_status
|
|
415
|
+
live = outcome.http_status
|
|
416
|
+
rechecks[str(facts.page_id)] = {
|
|
417
|
+
"crawl_status": crawl_status,
|
|
418
|
+
"live_status": live,
|
|
419
|
+
"checked_at": checked_at,
|
|
420
|
+
"error": outcome.error,
|
|
421
|
+
}
|
|
422
|
+
# Any real answer is the current fact (500 then 404 is a 404 now);
|
|
423
|
+
# no answer keeps the crawl's record.
|
|
424
|
+
if live and live > 0:
|
|
425
|
+
facts.http_status = live
|
|
426
|
+
|
|
427
|
+
try:
|
|
428
|
+
await asyncio.gather(*(one(f) for f in targets))
|
|
429
|
+
finally:
|
|
430
|
+
if client is not None:
|
|
431
|
+
await client.aclose()
|
|
432
|
+
return rechecks
|
|
433
|
+
|
|
434
|
+
|
|
323
435
|
@dataclass
|
|
324
436
|
class PageFacts(PageEvidence):
|
|
325
437
|
"""Per-page evidence from the latest accepted snapshot.
|
|
@@ -535,6 +647,10 @@ class SiteBusinessEvidence:
|
|
|
535
647
|
pages_captured: int = 0
|
|
536
648
|
#: One normalized entity per declaration: types + the NAP/enhanced values.
|
|
537
649
|
entities: list[dict[str, Any]] = field(default_factory=list)
|
|
650
|
+
#: Pages whose capture predates property-level structured data: it names a
|
|
651
|
+
#: business type (`Organization`) but not what that entity states. Such a page
|
|
652
|
+
#: proves markup EXISTS and leaves its contents UNKNOWN — never "absent".
|
|
653
|
+
legacy_typed_pages: int = 0
|
|
538
654
|
|
|
539
655
|
|
|
540
656
|
class AnalysisRunResult:
|
|
@@ -978,6 +1094,26 @@ def _check_internal_link_equity(facts: PageFacts, site: SiteAggregates) -> Check
|
|
|
978
1094
|
if priority_penalty:
|
|
979
1095
|
score = min(score, LINK_EQUITY_PRIORITY_SCORE_CAP)
|
|
980
1096
|
|
|
1097
|
+
if not prioritized:
|
|
1098
|
+
# A percentile is a RANK: whatever the site, a third of its pages sit below
|
|
1099
|
+
# the 33rd percentile, so scoring the rank warned/failed ~half of every
|
|
1100
|
+
# site (1,483 of 1,488 open findings were unprioritized pages, none of
|
|
1101
|
+
# them wrong in any way a person could act on). The catalogue contract
|
|
1102
|
+
# itself only singles out PRIORITIZED pages. Pages with no inbound links at
|
|
1103
|
+
# all are `orphan_pages` / `internal_inlink_coverage`'s to report.
|
|
1104
|
+
return CheckOutcome(
|
|
1105
|
+
"pass",
|
|
1106
|
+
100,
|
|
1107
|
+
f"This page is in the {percentile}th percentile of the site's internal "
|
|
1108
|
+
"PageRank. It is not a prioritized page, so its rank is context, not a problem.",
|
|
1109
|
+
evidence={
|
|
1110
|
+
"link_score": facts.link_score,
|
|
1111
|
+
"pagerank_percentile": percentile,
|
|
1112
|
+
"pages_scored": len(site.link_equity_percentile_by_page),
|
|
1113
|
+
"prioritized": False,
|
|
1114
|
+
"priority_penalty_applied": False,
|
|
1115
|
+
},
|
|
1116
|
+
)
|
|
981
1117
|
if score >= LINK_EQUITY_PASS_SCORE:
|
|
982
1118
|
status = "pass"
|
|
983
1119
|
elif score >= LINK_EQUITY_WARN_SCORE:
|
|
@@ -1403,6 +1539,8 @@ def index_page_facts(facts_list: list[PageFacts], aggregates: SiteAggregates) ->
|
|
|
1403
1539
|
if facts.structured_data:
|
|
1404
1540
|
aggregates.business.pages_captured += 1
|
|
1405
1541
|
aggregates.business.entities.extend(business_entities_in(facts.structured_data))
|
|
1542
|
+
if legacy_business_types_in(facts.structured_data):
|
|
1543
|
+
aggregates.business.legacy_typed_pages += 1
|
|
1406
1544
|
entries = hreflang_entries(facts)
|
|
1407
1545
|
# A crawled page with NO hreflang still has to be KNOWN, or a target that
|
|
1408
1546
|
# merely forgot its return tag would read as "we never crawled it".
|
|
@@ -1424,12 +1562,25 @@ def index_page_facts(facts_list: list[PageFacts], aggregates: SiteAggregates) ->
|
|
|
1424
1562
|
)
|
|
1425
1563
|
|
|
1426
1564
|
|
|
1565
|
+
#: Catalogue items whose verdict belongs to the SITE even though the check lives
|
|
1566
|
+
#: in the per-page family because it needs the cross-page aggregate. They are
|
|
1567
|
+
#: evaluated ONCE per run and written as a single `subject_type='site'` row; the
|
|
1568
|
+
#: old behaviour (the same verdict on every page — 809 identical findings) is
|
|
1569
|
+
#: retired, and `reconcile_findings` resolves the leftover page-subject rows.
|
|
1570
|
+
SITE_SCOPED_CROSS_PAGE_CHECKS: frozenset[str] = frozenset({"local_business_markup"})
|
|
1571
|
+
|
|
1572
|
+
|
|
1427
1573
|
def _check_local_business_markup(facts: PageFacts, site: SiteAggregates) -> CheckOutcome:
|
|
1574
|
+
"""Per-page-signature wrapper kept for callers/tests; the verdict is the site's."""
|
|
1575
|
+
return local_business_outcome(site)
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
def local_business_outcome(site: SiteAggregates) -> CheckOutcome:
|
|
1428
1579
|
"""Does this SITE declare a complete, self-consistent business entity?
|
|
1429
1580
|
|
|
1430
1581
|
The catalogue row is site-level by construction — "anywhere on site" and
|
|
1431
1582
|
"across own pages" are questions one page cannot answer — so the verdict is
|
|
1432
|
-
computed from the site aggregate and recorded on
|
|
1583
|
+
computed from the site aggregate and recorded ONCE, on the site subject.
|
|
1433
1584
|
"""
|
|
1434
1585
|
business = site.business
|
|
1435
1586
|
if business.pages_captured == 0:
|
|
@@ -1439,6 +1590,15 @@ def _check_local_business_markup(facts: PageFacts, site: SiteAggregates) -> Chec
|
|
|
1439
1590
|
"We haven't captured structured data for any page on this site yet.",
|
|
1440
1591
|
remediation=RECRAWL_SITE,
|
|
1441
1592
|
)
|
|
1593
|
+
if not business.entities and business.legacy_typed_pages:
|
|
1594
|
+
return CheckOutcome(
|
|
1595
|
+
"n_a",
|
|
1596
|
+
None,
|
|
1597
|
+
f"{business.legacy_typed_pages} page(s) on this site declare an Organization or "
|
|
1598
|
+
"business type, but they were captured before we stored what that markup says, "
|
|
1599
|
+
"so we cannot tell whether the name, address and phone are present.",
|
|
1600
|
+
remediation=RECRAWL_SITE,
|
|
1601
|
+
)
|
|
1442
1602
|
if not business.entities:
|
|
1443
1603
|
return CheckOutcome(
|
|
1444
1604
|
"warn",
|
|
@@ -2147,6 +2307,12 @@ PAGE_CHECKS: dict[str, Callable[[PageFacts, SiteAggregates], CheckOutcome]] = {
|
|
|
2147
2307
|
**CROSS_PAGE_CHECKS,
|
|
2148
2308
|
}
|
|
2149
2309
|
|
|
2310
|
+
#: What the per-page loop runs on every page. Site-scoped cross-page checks are
|
|
2311
|
+
#: excluded: they are evaluated once per site (see `SITE_SCOPED_CROSS_PAGE_CHECKS`).
|
|
2312
|
+
PER_PAGE_RUN_CHECKS: dict[str, Callable[[PageFacts, SiteAggregates], CheckOutcome]] = {
|
|
2313
|
+
key: check for key, check in PAGE_CHECKS.items() if key not in SITE_SCOPED_CROSS_PAGE_CHECKS
|
|
2314
|
+
}
|
|
2315
|
+
|
|
2150
2316
|
|
|
2151
2317
|
def _uncatalogued_page_checks() -> list[str]:
|
|
2152
2318
|
"""Canonical per-page checks this sweep cannot record yet.
|
|
@@ -2710,7 +2876,9 @@ def _accumulate_edge(
|
|
|
2710
2876
|
elif 300 <= status < 400:
|
|
2711
2877
|
stats.redirecting.append(target_url)
|
|
2712
2878
|
|
|
2713
|
-
if _rel_tokens(row["rel"]) & NOFOLLOW_REL_TOKENS
|
|
2879
|
+
if _rel_tokens(row["rel"]) & NOFOLLOW_REL_TOKENS and not is_utility_link(
|
|
2880
|
+
target_url, row["anchor_text"]
|
|
2881
|
+
):
|
|
2714
2882
|
stats.nofollow_internal_count += 1
|
|
2715
2883
|
if len(stats.nofollow_internal_samples) < CHECK_EVIDENCE_SAMPLE_LIMIT:
|
|
2716
2884
|
stats.nofollow_internal_samples.append(target_url)
|
|
@@ -3171,6 +3339,17 @@ async def analyze_site_pages(
|
|
|
3171
3339
|
await report("Loading page evidence…")
|
|
3172
3340
|
async with _timed("page_evidence"):
|
|
3173
3341
|
facts_list, aggregates = await _load_page_facts(site_id, summary, str(site.root_url))
|
|
3342
|
+
async with _timed("live_status_recheck"):
|
|
3343
|
+
try:
|
|
3344
|
+
status_rechecks = await asyncio.wait_for(
|
|
3345
|
+
recheck_failing_statuses(facts_list), timeout=LIVE_RECHECK_TIMEOUT_SECONDS
|
|
3346
|
+
)
|
|
3347
|
+
except Exception as exc: # the stored evidence still stands; say so
|
|
3348
|
+
logger.exception("live status recheck failed for site %s", site_id)
|
|
3349
|
+
summary.errors.append(
|
|
3350
|
+
f"Pages the crawl saw failing could not be checked again: {type(exc).__name__}: {exc}"
|
|
3351
|
+
)
|
|
3352
|
+
status_rechecks = {}
|
|
3174
3353
|
# Google's own numbers. A site with no Search Console property is the
|
|
3175
3354
|
# ordinary case, not an error: the checks answer `n_a` naming that, and the
|
|
3176
3355
|
# rest of the sweep is untouched.
|
|
@@ -3218,7 +3397,7 @@ async def analyze_site_pages(
|
|
|
3218
3397
|
async with _timed("page_checks"):
|
|
3219
3398
|
for facts in facts_list:
|
|
3220
3399
|
summary.pages_analyzed += 1
|
|
3221
|
-
for item_key, check in
|
|
3400
|
+
for item_key, check in PER_PAGE_RUN_CHECKS.items():
|
|
3222
3401
|
item = items_by_key[item_key]
|
|
3223
3402
|
try:
|
|
3224
3403
|
outcome = check(facts, aggregates)
|
|
@@ -3237,8 +3416,12 @@ async def analyze_site_pages(
|
|
|
3237
3416
|
outcome = CheckOutcome(
|
|
3238
3417
|
"error", None, f"Check crashed: {type(exc).__name__}: {exc}"
|
|
3239
3418
|
)
|
|
3240
|
-
severity = severity_for(
|
|
3419
|
+
severity = severity_for(
|
|
3420
|
+
item, outcome.score, on_homepage=_is_homepage(facts.url)
|
|
3421
|
+
)
|
|
3241
3422
|
metadata = _result_metadata(outcome, item.key)
|
|
3423
|
+
if item_key in LIVE_RECHECKED_CHECKS and facts.page_id in status_rechecks:
|
|
3424
|
+
metadata["live_recheck"] = status_rechecks[facts.page_id]
|
|
3242
3425
|
rows.append(
|
|
3243
3426
|
{
|
|
3244
3427
|
"organization_id": organization_id,
|
|
@@ -3352,6 +3535,48 @@ async def analyze_site_pages(
|
|
|
3352
3535
|
summary.site_checks_run += 1
|
|
3353
3536
|
_tally(summary, outcome.status)
|
|
3354
3537
|
|
|
3538
|
+
# Site-scoped cross-page checks: ONE row each, from the site aggregate.
|
|
3539
|
+
for item_key in sorted(SITE_SCOPED_CROSS_PAGE_CHECKS & set(PAGE_CHECKS)):
|
|
3540
|
+
item = items_by_key[item_key]
|
|
3541
|
+
try:
|
|
3542
|
+
outcome = local_business_outcome(aggregates)
|
|
3543
|
+
except Exception as exc: # a broken rule must not kill the run
|
|
3544
|
+
logger.exception("site-scoped check %s crashed on site %s", item_key, site_id)
|
|
3545
|
+
await capture_error(
|
|
3546
|
+
exc,
|
|
3547
|
+
kind="site_analysis_check_failed",
|
|
3548
|
+
context={"site_id": site_id, "item_key": item_key},
|
|
3549
|
+
)
|
|
3550
|
+
summary.errors.append(
|
|
3551
|
+
f"{item_key} crashed on site {site_id}: {type(exc).__name__}: {exc}"
|
|
3552
|
+
)
|
|
3553
|
+
outcome = CheckOutcome("error", None, f"Check crashed: {type(exc).__name__}: {exc}")
|
|
3554
|
+
rows.append(
|
|
3555
|
+
{
|
|
3556
|
+
"organization_id": organization_id,
|
|
3557
|
+
"site_id": site_id,
|
|
3558
|
+
"subject_type": "site",
|
|
3559
|
+
"subject_id": site_id,
|
|
3560
|
+
"page_id": None,
|
|
3561
|
+
"item_id": str(item.id),
|
|
3562
|
+
"item_key": item.key,
|
|
3563
|
+
"category": item.category,
|
|
3564
|
+
"subcategory": item.subcategory,
|
|
3565
|
+
"provider_id": str(provider.id),
|
|
3566
|
+
"provider_version": ANALYZER_VERSION,
|
|
3567
|
+
"run_id": run_id,
|
|
3568
|
+
"computed_at": computed_at,
|
|
3569
|
+
"status": outcome.status,
|
|
3570
|
+
"score": outcome.score,
|
|
3571
|
+
"severity": severity_for(item, outcome.score),
|
|
3572
|
+
"issue_count": outcome.issue_count,
|
|
3573
|
+
"confidence": 1,
|
|
3574
|
+
"metadata": _result_metadata(outcome, item.key),
|
|
3575
|
+
}
|
|
3576
|
+
)
|
|
3577
|
+
summary.site_checks_run += 1
|
|
3578
|
+
_tally(summary, outcome.status)
|
|
3579
|
+
|
|
3355
3580
|
await report(f"Writing the final {len(rows)} analysis results…")
|
|
3356
3581
|
async with _timed("result_writes"):
|
|
3357
3582
|
await flush_rows()
|
|
@@ -3364,6 +3589,11 @@ async def analyze_site_pages(
|
|
|
3364
3589
|
computed_at=computed_at,
|
|
3365
3590
|
results=written,
|
|
3366
3591
|
summary=summary,
|
|
3592
|
+
site_scoped_item_ids={
|
|
3593
|
+
str(items_by_key[key].id)
|
|
3594
|
+
for key in SITE_SCOPED_CROSS_PAGE_CHECKS
|
|
3595
|
+
if key in items_by_key
|
|
3596
|
+
},
|
|
3367
3597
|
)
|
|
3368
3598
|
return AnalysisRunResult(
|
|
3369
3599
|
summary,
|
|
@@ -3376,6 +3606,7 @@ __all__ = [
|
|
|
3376
3606
|
"CATALOGUED_PAGE_CHECKS",
|
|
3377
3607
|
"CROSS_PAGE_CHECKS",
|
|
3378
3608
|
"PAGE_CHECKS",
|
|
3609
|
+
"PER_PAGE_RUN_CHECKS",
|
|
3379
3610
|
"AnalysisRunResult",
|
|
3380
3611
|
"GscPeriod",
|
|
3381
3612
|
"OrphanCensus",
|
|
@@ -3385,6 +3616,7 @@ __all__ = [
|
|
|
3385
3616
|
"ProgressCallback",
|
|
3386
3617
|
"RULES_PROVIDER_KEY",
|
|
3387
3618
|
"SITE_CHECKS",
|
|
3619
|
+
"SITE_SCOPED_CROSS_PAGE_CHECKS",
|
|
3388
3620
|
"SiteAggregates",
|
|
3389
3621
|
"SiteBusinessEvidence",
|
|
3390
3622
|
"SiteGscEvidence",
|
|
@@ -45,12 +45,23 @@ _RESULT_INSERT_BATCH = 500
|
|
|
45
45
|
_EPOCH = datetime.min.replace(tzinfo=UTC)
|
|
46
46
|
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
"""Map a score onto the catalogue row's own severity bands.
|
|
48
|
+
SEVERITY_ORDER = ("info", "low", "med", "high", "critical")
|
|
50
49
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
|
|
51
|
+
def _step(severity: str, by: int) -> str:
|
|
52
|
+
index = SEVERITY_ORDER.index(severity) if severity in SEVERITY_ORDER else 0
|
|
53
|
+
return SEVERITY_ORDER[max(0, min(len(SEVERITY_ORDER) - 1, index + by))]
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def _cap(severity: str, ceiling: str) -> str:
|
|
57
|
+
if severity not in SEVERITY_ORDER:
|
|
58
|
+
return ceiling
|
|
59
|
+
return severity if SEVERITY_ORDER.index(severity) <= SEVERITY_ORDER.index(ceiling) else ceiling
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
def band_severity(item: WebAnalysisItem, score: int | None) -> str:
|
|
63
|
+
"""The catalogue row's own band for a score. A scoreless outcome
|
|
64
|
+
(`n_a`/`error`) is `info`: it carries no judgement about the page."""
|
|
54
65
|
if score is None:
|
|
55
66
|
return "info"
|
|
56
67
|
bands = ((item.severity_map or {}).get("bands")) or []
|
|
@@ -63,6 +74,41 @@ def severity_for(item: WebAnalysisItem, score: int | None) -> str:
|
|
|
63
74
|
return "info"
|
|
64
75
|
|
|
65
76
|
|
|
77
|
+
def severity_for(item: WebAnalysisItem, score: int | None, *, on_homepage: bool = False) -> str:
|
|
78
|
+
"""Severity = the check's band, shaped by its TIER (Arman's 2026-10-05
|
|
79
|
+
check-tier rulings, ``web.analysis_item.tier``) and where it failed.
|
|
80
|
+
|
|
81
|
+
* A (blocks being found): one step up, never below ``high`` once failing.
|
|
82
|
+
* B (hurts rankings): the band, capped at ``high``.
|
|
83
|
+
* C (polish): the band, capped at ``low``.
|
|
84
|
+
* D (AI opinion): always ``info`` — an opinion never escalates.
|
|
85
|
+
* A failure on the homepage moves up one more step (except tier D).
|
|
86
|
+
A passing or scoreless result stays ``info`` whatever the tier.
|
|
87
|
+
Plan: common-docs/systems/marketing/seo/projects/fact-before-opinion/REGISTER.md R-04.
|
|
88
|
+
"""
|
|
89
|
+
base = band_severity(item, score)
|
|
90
|
+
if base == "info":
|
|
91
|
+
return "info"
|
|
92
|
+
tier = getattr(item, "tier", None)
|
|
93
|
+
if tier == "D":
|
|
94
|
+
return "info"
|
|
95
|
+
if tier == "A":
|
|
96
|
+
severity = _step(base, 1)
|
|
97
|
+
if SEVERITY_ORDER.index(severity) < SEVERITY_ORDER.index("high"):
|
|
98
|
+
severity = "high"
|
|
99
|
+
elif tier == "B":
|
|
100
|
+
severity = _cap(base, "high")
|
|
101
|
+
elif tier == "C":
|
|
102
|
+
severity = _cap(base, "low")
|
|
103
|
+
else:
|
|
104
|
+
severity = base
|
|
105
|
+
if on_homepage:
|
|
106
|
+
severity = _step(severity, 1)
|
|
107
|
+
if tier == "C":
|
|
108
|
+
severity = _cap(severity, "med")
|
|
109
|
+
return severity
|
|
110
|
+
|
|
111
|
+
|
|
66
112
|
async def insert_results(rows: list[dict]) -> list[WebAnalysisResult]:
|
|
67
113
|
"""Insert immutable result rows in batches, refusing to under-report."""
|
|
68
114
|
created: list[WebAnalysisResult] = []
|
|
@@ -85,6 +131,7 @@ async def reconcile_findings(
|
|
|
85
131
|
computed_at: datetime,
|
|
86
132
|
results: list[tuple[dict, WebAnalysisResult]],
|
|
87
133
|
summary: AnalysisSummary,
|
|
134
|
+
site_scoped_item_ids: frozenset[str] | set[str] = frozenset(),
|
|
88
135
|
) -> None:
|
|
89
136
|
"""Open/refresh/reopen a finding per warn/fail result; resolve on pass.
|
|
90
137
|
|
|
@@ -124,6 +171,30 @@ async def reconcile_findings(
|
|
|
124
171
|
# `finding_open_uniq` guarantees at most one non-resolved row here.
|
|
125
172
|
open_by_key[key] = f
|
|
126
173
|
|
|
174
|
+
# A check that moved from one-row-per-page to one-row-per-site leaves its old
|
|
175
|
+
# page-subject findings behind; nothing will ever pass or fail them again, so
|
|
176
|
+
# they are resolved here (history kept — the rows stay, status `resolved`).
|
|
177
|
+
# Only an item that produced a non-error SITE row in this run is retired, so a
|
|
178
|
+
# crashed check never erases a finding.
|
|
179
|
+
answered_site_items = {
|
|
180
|
+
str(row["item_id"])
|
|
181
|
+
for row, _created in results
|
|
182
|
+
if row["subject_type"] == "site"
|
|
183
|
+
and row["status"] != "error"
|
|
184
|
+
and str(row["item_id"]) in site_scoped_item_ids
|
|
185
|
+
}
|
|
186
|
+
retired: list[dict] = [
|
|
187
|
+
{
|
|
188
|
+
"id": str(f.id),
|
|
189
|
+
"status": "resolved",
|
|
190
|
+
"resolved_at": computed_at,
|
|
191
|
+
}
|
|
192
|
+
for f in findings
|
|
193
|
+
if f.subject_type == "page"
|
|
194
|
+
and f.status != "resolved"
|
|
195
|
+
and str(f.item_id) in answered_site_items
|
|
196
|
+
]
|
|
197
|
+
|
|
127
198
|
creates: list[dict] = []
|
|
128
199
|
refreshes: list[dict] = []
|
|
129
200
|
reopens: list[dict] = []
|
|
@@ -218,6 +289,14 @@ async def reconcile_findings(
|
|
|
218
289
|
},
|
|
219
290
|
)
|
|
220
291
|
summary.findings_reopened += len(reopens)
|
|
292
|
+
if retired:
|
|
293
|
+
async with transaction(WEB_DB_NAME):
|
|
294
|
+
await bulk_update_by_pk(
|
|
295
|
+
WebFinding,
|
|
296
|
+
retired,
|
|
297
|
+
casts={"id": "uuid", "status": "text", "resolved_at": "timestamptz"},
|
|
298
|
+
)
|
|
299
|
+
summary.findings_resolved += len(retired)
|
|
221
300
|
if resolves:
|
|
222
301
|
async with transaction(WEB_DB_NAME):
|
|
223
302
|
await bulk_update_by_pk(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: matrx-scraper
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.332
|
|
4
4
|
Summary: Web scraping engine, HTML parsing, and search integration for the Matrx ecosystem
|
|
5
5
|
Project-URL: Homepage, https://github.com/AI-Matrix-Engine/aidream-current
|
|
6
6
|
Project-URL: Repository, https://github.com/AI-Matrix-Engine/aidream-current
|
|
@@ -40,7 +40,7 @@ Requires-Dist: datasketch>=1.6; extra == 'all'
|
|
|
40
40
|
Requires-Dist: extruct>=0.18; extra == 'all'
|
|
41
41
|
Requires-Dist: fastapi>=0.115; extra == 'all'
|
|
42
42
|
Requires-Dist: matrx-connect>=0.1.183; extra == 'all'
|
|
43
|
-
Requires-Dist: matrx-graph>=0.2.
|
|
43
|
+
Requires-Dist: matrx-graph>=0.2.262; extra == 'all'
|
|
44
44
|
Requires-Dist: matrx-orm>=3.1.219; extra == 'all'
|
|
45
45
|
Requires-Dist: matrx-runtime>=0.0.155; extra == 'all'
|
|
46
46
|
Requires-Dist: pillow>=11.0; extra == 'all'
|
|
@@ -68,7 +68,7 @@ Requires-Dist: simhash>=2.1; extra == 'dedup'
|
|
|
68
68
|
Provides-Extra: durable
|
|
69
69
|
Requires-Dist: matrx-runtime>=0.0.155; extra == 'durable'
|
|
70
70
|
Provides-Extra: graph
|
|
71
|
-
Requires-Dist: matrx-graph>=0.2.
|
|
71
|
+
Requires-Dist: matrx-graph>=0.2.262; extra == 'graph'
|
|
72
72
|
Provides-Extra: metadata
|
|
73
73
|
Requires-Dist: extruct>=0.18; extra == 'metadata'
|
|
74
74
|
Provides-Extra: ocr
|
|
@@ -100,7 +100,7 @@ Requires-Dist: datasketch>=1.6; extra == 'standalone'
|
|
|
100
100
|
Requires-Dist: extruct>=0.18; extra == 'standalone'
|
|
101
101
|
Requires-Dist: fastapi>=0.115; extra == 'standalone'
|
|
102
102
|
Requires-Dist: matrx-connect>=0.1.183; extra == 'standalone'
|
|
103
|
-
Requires-Dist: matrx-graph>=0.2.
|
|
103
|
+
Requires-Dist: matrx-graph>=0.2.262; extra == 'standalone'
|
|
104
104
|
Requires-Dist: matrx-orm>=3.1.219; extra == 'standalone'
|
|
105
105
|
Requires-Dist: matrx-runtime>=0.0.155; extra == 'standalone'
|
|
106
106
|
Requires-Dist: pillow>=11.0; extra == 'standalone'
|
|
@@ -38,7 +38,7 @@ matrx_scraper/sampling.py,sha256=PGoUI9mUFMgknde90hlIHLfSXhoESVaSkHqQWVLFyOY,232
|
|
|
38
38
|
matrx_scraper/scrape_options.py,sha256=0wKRUGGvyOMEDlPb3I4-Sir50DtBdQqD3ciJg-a0R0g,2266
|
|
39
39
|
matrx_scraper/scraper.py,sha256=LLkdnbh9ix9uNpziYQ8P532MNz5yjeiW8vQyuSR2ZDg,64703
|
|
40
40
|
matrx_scraper/screenshot_dimensions.py,sha256=vMsiPieq0qykrL6QTIgGgRUz2xlcWzcCElikFQN5r84,1054
|
|
41
|
-
matrx_scraper/seo_audit.py,sha256=
|
|
41
|
+
matrx_scraper/seo_audit.py,sha256=XgLim975lcGmRJD1lJHX-3HN3s1YjM8N8udvXgt5ehg,196248
|
|
42
42
|
matrx_scraper/service.py,sha256=GgQhjE_T6NfN2v-lF8PEXBSH_UWNXmiV42YGpu2nBlk,28625
|
|
43
43
|
matrx_scraper/sitemaps.py,sha256=5elyvYH-bwoGUbT2tg2aC1mcGhT6bPrZPAmj2_SN4b0,12680
|
|
44
44
|
matrx_scraper/source_landing.py,sha256=5xh0Os6BhfBNsH6ZCwBhMSk8sfeCjqcHuW0X_QRTr3c,16966
|
|
@@ -137,7 +137,7 @@ matrx_scraper/db/__init__.py,sha256=kZmTLMcei8dpD9-VbDnU8dVSaVM30qItI1ne5W58mL4,
|
|
|
137
137
|
matrx_scraper/db/_config.py,sha256=iqoWNkYjU2GfTIOomJqD12Ob8H11WqOBHCqsDgIkVXc,1192
|
|
138
138
|
matrx_scraper/db/models_scraper.py,sha256=xkTIb5bS3B4mgQltn4zdyokfXtsJ_0NWj9usVbFpz5Y,9565
|
|
139
139
|
matrx_scraper/db/models_seo_host.py,sha256=HMssIt43qkP22tLgY1yjufnCDtBh_fgUx9zfvNRh4Hk,2418
|
|
140
|
-
matrx_scraper/db/models_web.py,sha256=
|
|
140
|
+
matrx_scraper/db/models_web.py,sha256=RmyZPZFMqMuWq1IfmNSDwfuh0bp5qHBjng9nBmQyDzE,77872
|
|
141
141
|
matrx_scraper/db/web.py,sha256=ydatMV6Ix9eYSGqLzEG-iSx7EE2HH8jgd1o-DBaWpb8,3181
|
|
142
142
|
matrx_scraper/features/__init__.py,sha256=CXsDlz_kB2AqzoTd640tBt5Y0QUJ5Tox7sqWJ2O_7cI,776
|
|
143
143
|
matrx_scraper/features/extensions.py,sha256=IOS5_T7-j9slFiSWT9LOTmy7-vhrPxKibGmqOe5IJHg,1954
|
|
@@ -190,8 +190,8 @@ matrx_scraper/utils/url-identity-rules.json,sha256=CO7FW52wMT00uwVt_xE_0bbOuREcx
|
|
|
190
190
|
matrx_scraper/utils/url.py,sha256=YLgBhmWIKcLN2VtfHVTenNrkElMQ0oNlno7p5RJy9S0,15994
|
|
191
191
|
matrx_scraper/web_crawl/FEATURE.md,sha256=V4MZ9jK8u4mJvplQWvnmry03r_Wu5c61grf7cWqEnt4,160516
|
|
192
192
|
matrx_scraper/web_crawl/__init__.py,sha256=UErZtkvHzW8_3A0FT20b6Rlz11M2u_tYncIlvL7XwJk,364
|
|
193
|
-
matrx_scraper/web_crawl/analysis.py,sha256=
|
|
194
|
-
matrx_scraper/web_crawl/analysis_write.py,sha256=
|
|
193
|
+
matrx_scraper/web_crawl/analysis.py,sha256=KCYURWg_ygVGnA-R3swElZXqTyZkNMFRURWibAKqlpg,150025
|
|
194
|
+
matrx_scraper/web_crawl/analysis_write.py,sha256=ZLp9GuoF5V7k9WTIGL5qep0QTa6y2oDAwoeChKXYOHs,12805
|
|
195
195
|
matrx_scraper/web_crawl/broker.py,sha256=W5XeQ8EayLcD_wPRYztTdn2XgPdWwwK95VGt9IgRJPo,3900
|
|
196
196
|
matrx_scraper/web_crawl/candidates.py,sha256=N1DG0-az86aZNArGqjkUVLpClbMwhAaYNHefmgUhJOo,14971
|
|
197
197
|
matrx_scraper/web_crawl/contracts.py,sha256=9hlUViEa0d_V2qC1w52siTcMF34hHVureJ1VlGSozEg,30252
|
|
@@ -215,7 +215,7 @@ matrx_scraper/web_crawl/sitemap_sync.py,sha256=28maGl5pks4nKCu1ukmTiW96mquD6txP5
|
|
|
215
215
|
matrx_scraper/web_crawl/upsert_rows.py,sha256=GW_YaotbXdPpoHJymrKXMB6OzU6t0hIgm8vrcOcP5FY,1972
|
|
216
216
|
matrx_scraper/web_crawl/url_identity.py,sha256=w-slLxOL3oyKRF5rp4ccMxYAEEyjYQOt4ubbLLjWQII,47371
|
|
217
217
|
matrx_scraper/web_crawl/url_verify.py,sha256=1h1XAOMvYrPUvqxVWixJmpN4MoFKq7zJgSES8klTknI,33106
|
|
218
|
-
matrx_scraper-0.2.
|
|
219
|
-
matrx_scraper-0.2.
|
|
220
|
-
matrx_scraper-0.2.
|
|
221
|
-
matrx_scraper-0.2.
|
|
218
|
+
matrx_scraper-0.2.332.dist-info/METADATA,sha256=4v6GN8--TB5kHLIsNZglhry_hAo3zuxOyX4zSNKiErQ,12681
|
|
219
|
+
matrx_scraper-0.2.332.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
220
|
+
matrx_scraper-0.2.332.dist-info/entry_points.txt,sha256=sNKYpYDDn8F4xwUBB3fC21R0nQpZEYLV_c00D787Z0I,69
|
|
221
|
+
matrx_scraper-0.2.332.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|