Skip to content

Lua runtime error: youtube.lua:309: bad argument #1 to 'pairs' (table expected, got nil). during comments retrieval #5

@JustAnotherArchivist

Description

@JustAnotherArchivist

Example posted on IRC a couple days ago:

12=200 https://www.youtube.com/youtubei/v1/next?key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8  
switching order
getting replies
getting replies
getting replies
getting replies
getting replies
getting replies
getting replies
getting replies
Lua runtime error: youtube.lua:309: bad argument #1 to 'pairs' (table expected, got nil).
Process WgetDownload returned exit code -6 for Item v1:6ABRmn8NdGA
Failed WgetDownload for Item v1:6ABRmn8NdGA

In a browser, I'm getting 33 comments on that video while the header claims there are 34: https://www.youtube.com/watch?v=6ABRmn8NdGA

It looks like there is a commentRepliesRenderer with no contents and a text of 'View 0 replies from Davids and others'. The problematic comment is Ugj-RG5_tMQbo3gCoAEC. In the browser, that text isn't visible without CSS manipulation as the corresponding div#expander is hidden.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions