in reply to Re^2: Challenge: Parse XML Feed for Youtube channel -- XML::Twig
in thread Challenge: Parse XML Feed for Youtube channel

Hm. The feed for the complete channel also seems to contain only 15 elements, which certainly isn't complete, either…, although the channel (https://www.youtube.com/c/YAPCNA/videos) contains about 42 videos from between 2022-06-24 and 2022-06-24 (plus many more older ones).

Perhaps we need another challenge first: generate an RSS feed from the Youtube webpage for a playlist (or channel) 😛

(Update: biggest part of this second challenge probably is to overcome dynamic scrolling, and perhaps this is the challenge where YT's own feed generator fails)
  • Comment on Re^3: Challenge: Parse XML Feed for Youtube channel -- XML::Twig

Replies are listed 'Best First'.
Re^4: Challenge: Parse XML Feed for Youtube channel -- XML::Twig
by LanX (Saint) on Jun 28, 2022 at 13:01 UTC
    > (Update: biggest part of this second challenge probably is to overcome dynamic scrolling, and perhaps this is the challenge where YT's own feed generator fails)

    I wouldn't be surprised if the dynamic scrolling was implemented by polling some (inoffical) JSON structure.

    I think YT is deliberately neglecting to update the feed.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      > I wouldn't be surprised if the dynamic scrolling was implemented by polling some (inoffical) JSON structure.

      Indeed, was able to create a full playlist this way.

      ==> see update Recordings for TPC 2022 in Houston.

      Alas a video-description was not available.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery