in reply to youtube parser/scrabber

I would look at what requests youtube-dl sends and replicate that. youtube-dl itself has an option to output all the data it scrapes as JSON, but if you don't want it as external dependency, that's out.

jwz maintains youtubedown, which you can look at to find what/how it scrapes the information. At one time I looked at converting that to a module to make it accessible from other programs, but that wasn't as easy as I thought either.

Replies are listed 'Best First'.
Re^2: youtube parser/scrabber
by igoryonya (Pilgrim) on Aug 18, 2021 at 13:08 UTC
    Big one - 145KB without the comments!
    And it supports more, then just the youtube.
    A lot of work was put into it!