mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-10 22:32:16 +02:00
refactor(capabilities): drop Apify references from web/youtube docstrings
This commit is contained in:
parent
b5d221c19c
commit
7691e95e36
5 changed files with 12 additions and 13 deletions
|
|
@ -1,13 +1,12 @@
|
||||||
# ruff: noqa: N815 - public field names intentionally mirror the Apify camelCase spec
|
# ruff: noqa: N815 - public field names intentionally use camelCase
|
||||||
"""``web.crawl`` I/O contracts.
|
"""``web.crawl`` I/O contracts.
|
||||||
|
|
||||||
An Apify *Website Content Crawler*-style surface (see apify.com/apify/website-
|
A Website Content Crawler-style surface: one verb that either scrapes the given
|
||||||
content-crawler and docs.firecrawl.dev): one verb that either scrapes the given
|
|
||||||
URLs (``maxCrawlDepth == 0``) or spiders their site (``maxCrawlDepth > 0``),
|
URLs (``maxCrawlDepth == 0``) or spiders their site (``maxCrawlDepth > 0``),
|
||||||
bounded by ``maxCrawlPages`` and kept on the seed's site.
|
bounded by ``maxCrawlPages`` and kept on the seed's site.
|
||||||
|
|
||||||
Fields are trimmed to what the proprietary engine honors today. Apify knobs the
|
Fields are trimmed to what the proprietary engine honors today. Knobs the engine
|
||||||
engine handles automatically (crawler type, proxy, dynamic-render waits) are
|
handles automatically (crawler type, proxy, dynamic-render waits) are
|
||||||
intentionally omitted, as are features we haven't built (URL globs, output
|
intentionally omitted, as are features we haven't built (URL globs, output
|
||||||
formats, click actions, PII handling).
|
formats, click actions, PII handling).
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
"""``youtube.comments`` executor: verb input → Apify actor → comment items."""
|
"""``youtube.comments`` executor: verb input → scraper → comment items."""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
"""``youtube.comments`` I/O contracts.
|
"""``youtube.comments`` I/O contracts.
|
||||||
|
|
||||||
A lean surface over the Apify-compatible ``YouTubeCommentsInput``; the actor's
|
A lean surface over ``YouTubeCommentsInput``; the scraper's ``CommentItem`` is
|
||||||
``CommentItem`` is reused verbatim as the output element for parity.
|
reused verbatim as the output element.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
"""``youtube.scrape`` executor: verb input → Apify actor → video items."""
|
"""``youtube.scrape`` executor: verb input → scraper → video items."""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
"""``youtube.scrape`` I/O contracts.
|
"""``youtube.scrape`` I/O contracts.
|
||||||
|
|
||||||
A lean, agent-friendly surface over the Apify-compatible ``YouTubeScrapeInput``
|
A lean, agent-friendly surface over ``YouTubeScrapeInput``
|
||||||
(``app/proprietary/platforms/youtube``). The executor maps this to the full actor
|
(``app/proprietary/platforms/youtube``). The executor maps this to the full
|
||||||
input; the actor's ``VideoItem`` is reused verbatim as the output element so the
|
scraper input; the scraper's ``VideoItem`` is reused verbatim as the output
|
||||||
verb stays parity-faithful with the underlying Apify shape.
|
element.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue