mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-16 23:01:06 +02:00
refactor(instagram): drop mentions from scrape capability
This commit is contained in:
parent
5cac6612c3
commit
27d22a9a2a
3 changed files with 5 additions and 5 deletions
|
|
@ -1,3 +1,3 @@
|
|||
"""``instagram.scrape`` verb: Instagram URLs / search terms → posts, reels, mentions."""
|
||||
"""``instagram.scrape`` verb: Instagram URLs / search terms → posts, reels."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ from app.capabilities.instagram.scrape.schemas import ScrapeInput, ScrapeOutput
|
|||
INSTAGRAM_SCRAPE = Capability(
|
||||
name="instagram.scrape",
|
||||
description=(
|
||||
"Scrape public Instagram posts, reels, or mentions from profile/post/"
|
||||
"reel URLs, or discover public profiles via search queries."
|
||||
"Scrape public Instagram posts or reels from profile/post/reel URLs, "
|
||||
"or discover public profiles via search queries."
|
||||
),
|
||||
input_schema=ScrapeInput,
|
||||
output_schema=ScrapeOutput,
|
||||
|
|
|
|||
|
|
@ -43,9 +43,9 @@ class ScrapeInput(BaseModel):
|
|||
default="profile",
|
||||
description="Discovery kind (profile-only; hashtag/place are login-walled).",
|
||||
)
|
||||
result_type: Literal["posts", "reels", "mentions"] = Field(
|
||||
result_type: Literal["posts", "reels"] = Field(
|
||||
default="posts",
|
||||
description="Which feed to return. 'mentions' requires profile URLs.",
|
||||
description="Which feed to return: 'posts' or 'reels'.",
|
||||
)
|
||||
newer_than: str | None = Field(
|
||||
default=None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue