docs: update todos and error message when comment extraction fails
This commit is contained in:
@@ -23,13 +23,16 @@ import ythdd_struct_parser
|
|||||||
# [✓] /vi/videoIdXXXX/maxresdefault.jpg (todo: add a fallback for 404s)
|
# [✓] /vi/videoIdXXXX/maxresdefault.jpg (todo: add a fallback for 404s)
|
||||||
# [✓] /api/v1/search?q=... (videos and playlists)
|
# [✓] /api/v1/search?q=... (videos and playlists)
|
||||||
# [✓] /api/v1/search/suggestions?q=...&pq=...
|
# [✓] /api/v1/search/suggestions?q=...&pq=...
|
||||||
# [✓] /api/v1/channels/id
|
# [✓] /api/v1/channels/:ucid
|
||||||
# [✓] /api/v1/channels/videos, shorts, playlists
|
# [✓] /api/v1/channels/:ucid/videos, shorts, playlists
|
||||||
|
# [✓] /api/v1/comments/:videoid?continuation=...
|
||||||
|
# [✓] /api/v1/videos/videoIdXXXX
|
||||||
|
# [X] /api/v1/channels/:ucid/streams
|
||||||
# [X] /api/v1/playlists/:plid
|
# [X] /api/v1/playlists/:plid
|
||||||
|
# [X] /api/v1/storyboards/:videoIdXXXX
|
||||||
# [*] /api/v1/auth/subscriptions (stub? db?)
|
# [*] /api/v1/auth/subscriptions (stub? db?)
|
||||||
# [*] /api/v1/auth/feed?page=1 (stub? db?)
|
# [*] /api/v1/auth/feed?page=1 (stub? db?)
|
||||||
# [*] /api/v1/auth/playlists (stub? db?)
|
# [*] /api/v1/auth/playlists (stub? db?)
|
||||||
# [*] /api/v1/videos/videoIdXXXX
|
|
||||||
|
|
||||||
DEFAULT_AVATAR = "https://yt3.ggpht.com/a/default-user=s176-c-k-c0x00ffffff-no-rj"
|
DEFAULT_AVATAR = "https://yt3.ggpht.com/a/default-user=s176-c-k-c0x00ffffff-no-rj"
|
||||||
|
|
||||||
@@ -740,7 +743,8 @@ def ensure_comment_continuation(video_id: str, wdata = None):
|
|||||||
if comment_continuation is not None:
|
if comment_continuation is not None:
|
||||||
ythdd_globals.general_cache["continuations"]["comments"][video_id].append(comment_continuation)
|
ythdd_globals.general_cache["continuations"]["comments"][video_id].append(comment_continuation)
|
||||||
else:
|
else:
|
||||||
print(f"error: couldn't extract comment continuation token from video page ({video_id})")
|
print(f"error: couldn't extract comment continuation token from video page ({video_id}). this video likely has comments disabled.")
|
||||||
|
ythdd_globals.general_cache["continuations"]["comments"][video_id].append("")
|
||||||
|
|
||||||
def channels(data, req, only_json: bool = False):
|
def channels(data, req, only_json: bool = False):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user