mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-16 23:01:06 +02:00
refactor(instagram): drop unused slug field and mark share links unsupported
This commit is contained in:
parent
4bc3d43b56
commit
d3c65a37b1
1 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,8 @@ Normalization rules (from the reference spec):
|
|||
- Numeric post-ID URLs cannot be single-post-extracted anonymously (the HTML
|
||||
page keys on the shortCode), so they resolve with ``numeric_post_id`` set and
|
||||
the media flow skips them.
|
||||
- ``share/`` redirect resolution is handled at fetch time (network), not here.
|
||||
- ``share/`` links are unsupported (they need a network redirect to resolve to a
|
||||
canonical post/profile URL); pass the resolved ``/p/`` or profile URL instead.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
|
@ -40,7 +41,6 @@ class ResolvedUrl:
|
|||
kind: ResolvedKind
|
||||
value: str
|
||||
url: str
|
||||
slug: str | None = None
|
||||
numeric_post_id: bool = False
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue