mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-16 23:01:06 +02:00
docs(tiktok): trim stage 2 comment to the why
This commit is contained in:
parent
f74a73efdb
commit
9793751b44
1 changed files with 2 additions and 2 deletions
|
|
@ -106,8 +106,8 @@ async def stage_profile_listing() -> tuple[bool, list[dict[str, Any]]]:
|
||||||
_hr(f"STAGE 2 — profile listing graceful-degrade: @{_PROFILE}")
|
_hr(f"STAGE 2 — profile listing graceful-degrade: @{_PROFILE}")
|
||||||
from app.proprietary.platforms.tiktok import TikTokScrapeInput, scrape_tiktok
|
from app.proprietary.platforms.tiktok import TikTokScrapeInput, scrape_tiktok
|
||||||
|
|
||||||
# Headful (flag on) yields real videos; still accept an ErrorItem (never a
|
# Accept videos OR an ErrorItem (never a silent empty): the feed degrades
|
||||||
# silent empty) so the graceful-degradation contract holds either way.
|
# gracefully when the exit IP is flagged.
|
||||||
items = await scrape_tiktok(
|
items = await scrape_tiktok(
|
||||||
TikTokScrapeInput(profiles=[_PROFILE], resultsPerPage=_COUNT), limit=_COUNT
|
TikTokScrapeInput(profiles=[_PROFILE], resultsPerPage=_COUNT), limit=_COUNT
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue